All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.portlet-model-hints.xml Maven / Gradle / Ivy

There is a newer version: 7.0.6
Show newest version
<?xml version="1.0"?>

<model-hints>
	<model name="com.liferay.polls.model.PollsChoice">
		<field name="mvccVersion" type="long" />
		<field name="uuid" type="String" />
		<field name="choiceId" type="long" />
		<field name="groupId" type="long" />
		<field name="companyId" type="long" />
		<field name="userId" type="long" />
		<field name="userName" type="String" />
		<field name="createDate" type="Date" />
		<field name="modifiedDate" type="Date" />
		<field name="questionId" type="long" />
		<field name="name" type="String" />
		<field localized="true" name="description" type="String">
			<hint name="max-length">1000</hint>
		</field>
		<field name="lastPublishDate" type="Date" />
	</model>
	<model name="com.liferay.polls.model.PollsQuestion">
		<field name="mvccVersion" type="long" />
		<field name="uuid" type="String" />
		<field name="questionId" type="long" />
		<field name="groupId" type="long" />
		<field name="companyId" type="long" />
		<field name="userId" type="long" />
		<field name="userName" type="String" />
		<field name="createDate" type="Date" />
		<field name="modifiedDate" type="Date" />
		<field localized="true" name="title" type="String">
			<hint name="max-length">500</hint>
			<validator name="required" />
		</field>
		<field localized="true" name="description" type="String">
			<hint-collection name="TEXTAREA" />
			<validator name="required" />
		</field>
		<field name="expirationDate" type="Date">
			<hint name="default-month-delta">1</hint>
		</field>
		<field name="lastPublishDate" type="Date" />
		<field name="lastVoteDate" type="Date" />
	</model>
	<model name="com.liferay.polls.model.PollsVote">
		<field name="mvccVersion" type="long" />
		<field name="uuid" type="String" />
		<field name="voteId" type="long" />
		<field name="groupId" type="long" />
		<field name="companyId" type="long" />
		<field name="userId" type="long" />
		<field name="userName" type="String" />
		<field name="createDate" type="Date" />
		<field name="modifiedDate" type="Date" />
		<field name="questionId" type="long" />
		<field name="choiceId" type="long" />
		<field name="lastPublishDate" type="Date" />
		<field name="voteDate" type="Date" />
	</model>
</model-hints>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy