@ProviderType public interface PollsVoteModel extends com.liferay.portal.kernel.model.BaseModel<PollsVote>, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedGroupedModel
This interface and its corresponding implementation com.liferay.polls.model.impl.PollsVoteModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.polls.model.impl.PollsVoteImpl
.
PollsVote
,
com.liferay.polls.model.impl.PollsVoteImpl
,
com.liferay.polls.model.impl.PollsVoteModelImpl
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
int |
compareTo(PollsVote pollsVote) |
long |
getChoiceId()
Returns the choice ID of this polls vote.
|
long |
getCompanyId()
Returns the company ID of this polls vote.
|
java.util.Date |
getCreateDate()
Returns the create date of this polls vote.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
long |
getGroupId()
Returns the group ID of this polls vote.
|
java.util.Date |
getLastPublishDate()
Returns the last publish date of this polls vote.
|
java.util.Date |
getModifiedDate()
Returns the modified date of this polls vote.
|
long |
getPrimaryKey()
Returns the primary key of this polls vote.
|
java.io.Serializable |
getPrimaryKeyObj() |
long |
getQuestionId()
Returns the question ID of this polls vote.
|
long |
getUserId()
Returns the user ID of this polls vote.
|
java.lang.String |
getUserName()
Returns the user name of this polls vote.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this polls vote.
|
java.lang.String |
getUuid()
Returns the uuid of this polls vote.
|
java.util.Date |
getVoteDate()
Returns the vote date of this polls vote.
|
long |
getVoteId()
Returns the vote ID of this polls vote.
|
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isEscapedModel() |
boolean |
isNew() |
void |
setCachedModel(boolean cachedModel) |
void |
setChoiceId(long choiceId)
Sets the choice ID of this polls vote.
|
void |
setCompanyId(long companyId)
Sets the company ID of this polls vote.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this polls vote.
|
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setGroupId(long groupId)
Sets the group ID of this polls vote.
|
void |
setLastPublishDate(java.util.Date lastPublishDate)
Sets the last publish date of this polls vote.
|
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this polls vote.
|
void |
setNew(boolean n) |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this polls vote.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setQuestionId(long questionId)
Sets the question ID of this polls vote.
|
void |
setUserId(long userId)
Sets the user ID of this polls vote.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this polls vote.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this polls vote.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this polls vote.
|
void |
setVoteDate(java.util.Date voteDate)
Sets the vote date of this polls vote.
|
void |
setVoteId(long voteId)
Sets the vote ID of this polls vote.
|
com.liferay.portal.kernel.model.CacheModel<PollsVote> |
toCacheModel() |
PollsVote |
toEscapedModel() |
java.lang.String |
toString() |
PollsVote |
toUnescapedModel() |
java.lang.String |
toXmlString() |
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this polls vote@AutoEscape java.lang.String getUuid()
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
void setUuid(java.lang.String uuid)
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this polls votelong getVoteId()
void setVoteId(long voteId)
voteId
- the vote ID of this polls votelong getGroupId()
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
void setGroupId(long groupId)
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this polls votelong getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
companyId
- the company ID of this polls votelong getUserId()
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserId(long userId)
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this polls votejava.lang.String getUserUuid()
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this polls vote@AutoEscape java.lang.String getUserName()
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserName(java.lang.String userName)
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this polls votejava.util.Date getCreateDate()
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
void setCreateDate(java.util.Date createDate)
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
createDate
- the create date of this polls votejava.util.Date getModifiedDate()
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
modifiedDate
- the modified date of this polls votelong getQuestionId()
void setQuestionId(long questionId)
questionId
- the question ID of this polls votelong getChoiceId()
void setChoiceId(long choiceId)
choiceId
- the choice ID of this polls votejava.util.Date getLastPublishDate()
getLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
lastPublishDate
- the last publish date of this polls votejava.util.Date getVoteDate()
void setVoteDate(java.util.Date voteDate)
voteDate
- the vote date of this polls voteboolean isNew()
isNew
in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>
void setNew(boolean n)
setNew
in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>
boolean isCachedModel()
isCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>
void setCachedModel(boolean cachedModel)
setCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>
boolean isEscapedModel()
isEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>
java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>
void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>
void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>
java.lang.Object clone()
clone
in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>
clone
in interface com.liferay.portal.kernel.model.StagedModel
int compareTo(PollsVote pollsVote)
compareTo
in interface java.lang.Comparable<PollsVote>
int hashCode()
hashCode
in class java.lang.Object
com.liferay.portal.kernel.model.CacheModel<PollsVote> toCacheModel()
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>
PollsVote toEscapedModel()
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>
PollsVote toUnescapedModel()
toUnescapedModel
in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>
java.lang.String toString()
toString
in class java.lang.Object
java.lang.String toXmlString()
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>