|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<PollsVote>
com.liferay.portlet.polls.model.impl.PollsVoteModelImpl
public class PollsVoteModelImpl
The base model implementation for the PollsVote service. Represents a row in the "PollsVote" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface PollsVoteModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in PollsVoteImpl.
Never modify or reference this class directly. All methods that expect a polls vote model instance should use the PollsVote interface instead.
PollsVoteImpl,
PollsVote,
PollsVoteModel,
Serialized Form| Field Summary | |
|---|---|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
| Constructor Summary | |
|---|---|
PollsVoteModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(PollsVote pollsVote)
|
boolean |
equals(Object obj)
|
long |
getChoiceId()
Gets the choice id of this polls vote. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getOriginalQuestionId()
|
long |
getOriginalUserId()
|
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. |
int |
hashCode()
|
void |
setChoiceId(long choiceId)
Sets the choice id 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 |
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. |
static PollsVote |
toModel(PollsVoteSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<PollsVote> |
toModels(PollsVoteSoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portlet.polls.model.PollsVoteModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public PollsVoteModelImpl()
| Method Detail |
|---|
public static PollsVote toModel(PollsVoteSoap soapModel)
soapModel - the soap model instance to convert
public static List<PollsVote> toModels(PollsVoteSoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
PollsVoteModel
getPrimaryKey in interface PollsVoteModelpublic void setPrimaryKey(long pk)
PollsVoteModel
setPrimaryKey in interface PollsVoteModelpk - the primary key of this polls votepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<PollsVote>getPrimaryKeyObj in interface PollsVoteModelpublic 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 getOriginalUserId()
public long getQuestionId()
PollsVoteModel
getQuestionId in interface PollsVoteModelpublic void setQuestionId(long questionId)
PollsVoteModel
setQuestionId in interface PollsVoteModelquestionId - the question id of this polls votepublic long getOriginalQuestionId()
public 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 ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<PollsVote>getExpandoBridge in interface PollsVoteModelgetExpandoBridge in class BaseModelImpl<PollsVote>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<PollsVote>setExpandoBridgeAttributes in interface PollsVoteModelsetExpandoBridgeAttributes in class BaseModelImpl<PollsVote>serviceContext - 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 BaseModelImpl<PollsVote>public int compareTo(PollsVote pollsVote)
compareTo in interface PollsVoteModelcompareTo in interface Comparable<PollsVote>public boolean equals(Object obj)
equals in class Objectpublic 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
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||