|
Liferay 6.2.0-ce-rc4 | |||||||||
| 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
@JSON(strict=true) 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.
PollsVoteImpl,
PollsVote,
PollsVoteModel,
Serialized Form| Field Summary | |
|---|---|
static long |
CHOICEID_COLUMN_BITMASK
|
static boolean |
COLUMN_BITMASK_ENABLED
|
static long |
COMPANYID_COLUMN_BITMASK
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
GROUPID_COLUMN_BITMASK
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static long |
QUESTIONID_COLUMN_BITMASK
|
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
|
static long |
USERID_COLUMN_BITMASK
|
static long |
UUID_COLUMN_BITMASK
|
static long |
VOTEID_COLUMN_BITMASK
|
| 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()
Returns the choice ID of this polls vote. |
long |
getColumnBitmask()
|
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. |
long |
getGroupId()
Returns the group ID of this polls vote. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this polls vote. |
long |
getOriginalChoiceId()
|
long |
getOriginalCompanyId()
|
long |
getOriginalGroupId()
|
long |
getOriginalQuestionId()
|
long |
getOriginalUserId()
|
String |
getOriginalUuid()
|
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. |
StagedModelType |
getStagedModelType()
|
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. |
String |
getUuid()
Returns the 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. |
int |
hashCode()
|
void |
resetOriginalValues()
Reset all original fields to current values. |
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 |
setGroupId(long groupId)
Sets the group ID of this polls vote. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this polls vote. |
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 |
setUuid(String uuid)
Sets the 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. |
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()
Returns the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| 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, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| 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 ORDER_BY_JPQL
public static final String ORDER_BY_SQL
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 boolean COLUMN_BITMASK_ENABLED
public static long CHOICEID_COLUMN_BITMASK
public static long COMPANYID_COLUMN_BITMASK
public static long GROUPID_COLUMN_BITMASK
public static long QUESTIONID_COLUMN_BITMASK
public static long USERID_COLUMN_BITMASK
public static long UUID_COLUMN_BITMASK
public static long VOTEID_COLUMN_BITMASK
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 primaryKey)
PollsVoteModel
setPrimaryKey in interface PollsVoteModelprimaryKey - the primary key of this polls votepublic 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 Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<PollsVote>getModelAttributes in class BaseModelImpl<PollsVote>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<PollsVote>setModelAttributes in class BaseModelImpl<PollsVote>@JSON public String getUuid()
PollsVoteModel
getUuid in interface StagedModelgetUuid in interface PollsVoteModelpublic void setUuid(String uuid)
PollsVoteModel
setUuid in interface StagedModelsetUuid in interface PollsVoteModeluuid - the uuid of this polls votepublic String getOriginalUuid()
@JSON public long getVoteId()
PollsVoteModel
getVoteId in interface PollsVoteModelpublic void setVoteId(long voteId)
PollsVoteModel
setVoteId in interface PollsVoteModelvoteId - the vote ID of this polls vote@JSON public long getGroupId()
PollsVoteModel
getGroupId in interface GroupedModelgetGroupId in interface PollsVoteModelpublic void setGroupId(long groupId)
PollsVoteModel
setGroupId in interface GroupedModelsetGroupId in interface PollsVoteModelgroupId - the group ID of this polls votepublic long getOriginalGroupId()
@JSON public long getCompanyId()
PollsVoteModel
getCompanyId in interface AuditedModelgetCompanyId in interface StagedModelgetCompanyId in interface PollsVoteModelpublic void setCompanyId(long companyId)
PollsVoteModel
setCompanyId in interface AuditedModelsetCompanyId in interface StagedModelsetCompanyId in interface PollsVoteModelcompanyId - the company ID of this polls votepublic long getOriginalCompanyId()
@JSON public long getUserId()
PollsVoteModel
getUserId in interface AuditedModelgetUserId in interface PollsVoteModelpublic void setUserId(long userId)
PollsVoteModel
setUserId in interface AuditedModelsetUserId in interface PollsVoteModeluserId - the user ID of this polls vote
public String getUserUuid()
throws SystemException
PollsVoteModel
getUserUuid in interface AuditedModelgetUserUuid in interface PollsVoteModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
PollsVoteModel
setUserUuid in interface AuditedModelsetUserUuid in interface PollsVoteModeluserUuid - the user uuid of this polls votepublic long getOriginalUserId()
@JSON public String getUserName()
PollsVoteModel
getUserName in interface AuditedModelgetUserName in interface PollsVoteModelpublic void setUserName(String userName)
PollsVoteModel
setUserName in interface AuditedModelsetUserName in interface PollsVoteModeluserName - the user name of this polls vote@JSON public Date getCreateDate()
PollsVoteModel
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModelgetCreateDate in interface PollsVoteModelpublic void setCreateDate(Date createDate)
PollsVoteModel
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelsetCreateDate in interface PollsVoteModelcreateDate - the create date of this polls vote@JSON public Date getModifiedDate()
PollsVoteModel
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelgetModifiedDate in interface PollsVoteModelpublic void setModifiedDate(Date modifiedDate)
PollsVoteModel
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelsetModifiedDate in interface PollsVoteModelmodifiedDate - the modified date of this polls vote@JSON 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()
@JSON public long getChoiceId()
PollsVoteModel
getChoiceId in interface PollsVoteModelpublic void setChoiceId(long choiceId)
PollsVoteModel
setChoiceId in interface PollsVoteModelchoiceId - the choice ID of this polls votepublic long getOriginalChoiceId()
@JSON public Date getVoteDate()
PollsVoteModel
getVoteDate in interface PollsVoteModelpublic void setVoteDate(Date voteDate)
PollsVoteModel
setVoteDate in interface PollsVoteModelvoteDate - the vote date of this polls votepublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<PollsVote>getExpandoBridge in interface ClassedModelgetExpandoBridge 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 be appliedServiceContext.getExpandoBridgeAttributes(
)public PollsVote toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<PollsVote>toEscapedModel in interface PollsVoteModeltoEscapedModel in class BaseModelImpl<PollsVote>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<PollsVote>clone in interface StagedModelclone 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 void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<PollsVote>resetOriginalValues in class BaseModelImpl<PollsVote>public CacheModel<PollsVote> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<PollsVote>toCacheModel in interface PollsVoteModeltoCacheModel in class BaseModelImpl<PollsVote>public String toString()
toString in interface PollsVoteModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<PollsVote>toXmlString in interface PollsVoteModel
|
Liferay 6.2.0-ce-rc4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||