|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 FormField 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 PollsVoteModel
public void setPrimaryKey(long pk)
PollsVoteModel
setPrimaryKey
in interface PollsVoteModel
pk
- the primary key of this polls votepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<PollsVote>
getPrimaryKeyObj
in interface PollsVoteModel
public long getVoteId()
PollsVoteModel
getVoteId
in interface PollsVoteModel
public void setVoteId(long voteId)
PollsVoteModel
setVoteId
in interface PollsVoteModel
voteId
- the vote id of this polls votepublic long getUserId()
PollsVoteModel
getUserId
in interface PollsVoteModel
public void setUserId(long userId)
PollsVoteModel
setUserId
in interface PollsVoteModel
userId
- the user id of this polls votepublic String getUserUuid() throws SystemException
PollsVoteModel
getUserUuid
in interface PollsVoteModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
PollsVoteModel
setUserUuid
in interface PollsVoteModel
userUuid
- the user uuid of this polls votepublic long getOriginalUserId()
public long getQuestionId()
PollsVoteModel
getQuestionId
in interface PollsVoteModel
public void setQuestionId(long questionId)
PollsVoteModel
setQuestionId
in interface PollsVoteModel
questionId
- the question id of this polls votepublic long getOriginalQuestionId()
public long getChoiceId()
PollsVoteModel
getChoiceId
in interface PollsVoteModel
public void setChoiceId(long choiceId)
PollsVoteModel
setChoiceId
in interface PollsVoteModel
choiceId
- the choice id of this polls votepublic Date getVoteDate()
PollsVoteModel
getVoteDate
in interface PollsVoteModel
public void setVoteDate(Date voteDate)
PollsVoteModel
setVoteDate
in interface PollsVoteModel
voteDate
- the vote date of this polls votepublic PollsVote toEscapedModel()
PollsVoteModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface PollsVoteModel
AutoEscapeBeanHandler
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<PollsVote>
getExpandoBridge
in interface PollsVoteModel
getExpandoBridge
in class BaseModelImpl<PollsVote>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<PollsVote>
setExpandoBridgeAttributes
in interface PollsVoteModel
setExpandoBridgeAttributes
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 PollsVoteModel
clone
in class BaseModelImpl<PollsVote>
public int compareTo(PollsVote pollsVote)
compareTo
in interface PollsVoteModel
compareTo
in interface Comparable<PollsVote>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface PollsVoteModel
hashCode
in class Object
public String toString()
toString
in interface PollsVoteModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<PollsVote>
toXmlString
in interface PollsVoteModel
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |