@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.ClassedModel
public java.lang.String getModelClassName()
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
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 PollsVote toEscapedModel()
toEscapedModel
in interface PollsVoteModel
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>
public PollsVote toUnescapedModel()
toUnescapedModel
in interface PollsVoteModel
toUnescapedModel
in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>
public boolean isCachedModel()
isCachedModel
in interface PollsVoteModel
isCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>
public boolean isEscapedModel()
isEscapedModel
in interface PollsVoteModel
isEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>
public boolean isNew()
isNew
in interface PollsVoteModel
isNew
in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface PollsVoteModel
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
public com.liferay.portal.kernel.model.CacheModel<PollsVote> toCacheModel()
toCacheModel
in interface PollsVoteModel
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>
public int compareTo(PollsVote pollsVote)
compareTo
in interface PollsVoteModel
compareTo
in interface java.lang.Comparable<PollsVote>
public int hashCode()
hashCode
in interface PollsVoteModel
hashCode
in class java.lang.Object
public java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface PollsVoteModel
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public java.lang.Object clone()
clone
in interface PollsVoteModel
clone
in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>
clone
in interface com.liferay.portal.kernel.model.StagedModel
clone
in class java.lang.Object
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.lang.String toString()
toString
in interface PollsVoteModel
toString
in class java.lang.Object
public java.lang.String toXmlString()
toXmlString
in interface PollsVoteModel
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>
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 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 java.util.Date getVoteDate()
getVoteDate
in interface PollsVoteModel
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 long getGroupId()
getGroupId
in interface PollsVoteModel
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
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 long getVoteId()
getVoteId
in interface PollsVoteModel
public void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setCachedModel(boolean cachedModel)
setCachedModel
in interface PollsVoteModel
setCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>
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 setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface PollsVoteModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface PollsVoteModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface PollsVoteModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>
public 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 setNew(boolean n)
setNew
in interface PollsVoteModel
setNew
in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface PollsVoteModel
primaryKey
- the primary key of this polls votepublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj
in interface PollsVoteModel
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<PollsVote>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public 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 boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
public 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>