|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.polls.model.PollsQuestionWrapper
public class PollsQuestionWrapper
This class is a wrapper for PollsQuestion.
PollsQuestion,
Serialized Form| Constructor Summary | |
|---|---|
PollsQuestionWrapper(PollsQuestion pollsQuestion)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(PollsQuestion pollsQuestion)
|
List<PollsChoice> |
getChoices()
|
long |
getCompanyId()
|
Date |
getCreateDate()
|
String |
getDescription()
|
String |
getDescription(Locale locale)
|
String |
getDescription(Locale locale,
boolean useDefault)
|
String |
getDescription(String languageId)
|
String |
getDescription(String languageId,
boolean useDefault)
|
Map<Locale,String> |
getDescriptionMap()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
Date |
getExpirationDate()
|
long |
getGroupId()
|
Date |
getLastVoteDate()
|
Date |
getModifiedDate()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
long |
getQuestionId()
|
String |
getTitle()
|
String |
getTitle(Locale locale)
|
String |
getTitle(Locale locale,
boolean useDefault)
|
String |
getTitle(String languageId)
|
String |
getTitle(String languageId,
boolean useDefault)
|
Map<Locale,String> |
getTitleMap()
|
long |
getUserId()
|
String |
getUserName()
|
String |
getUserUuid()
|
String |
getUuid()
|
int |
getVotesCount()
|
PollsQuestion |
getWrappedPollsQuestion()
|
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance has been wrapped with an HTML auto escape handler. |
boolean |
isExpired()
|
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setCompanyId(long companyId)
|
void |
setCreateDate(Date createDate)
|
void |
setDescription(Locale locale,
String description)
|
void |
setDescription(String description)
|
void |
setDescriptionMap(Map<Locale,String> descriptionMap)
|
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance has been wrapped with an HTML auto escape handler. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setExpirationDate(Date expirationDate)
|
void |
setGroupId(long groupId)
|
void |
setLastVoteDate(Date lastVoteDate)
|
void |
setModifiedDate(Date modifiedDate)
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long pk)
|
void |
setQuestionId(long questionId)
|
void |
setTitle(Locale locale,
String title)
|
void |
setTitle(String title)
|
void |
setTitleMap(Map<Locale,String> titleMap)
|
void |
setUserId(long userId)
|
void |
setUserName(String userName)
|
void |
setUserUuid(String userUuid)
|
void |
setUuid(String uuid)
|
PollsQuestion |
toEscapedModel()
|
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PollsQuestionWrapper(PollsQuestion pollsQuestion)
| Method Detail |
|---|
public long getPrimaryKey()
getPrimaryKey in interface PollsQuestionModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface PollsQuestionModelpublic String getUuid()
getUuid in interface PollsQuestionModelpublic void setUuid(String uuid)
setUuid in interface PollsQuestionModelpublic long getQuestionId()
getQuestionId in interface PollsQuestionModelpublic void setQuestionId(long questionId)
setQuestionId in interface PollsQuestionModelpublic long getGroupId()
getGroupId in interface PollsQuestionModelpublic void setGroupId(long groupId)
setGroupId in interface PollsQuestionModelpublic long getCompanyId()
getCompanyId in interface PollsQuestionModelpublic void setCompanyId(long companyId)
setCompanyId in interface PollsQuestionModelpublic long getUserId()
getUserId in interface PollsQuestionModelpublic void setUserId(long userId)
setUserId in interface PollsQuestionModel
public String getUserUuid()
throws SystemException
getUserUuid in interface PollsQuestionModelSystemExceptionpublic void setUserUuid(String userUuid)
setUserUuid in interface PollsQuestionModelpublic String getUserName()
getUserName in interface PollsQuestionModelpublic void setUserName(String userName)
setUserName in interface PollsQuestionModelpublic Date getCreateDate()
getCreateDate in interface PollsQuestionModelpublic void setCreateDate(Date createDate)
setCreateDate in interface PollsQuestionModelpublic Date getModifiedDate()
getModifiedDate in interface PollsQuestionModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface PollsQuestionModelpublic String getTitle()
getTitle in interface PollsQuestionModelpublic String getTitle(Locale locale)
getTitle in interface PollsQuestionModel
public String getTitle(Locale locale,
boolean useDefault)
getTitle in interface PollsQuestionModelpublic String getTitle(String languageId)
getTitle in interface PollsQuestionModel
public String getTitle(String languageId,
boolean useDefault)
getTitle in interface PollsQuestionModelpublic Map<Locale,String> getTitleMap()
getTitleMap in interface PollsQuestionModelpublic void setTitle(String title)
setTitle in interface PollsQuestionModel
public void setTitle(Locale locale,
String title)
setTitle in interface PollsQuestionModelpublic void setTitleMap(Map<Locale,String> titleMap)
setTitleMap in interface PollsQuestionModelpublic String getDescription()
getDescription in interface PollsQuestionModelpublic String getDescription(Locale locale)
getDescription in interface PollsQuestionModel
public String getDescription(Locale locale,
boolean useDefault)
getDescription in interface PollsQuestionModelpublic String getDescription(String languageId)
getDescription in interface PollsQuestionModel
public String getDescription(String languageId,
boolean useDefault)
getDescription in interface PollsQuestionModelpublic Map<Locale,String> getDescriptionMap()
getDescriptionMap in interface PollsQuestionModelpublic void setDescription(String description)
setDescription in interface PollsQuestionModel
public void setDescription(Locale locale,
String description)
setDescription in interface PollsQuestionModelpublic void setDescriptionMap(Map<Locale,String> descriptionMap)
setDescriptionMap in interface PollsQuestionModelpublic Date getExpirationDate()
getExpirationDate in interface PollsQuestionModelpublic void setExpirationDate(Date expirationDate)
setExpirationDate in interface PollsQuestionModelpublic Date getLastVoteDate()
getLastVoteDate in interface PollsQuestionModelpublic void setLastVoteDate(Date lastVoteDate)
setLastVoteDate in interface PollsQuestionModelpublic PollsQuestion toEscapedModel()
toEscapedModel in interface PollsQuestionModelpublic boolean isNew()
BaseModel
isNew in interface BaseModel<PollsQuestion>isNew in interface PollsQuestionModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<PollsQuestion>setNew in interface PollsQuestionModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<PollsQuestion>isCachedModel in interface PollsQuestionModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<PollsQuestion>setCachedModel in interface PollsQuestionModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<PollsQuestion>isEscapedModel in interface PollsQuestionModeltrue if this model instance has been wrapped with an
HTML auto escape handler; false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be wrapped with an HTML auto escape handler using
its toEscapedModel method. For example, UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<PollsQuestion>setEscapedModel in interface PollsQuestionModelescapedModel - whether this model instance has been wrapped with an
HTML auto escape handlerAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<PollsQuestion>getPrimaryKeyObj in interface PollsQuestionModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<PollsQuestion>getExpandoBridge in interface PollsQuestionModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<PollsQuestion>setExpandoBridgeAttributes in interface PollsQuestionModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<PollsQuestion>clone in interface PollsQuestionModelclone in class Objectpublic int compareTo(PollsQuestion pollsQuestion)
compareTo in interface PollsQuestionModelcompareTo in interface Comparable<PollsQuestion>public int hashCode()
hashCode in interface PollsQuestionModelhashCode in class Objectpublic String toString()
toString in interface PollsQuestionModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<PollsQuestion>toXmlString in interface PollsQuestionModel
public List<PollsChoice> getChoices()
throws SystemException
getChoices in interface PollsQuestionSystemException
public int getVotesCount()
throws SystemException
getVotesCount in interface PollsQuestionSystemExceptionpublic boolean isExpired()
isExpired in interface PollsQuestionpublic PollsQuestion getWrappedPollsQuestion()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||