public class PollsVoteWrapper extends BaseModelWrapper<PollsVote> implements ModelWrapper<PollsVote>, PollsVote
This class is a wrapper for PollsVote.
PollsVote,
Serialized FormmodelVOTE_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.
|
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()
Updates this model instance in the database or adds it if it does not yet
exist.
|
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, toXmlStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetWrappedModelclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNameclonepublic PollsVoteWrapper(PollsVote pollsVote)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<PollsVote>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<PollsVote>public PollsChoice getChoice() throws PortalException
getChoice in interface PollsVotePortalExceptionpublic long getChoiceId()
getChoiceId in interface PollsVoteModelpublic long getCompanyId()
getCompanyId in interface PollsVoteModelgetCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelpublic java.util.Date getCreateDate()
getCreateDate in interface PollsVoteModelgetCreateDate in interface AuditedModelgetCreateDate in interface StagedModelpublic long getGroupId()
getGroupId in interface PollsVoteModelgetGroupId in interface GroupedModelpublic java.util.Date getLastPublishDate()
getLastPublishDate in interface PollsVoteModelgetLastPublishDate in interface StagedGroupedModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface PollsVoteModelgetModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelpublic long getMvccVersion()
getMvccVersion in interface PollsVoteModelgetMvccVersion in interface MVCCModelpublic long getPrimaryKey()
getPrimaryKey in interface PollsVoteModelpublic long getQuestionId()
getQuestionId in interface PollsVoteModelpublic long getUserId()
getUserId in interface PollsVoteModelgetUserId in interface AuditedModelpublic java.lang.String getUserName()
getUserName in interface PollsVoteModelgetUserName in interface AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface PollsVoteModelgetUserUuid in interface AuditedModelpublic java.lang.String getUuid()
getUuid in interface PollsVoteModelgetUuid in interface StagedModelpublic java.util.Date getVoteDate()
getVoteDate in interface PollsVoteModelpublic long getVoteId()
getVoteId in interface PollsVoteModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic 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 AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelcompanyId - the company ID of this polls votepublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface PollsVoteModelsetCreateDate in interface AuditedModelsetCreateDate in interface StagedModelcreateDate - the create date of this polls votepublic void setGroupId(long groupId)
setGroupId in interface PollsVoteModelsetGroupId in interface GroupedModelgroupId - the group ID of this polls votepublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface PollsVoteModelsetLastPublishDate in interface StagedGroupedModellastPublishDate - the last publish date of this polls votepublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface PollsVoteModelsetModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelmodifiedDate - the modified date of this polls votepublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface PollsVoteModelsetMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this polls votepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface PollsVoteModelprimaryKey - the primary key of this polls votepublic 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 AuditedModeluserId - the user ID of this polls votepublic void setUserName(java.lang.String userName)
setUserName in interface PollsVoteModelsetUserName in interface AuditedModeluserName - the user name of this polls votepublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface PollsVoteModelsetUserUuid in interface AuditedModeluserUuid - the user uuid of this polls votepublic void setUuid(java.lang.String uuid)
setUuid in interface PollsVoteModelsetUuid in interface 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 StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelprotected PollsVoteWrapper wrap(PollsVote pollsVote)
wrap in class BaseModelWrapper<PollsVote>