@ProviderType public class PollsVoteWrapper extends java.lang.Object implements PollsVote, com.liferay.portal.kernel.model.ModelWrapper<PollsVote>
This class is a wrapper for PollsVote.
PollsVote,
Serialized FormVOTE_ID_ACCESSOR| Constructor and Description |
|---|
PollsVoteWrapper(PollsVote pollsVote) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(PollsVote pollsVote) |
boolean |
equals(java.lang.Object obj) |
PollsChoice |
getChoice() |
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.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
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.
|
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
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.
|
PollsVote |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isEntityCacheEnabled() |
boolean |
isEscapedModel() |
boolean |
isFinderCacheEnabled() |
boolean |
isNew() |
void |
persist() |
void |
resetOriginalValues() |
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 |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
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() |
public PollsVoteWrapper(PollsVote pollsVote)
public java.lang.Class<?> getModelClass()
getModelClass in interface com.liferay.portal.kernel.model.ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>public java.lang.Object clone()
clone in interface PollsVoteModelclone in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>clone in interface com.liferay.portal.kernel.model.StagedModelclone in class java.lang.Objectpublic int compareTo(PollsVote pollsVote)
compareTo in interface PollsVoteModelcompareTo in interface java.lang.Comparable<PollsVote>public PollsChoice getChoice() throws com.liferay.portal.kernel.exception.PortalException
public long getChoiceId()
getChoiceId in interface PollsVoteModelpublic long getCompanyId()
getCompanyId in interface PollsVoteModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelpublic java.util.Date getCreateDate()
getCreateDate in interface PollsVoteModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelpublic com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface PollsVoteModelgetExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelpublic long getGroupId()
getGroupId in interface PollsVoteModelgetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic java.util.Date getLastPublishDate()
getLastPublishDate in interface PollsVoteModelgetLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface PollsVoteModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getPrimaryKey()
getPrimaryKey in interface PollsVoteModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface PollsVoteModelgetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic long getQuestionId()
getQuestionId in interface PollsVoteModelpublic long getUserId()
getUserId in interface PollsVoteModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserName()
getUserName in interface PollsVoteModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface PollsVoteModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUuid()
getUuid in interface PollsVoteModelgetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic java.util.Date getVoteDate()
getVoteDate in interface PollsVoteModelpublic long getVoteId()
getVoteId in interface PollsVoteModelpublic int hashCode()
hashCode in interface PollsVoteModelhashCode in class java.lang.Objectpublic boolean isCachedModel()
isCachedModel in interface PollsVoteModelisCachedModel in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>public boolean isEscapedModel()
isEscapedModel in interface PollsVoteModelisEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>public boolean isNew()
isNew in interface PollsVoteModelisNew in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>public void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setCachedModel(boolean cachedModel)
setCachedModel in interface PollsVoteModelsetCachedModel in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>public void setChoiceId(long choiceId)
setChoiceId in interface PollsVoteModelchoiceId - the choice ID of this polls votepublic void setCompanyId(long companyId)
setCompanyId in interface PollsVoteModelsetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface com.liferay.portal.kernel.model.StagedModelcompanyId - the company ID of this polls votepublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface PollsVoteModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this polls votepublic void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface PollsVoteModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>public void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface PollsVoteModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface PollsVoteModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>public void setGroupId(long groupId)
setGroupId in interface PollsVoteModelsetGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this polls votepublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface PollsVoteModelsetLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModellastPublishDate - the last publish date of this polls votepublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface PollsVoteModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this polls votepublic void setNew(boolean n)
setNew in interface PollsVoteModelsetNew in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>public void setPrimaryKey(long primaryKey)
setPrimaryKey in interface PollsVoteModelprimaryKey - the primary key of this polls votepublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface PollsVoteModelsetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic void setQuestionId(long questionId)
setQuestionId in interface PollsVoteModelquestionId - the question ID of this polls votepublic void setUserId(long userId)
setUserId in interface PollsVoteModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this polls votepublic void setUserName(java.lang.String userName)
setUserName in interface PollsVoteModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this polls votepublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface PollsVoteModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this polls votepublic void setUuid(java.lang.String uuid)
setUuid in interface PollsVoteModelsetUuid in interface com.liferay.portal.kernel.model.StagedModeluuid - the uuid of this polls votepublic void setVoteDate(java.util.Date voteDate)
setVoteDate in interface PollsVoteModelvoteDate - the vote date of this polls votepublic void setVoteId(long voteId)
setVoteId in interface PollsVoteModelvoteId - the vote ID of this polls votepublic com.liferay.portal.kernel.model.CacheModel<PollsVote> toCacheModel()
toCacheModel in interface PollsVoteModeltoCacheModel in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>public PollsVote toEscapedModel()
toEscapedModel in interface PollsVoteModeltoEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>public java.lang.String toString()
toString in interface PollsVoteModeltoString in class java.lang.Objectpublic PollsVote toUnescapedModel()
toUnescapedModel in interface PollsVoteModeltoUnescapedModel in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>public java.lang.String toXmlString()
toXmlString in interface PollsVoteModeltoXmlString in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelpublic PollsVote getWrappedModel()
getWrappedModel in interface com.liferay.portal.kernel.model.ModelWrapper<PollsVote>public boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>