public class PollsVoteWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<PollsVote> implements com.liferay.portal.kernel.model.ModelWrapper<PollsVote>, 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 |
---|---|
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.
|
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.util.Date |
getModifiedDate()
Returns the modified date of this polls vote.
|
long |
getMvccVersion()
Returns the mvcc version of this polls vote.
|
long |
getPrimaryKey()
Returns the primary key of this polls vote.
|
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.
|
void |
persist() |
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 |
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 |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this polls vote.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this polls vote.
|
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.
|
protected PollsVoteWrapper |
wrap(PollsVote pollsVote) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
public PollsVoteWrapper(PollsVote pollsVote)
public 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 PollsChoice getChoice() throws com.liferay.portal.kernel.exception.PortalException
public long getChoiceId()
getChoiceId
in interface PollsVoteModel
public long getCompanyId()
getCompanyId
in interface PollsVoteModel
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
public java.util.Date getCreateDate()
getCreateDate
in interface PollsVoteModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public long getGroupId()
getGroupId
in interface PollsVoteModel
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
public java.util.Date getLastPublishDate()
getLastPublishDate
in interface PollsVoteModel
getLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface PollsVoteModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public long getMvccVersion()
getMvccVersion
in interface PollsVoteModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public long getPrimaryKey()
getPrimaryKey
in interface PollsVoteModel
public long getQuestionId()
getQuestionId
in interface PollsVoteModel
public long getUserId()
getUserId
in interface PollsVoteModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserName()
getUserName
in interface PollsVoteModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserUuid()
getUserUuid
in interface PollsVoteModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUuid()
getUuid
in interface PollsVoteModel
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
public java.util.Date getVoteDate()
getVoteDate
in interface PollsVoteModel
public long getVoteId()
getVoteId
in interface PollsVoteModel
public void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setChoiceId(long choiceId)
setChoiceId
in interface PollsVoteModel
choiceId
- the choice ID of this polls votepublic void setCompanyId(long companyId)
setCompanyId
in interface PollsVoteModel
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 votepublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface PollsVoteModel
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 votepublic void setGroupId(long groupId)
setGroupId
in interface PollsVoteModel
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this polls votepublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate
in interface PollsVoteModel
setLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
lastPublishDate
- the last publish date of this polls votepublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface PollsVoteModel
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 votepublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface PollsVoteModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this polls votepublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface PollsVoteModel
primaryKey
- the primary key of this polls votepublic void setQuestionId(long questionId)
setQuestionId
in interface PollsVoteModel
questionId
- the question ID of this polls votepublic void setUserId(long userId)
setUserId
in interface PollsVoteModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this polls votepublic void setUserName(java.lang.String userName)
setUserName
in interface PollsVoteModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this polls votepublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface PollsVoteModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this polls votepublic void setUuid(java.lang.String uuid)
setUuid
in interface PollsVoteModel
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this polls votepublic void setVoteDate(java.util.Date voteDate)
setVoteDate
in interface PollsVoteModel
voteDate
- the vote date of this polls votepublic void setVoteId(long voteId)
setVoteId
in interface PollsVoteModel
voteId
- the vote ID of this polls votepublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
protected PollsVoteWrapper wrap(PollsVote pollsVote)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<PollsVote>