|
Liferay 6.0.4 | |||||||||
| 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)
|
PollsChoice |
getChoice()
|
long |
getChoiceId()
Gets the choice id of this polls vote. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getPrimaryKey()
Gets the primary key of this polls vote. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
long |
getQuestionId()
Gets the question id of this polls vote. |
long |
getUserId()
Gets the user id of this polls vote. |
String |
getUserUuid()
Gets the user uuid of this polls vote. |
Date |
getVoteDate()
Gets the vote date of this polls vote. |
long |
getVoteId()
Gets the vote id of this polls vote. |
PollsVote |
getWrappedPollsVote()
|
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
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 |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long pk)
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 |
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. |
PollsVote |
toEscapedModel()
Gets a copy of this polls vote as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PollsVoteWrapper(PollsVote pollsVote)
| Method Detail |
|---|
public long getPrimaryKey()
PollsVoteModel
getPrimaryKey in interface PollsVoteModelpublic void setPrimaryKey(long pk)
PollsVoteModel
setPrimaryKey in interface PollsVoteModelpk - the primary key of this polls votepublic long getVoteId()
PollsVoteModel
getVoteId in interface PollsVoteModelpublic void setVoteId(long voteId)
PollsVoteModel
setVoteId in interface PollsVoteModelvoteId - the vote id of this polls votepublic long getUserId()
PollsVoteModel
getUserId in interface PollsVoteModelpublic void setUserId(long userId)
PollsVoteModel
setUserId in interface PollsVoteModeluserId - the user id of this polls vote
public String getUserUuid()
throws SystemException
PollsVoteModel
getUserUuid in interface PollsVoteModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
PollsVoteModel
setUserUuid in interface PollsVoteModeluserUuid - the user uuid of this polls votepublic long getQuestionId()
PollsVoteModel
getQuestionId in interface PollsVoteModelpublic void setQuestionId(long questionId)
PollsVoteModel
setQuestionId in interface PollsVoteModelquestionId - the question id of this polls votepublic long getChoiceId()
PollsVoteModel
getChoiceId in interface PollsVoteModelpublic void setChoiceId(long choiceId)
PollsVoteModel
setChoiceId in interface PollsVoteModelchoiceId - the choice id of this polls votepublic Date getVoteDate()
PollsVoteModel
getVoteDate in interface PollsVoteModelpublic void setVoteDate(Date voteDate)
PollsVoteModel
setVoteDate in interface PollsVoteModelvoteDate - the vote date of this polls votepublic PollsVote toEscapedModel()
PollsVoteModelAutoEscapeBeanHandler.
toEscapedModel in interface PollsVoteModelAutoEscapeBeanHandlerpublic boolean isNew()
BaseModel
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()
BaseModel
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()
BaseModel
isEscapedModel in interface BaseModel<PollsVote>isEscapedModel in interface PollsVoteModeltrue if this model instance is escaped;
false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel method. For example,
UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<PollsVote>setEscapedModel in interface PollsVoteModelescapedModel - whether this model instance is escapedAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<PollsVote>getPrimaryKeyObj in interface PollsVoteModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<PollsVote>getExpandoBridge in interface PollsVoteModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<PollsVote>setExpandoBridgeAttributes in interface PollsVoteModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.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 String toString()
toString in interface PollsVoteModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<PollsVote>toXmlString in interface PollsVoteModel
public PollsChoice getChoice()
throws PortalException,
SystemException
getChoice in interface PollsVotePortalException
SystemExceptionpublic PollsVote getWrappedPollsVote()
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||