|
Liferay 6.1.2-ce-ga3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.polls.model.PollsVoteWrapper
public class PollsVoteWrapper
This class is a wrapper for PollsVote.
PollsVote,
Serialized Form| Constructor Summary | |
|---|---|
PollsVoteWrapper(PollsVote pollsVote)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(PollsVote pollsVote)
|
boolean |
equals(Object obj)
|
PollsChoice |
getChoice()
|
long |
getChoiceId()
Returns the choice ID of this polls vote. |
long |
getCompanyId()
Returns the company ID of this polls vote. |
Date |
getCreateDate()
Returns the create date of this polls vote. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this polls vote. |
long |
getPrimaryKey()
Returns the primary key of this polls vote. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getQuestionId()
Returns the question ID of this polls vote. |
long |
getUserId()
Returns the user ID of this polls vote. |
String |
getUserName()
Returns the user name of this polls vote. |
String |
getUserUuid()
Returns the user uuid of this polls vote. |
Date |
getVoteDate()
Returns the vote date of this polls vote. |
long |
getVoteId()
Returns the vote ID of this polls vote. |
PollsVote |
getWrappedModel()
|
PollsVote |
getWrappedPollsVote()
Deprecated. Renamed to getWrappedModel() |
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
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(Date createDate)
Sets the create date of this polls vote. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this polls vote. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this polls vote. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
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(String userName)
Sets the user name of this polls vote. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this polls vote. |
void |
setVoteDate(Date voteDate)
Sets the vote date of this polls vote. |
void |
setVoteId(long voteId)
Sets the vote ID of this polls vote. |
CacheModel<PollsVote> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
PollsVote |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
PollsVote |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PollsVoteWrapper(PollsVote pollsVote)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<PollsVote>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<PollsVote>public long getPrimaryKey()
getPrimaryKey in interface PollsVoteModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface PollsVoteModelprimaryKey - the primary key of this polls votepublic long getVoteId()
getVoteId in interface PollsVoteModelpublic void setVoteId(long voteId)
setVoteId in interface PollsVoteModelvoteId - the vote ID of this polls votepublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface PollsVoteModelpublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface PollsVoteModelcompanyId - the company ID of this polls votepublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface PollsVoteModelpublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface PollsVoteModeluserId - the user ID of this polls vote
public String getUserUuid()
throws SystemException
getUserUuid in interface AuditedModelgetUserUuid in interface PollsVoteModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface PollsVoteModeluserUuid - the user uuid of this polls votepublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface PollsVoteModelpublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface PollsVoteModeluserName - the user name of this polls votepublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface PollsVoteModelpublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface PollsVoteModelcreateDate - the create date of this polls votepublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface PollsVoteModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface PollsVoteModelmodifiedDate - the modified date of this polls votepublic long getQuestionId()
getQuestionId in interface PollsVoteModelpublic void setQuestionId(long questionId)
setQuestionId in interface PollsVoteModelquestionId - the question ID of this polls votepublic long getChoiceId()
getChoiceId in interface PollsVoteModelpublic void setChoiceId(long choiceId)
setChoiceId in interface PollsVoteModelchoiceId - the choice ID of this polls votepublic Date getVoteDate()
getVoteDate in interface PollsVoteModelpublic void setVoteDate(Date voteDate)
setVoteDate in interface PollsVoteModelvoteDate - the vote date of this polls votepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<PollsVote>isNew in interface PollsVoteModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<PollsVote>setNew in interface PollsVoteModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<PollsVote>isCachedModel in interface PollsVoteModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<PollsVote>setCachedModel in interface PollsVoteModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<PollsVote>isEscapedModel in interface PollsVoteModeltrue if this model instance is escaped;
false otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<PollsVote>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface PollsVoteModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<PollsVote>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface PollsVoteModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<PollsVote>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface PollsVoteModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<PollsVote>setExpandoBridgeAttributes in interface PollsVoteModelserviceContext - the service contextServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<PollsVote>clone in interface PollsVoteModelclone in class Objectpublic int compareTo(PollsVote pollsVote)
compareTo in interface PollsVoteModelcompareTo in interface Comparable<PollsVote>public int hashCode()
hashCode in interface PollsVoteModelhashCode in class Objectpublic CacheModel<PollsVote> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<PollsVote>toCacheModel in interface PollsVoteModelpublic PollsVote toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<PollsVote>toEscapedModel in interface PollsVoteModelAutoEscapeBeanHandlerpublic PollsVote toUnescapedModel()
toUnescapedModel in interface BaseModel<PollsVote>toUnescapedModel in interface PollsVoteModelpublic String toString()
toString in interface PollsVoteModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<PollsVote>toXmlString in interface PollsVoteModel
public void persist()
throws SystemException
PersistedModel
persist in interface PersistedModelSystemException - if a system exception occurred
public PollsChoice getChoice()
throws PortalException,
SystemException
getChoice in interface PollsVotePortalException
SystemExceptionpublic boolean equals(Object obj)
equals in class Objectpublic PollsVote getWrappedPollsVote()
getWrappedModel()
public PollsVote getWrappedModel()
getWrappedModel in interface ModelWrapper<PollsVote>public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<PollsVote>
|
Liferay 6.1.2-ce-ga3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||