|
Liferay 6.1.2-ce-ga3 | |||||||||
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
@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 FormField Summary | |
---|---|
static long |
CHOICEID_COLUMN_BITMASK
|
static boolean |
COLUMN_BITMASK_ENABLED
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
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
|
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. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this polls vote. |
long |
getOriginalChoiceId()
|
long |
getOriginalQuestionId()
|
long |
getOriginalUserId()
|
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. |
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. |
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 |
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 |
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()
|
PollsVote |
toUnescapedModel()
|
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, 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, 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 boolean COLUMN_BITMASK_ENABLED
public static long CHOICEID_COLUMN_BITMASK
public static long QUESTIONID_COLUMN_BITMASK
public static long USERID_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 PollsVoteModel
public void setPrimaryKey(long primaryKey)
PollsVoteModel
setPrimaryKey
in interface PollsVoteModel
primaryKey
- the primary key of this polls votepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<PollsVote>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface PollsVoteModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<PollsVote>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface PollsVoteModel
primaryKeyObj
- the primary key of this model instancepublic Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public 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 long getVoteId()
PollsVoteModel
getVoteId
in interface PollsVoteModel
public void setVoteId(long voteId)
PollsVoteModel
setVoteId
in interface PollsVoteModel
voteId
- the vote ID of this polls vote@JSON public long getCompanyId()
PollsVoteModel
getCompanyId
in interface AuditedModel
getCompanyId
in interface PollsVoteModel
public void setCompanyId(long companyId)
PollsVoteModel
setCompanyId
in interface AuditedModel
setCompanyId
in interface PollsVoteModel
companyId
- the company ID of this polls vote@JSON public long getUserId()
PollsVoteModel
getUserId
in interface AuditedModel
getUserId
in interface PollsVoteModel
public void setUserId(long userId)
PollsVoteModel
setUserId
in interface AuditedModel
setUserId
in interface PollsVoteModel
userId
- the user ID of this polls votepublic String getUserUuid() throws SystemException
PollsVoteModel
getUserUuid
in interface AuditedModel
getUserUuid
in interface PollsVoteModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
PollsVoteModel
setUserUuid
in interface AuditedModel
setUserUuid
in interface PollsVoteModel
userUuid
- the user uuid of this polls votepublic long getOriginalUserId()
@JSON public String getUserName()
PollsVoteModel
getUserName
in interface AuditedModel
getUserName
in interface PollsVoteModel
public void setUserName(String userName)
PollsVoteModel
setUserName
in interface AuditedModel
setUserName
in interface PollsVoteModel
userName
- the user name of this polls vote@JSON public Date getCreateDate()
PollsVoteModel
getCreateDate
in interface AuditedModel
getCreateDate
in interface PollsVoteModel
public void setCreateDate(Date createDate)
PollsVoteModel
setCreateDate
in interface AuditedModel
setCreateDate
in interface PollsVoteModel
createDate
- the create date of this polls vote@JSON public Date getModifiedDate()
PollsVoteModel
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface PollsVoteModel
public void setModifiedDate(Date modifiedDate)
PollsVoteModel
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface PollsVoteModel
modifiedDate
- the modified date of this polls vote@JSON 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()
@JSON 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 long getOriginalChoiceId()
@JSON public 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 long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<PollsVote>
getExpandoBridge
in interface ClassedModel
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 contextServiceContext.getExpandoBridgeAttributes(
)
public PollsVote toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<PollsVote>
toEscapedModel
in interface PollsVoteModel
toEscapedModel
in class BaseModelImpl<PollsVote>
AutoEscapeBeanHandler
public PollsVote toUnescapedModel()
toUnescapedModel
in interface BaseModel<PollsVote>
toUnescapedModel
in interface PollsVoteModel
toUnescapedModel
in class BaseModelImpl<PollsVote>
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 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 PollsVoteModel
toCacheModel
in class BaseModelImpl<PollsVote>
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.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |