@JSON(strict=true)
@ProviderType
public class PollsVoteModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.polls.model.PollsVote>
implements com.liferay.polls.model.PollsVoteModel
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| Modifier and Type | Field and Description |
|---|---|
static long |
CHOICEID_COLUMN_BITMASK |
static boolean |
COLUMN_BITMASK_ENABLED |
static long |
COMPANYID_COLUMN_BITMASK |
static java.lang.String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED |
static boolean |
FINDER_CACHE_ENABLED |
static long |
GROUPID_COLUMN_BITMASK |
static long |
LOCK_EXPIRATION_TIME |
static java.lang.String |
ORDER_BY_JPQL |
static java.lang.String |
ORDER_BY_SQL |
static long |
QUESTIONID_COLUMN_BITMASK |
static java.lang.String |
SESSION_FACTORY |
static java.lang.Object[][] |
TABLE_COLUMNS |
static java.util.Map<java.lang.String,java.lang.Integer> |
TABLE_COLUMNS_MAP |
static java.lang.String |
TABLE_NAME |
static java.lang.String |
TABLE_SQL_CREATE |
static java.lang.String |
TABLE_SQL_DROP |
static java.lang.String |
TX_MANAGER |
static long |
USERID_COLUMN_BITMASK |
static long |
UUID_COLUMN_BITMASK |
static long |
VOTEID_COLUMN_BITMASK |
| Constructor and Description |
|---|
PollsVoteModelImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(com.liferay.polls.model.PollsVote pollsVote) |
boolean |
equals(java.lang.Object obj) |
long |
getChoiceId() |
long |
getColumnBitmask() |
long |
getCompanyId() |
java.util.Date |
getCreateDate() |
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
long |
getGroupId() |
java.util.Date |
getLastPublishDate() |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate() |
long |
getOriginalChoiceId() |
long |
getOriginalCompanyId() |
long |
getOriginalGroupId() |
long |
getOriginalQuestionId() |
long |
getOriginalUserId() |
java.lang.String |
getOriginalUuid() |
long |
getPrimaryKey() |
java.io.Serializable |
getPrimaryKeyObj() |
long |
getQuestionId() |
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
long |
getUserId() |
java.lang.String |
getUserName() |
java.lang.String |
getUserUuid() |
java.lang.String |
getUuid() |
java.util.Date |
getVoteDate() |
long |
getVoteId() |
int |
hashCode() |
boolean |
hasSetModifiedDate() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
void |
resetOriginalValues() |
void |
setChoiceId(long choiceId) |
void |
setCompanyId(long companyId) |
void |
setCreateDate(java.util.Date createDate) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setGroupId(long groupId) |
void |
setLastPublishDate(java.util.Date lastPublishDate) |
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setQuestionId(long questionId) |
void |
setUserId(long userId) |
void |
setUserName(java.lang.String userName) |
void |
setUserUuid(java.lang.String userUuid) |
void |
setUuid(java.lang.String uuid) |
void |
setVoteDate(java.util.Date voteDate) |
void |
setVoteId(long voteId) |
com.liferay.portal.kernel.model.CacheModel<com.liferay.polls.model.PollsVote> |
toCacheModel() |
com.liferay.polls.model.PollsVote |
toEscapedModel() |
static com.liferay.polls.model.PollsVote |
toModel(com.liferay.polls.model.PollsVoteSoap soapModel)
Converts the soap model instance into a normal model instance.
|
static java.util.List<com.liferay.polls.model.PollsVote> |
toModels(com.liferay.polls.model.PollsVoteSoap[] soapModels)
Converts the soap model instances into normal model instances.
|
java.lang.String |
toString() |
java.lang.String |
toXmlString() |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModelpublic static final java.lang.String TABLE_NAME
public static final java.lang.Object[][] TABLE_COLUMNS
public static final java.util.Map<java.lang.String,java.lang.Integer> TABLE_COLUMNS_MAP
public static final java.lang.String TABLE_SQL_CREATE
public static final java.lang.String TABLE_SQL_DROP
public static final java.lang.String ORDER_BY_JPQL
public static final java.lang.String ORDER_BY_SQL
public static final java.lang.String DATA_SOURCE
public static final java.lang.String SESSION_FACTORY
public static final java.lang.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 final long CHOICEID_COLUMN_BITMASK
public static final long COMPANYID_COLUMN_BITMASK
public static final long GROUPID_COLUMN_BITMASK
public static final long QUESTIONID_COLUMN_BITMASK
public static final long USERID_COLUMN_BITMASK
public static final long UUID_COLUMN_BITMASK
public static final long VOTEID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
public static com.liferay.polls.model.PollsVote toModel(com.liferay.polls.model.PollsVoteSoap soapModel)
soapModel - the soap model instance to convertpublic static java.util.List<com.liferay.polls.model.PollsVote> toModels(com.liferay.polls.model.PollsVoteSoap[] soapModels)
soapModels - the soap model instances to convertpublic long getPrimaryKey()
getPrimaryKey in interface com.liferay.polls.model.PollsVoteModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface com.liferay.polls.model.PollsVoteModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.polls.model.PollsVoteModelgetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.polls.model.PollsVote>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.polls.model.PollsVoteModelsetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.polls.model.PollsVote>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic java.lang.Class<?> getModelClass()
getModelClass in interface com.liferay.portal.kernel.model.ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.polls.model.PollsVote>getModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.polls.model.PollsVote>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.polls.model.PollsVote>setModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.polls.model.PollsVote>@JSON public java.lang.String getUuid()
getUuid in interface com.liferay.polls.model.PollsVoteModelgetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic void setUuid(java.lang.String uuid)
setUuid in interface com.liferay.polls.model.PollsVoteModelsetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic java.lang.String getOriginalUuid()
@JSON public long getVoteId()
getVoteId in interface com.liferay.polls.model.PollsVoteModelpublic void setVoteId(long voteId)
setVoteId in interface com.liferay.polls.model.PollsVoteModel@JSON public long getGroupId()
getGroupId in interface com.liferay.polls.model.PollsVoteModelgetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic void setGroupId(long groupId)
setGroupId in interface com.liferay.polls.model.PollsVoteModelsetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic long getOriginalGroupId()
@JSON public long getCompanyId()
getCompanyId in interface com.liferay.polls.model.PollsVoteModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelpublic void setCompanyId(long companyId)
setCompanyId in interface com.liferay.polls.model.PollsVoteModelsetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface com.liferay.portal.kernel.model.StagedModelpublic long getOriginalCompanyId()
@JSON public long getUserId()
getUserId in interface com.liferay.polls.model.PollsVoteModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic void setUserId(long userId)
setUserId in interface com.liferay.polls.model.PollsVoteModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface com.liferay.polls.model.PollsVoteModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface com.liferay.polls.model.PollsVoteModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic long getOriginalUserId()
@JSON public java.lang.String getUserName()
getUserName in interface com.liferay.polls.model.PollsVoteModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic void setUserName(java.lang.String userName)
setUserName in interface com.liferay.polls.model.PollsVoteModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModel@JSON public java.util.Date getCreateDate()
getCreateDate in interface com.liferay.polls.model.PollsVoteModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface com.liferay.polls.model.PollsVoteModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModel@JSON public java.util.Date getModifiedDate()
getModifiedDate in interface com.liferay.polls.model.PollsVoteModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelpublic boolean hasSetModifiedDate()
public void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface com.liferay.polls.model.PollsVoteModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModel@JSON public long getQuestionId()
getQuestionId in interface com.liferay.polls.model.PollsVoteModelpublic void setQuestionId(long questionId)
setQuestionId in interface com.liferay.polls.model.PollsVoteModelpublic long getOriginalQuestionId()
@JSON public long getChoiceId()
getChoiceId in interface com.liferay.polls.model.PollsVoteModelpublic void setChoiceId(long choiceId)
setChoiceId in interface com.liferay.polls.model.PollsVoteModelpublic long getOriginalChoiceId()
@JSON public java.util.Date getLastPublishDate()
getLastPublishDate in interface com.liferay.polls.model.PollsVoteModelgetLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModelpublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface com.liferay.polls.model.PollsVoteModelsetLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModel@JSON public java.util.Date getVoteDate()
getVoteDate in interface com.liferay.polls.model.PollsVoteModelpublic void setVoteDate(java.util.Date voteDate)
setVoteDate in interface com.liferay.polls.model.PollsVoteModelpublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelpublic long getColumnBitmask()
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.polls.model.PollsVoteModelgetExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.polls.model.PollsVote>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelgetExpandoBridge in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.polls.model.PollsVote>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.polls.model.PollsVoteModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.polls.model.PollsVote>setExpandoBridgeAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.polls.model.PollsVote>public com.liferay.polls.model.PollsVote toEscapedModel()
toEscapedModel in interface com.liferay.polls.model.PollsVoteModeltoEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.polls.model.PollsVote>toEscapedModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.polls.model.PollsVote>public java.lang.Object clone()
clone in interface com.liferay.polls.model.PollsVoteModelclone in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.polls.model.PollsVote>clone in interface com.liferay.portal.kernel.model.StagedModelclone in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.polls.model.PollsVote>public int compareTo(com.liferay.polls.model.PollsVote pollsVote)
compareTo in interface com.liferay.polls.model.PollsVoteModelcompareTo in interface java.lang.Comparable<com.liferay.polls.model.PollsVote>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in interface com.liferay.polls.model.PollsVoteModelhashCode in class java.lang.Objectpublic boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.polls.model.PollsVote>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.polls.model.PollsVote>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.polls.model.PollsVote>resetOriginalValues in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.polls.model.PollsVote>public com.liferay.portal.kernel.model.CacheModel<com.liferay.polls.model.PollsVote> toCacheModel()
toCacheModel in interface com.liferay.polls.model.PollsVoteModeltoCacheModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.polls.model.PollsVote>toCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.polls.model.PollsVote>public java.lang.String toString()
toString in interface com.liferay.polls.model.PollsVoteModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
toXmlString in interface com.liferay.polls.model.PollsVoteModeltoXmlString in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.polls.model.PollsVote>