com.liferay.portlet.polls.model
Class PollsQuestionWrapper
java.lang.Object
com.liferay.portlet.polls.model.PollsQuestionWrapper
- All Implemented Interfaces:
- BaseModel<PollsQuestion>, PollsQuestion, PollsQuestionModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<PollsQuestion>
public class PollsQuestionWrapper
- extends java.lang.Object
- implements PollsQuestion
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class is a wrapper for PollsQuestion
.
- Author:
- Brian Wing Shun Chan
- See Also:
PollsQuestion
,
Serialized Form- Generated:
Method Summary |
java.lang.Object |
clone()
|
int |
compareTo(PollsQuestion pollsQuestion)
|
java.util.List<PollsChoice> |
getChoices()
|
long |
getCompanyId()
|
java.util.Date |
getCreateDate()
|
java.lang.String |
getDescription()
|
java.lang.String |
getDescription(java.util.Locale locale)
|
java.lang.String |
getDescription(java.util.Locale locale,
boolean useDefault)
|
java.lang.String |
getDescription(java.lang.String languageId)
|
java.lang.String |
getDescription(java.lang.String languageId,
boolean useDefault)
|
java.util.Map<java.util.Locale,java.lang.String> |
getDescriptionMap()
|
ExpandoBridge |
getExpandoBridge()
|
java.util.Date |
getExpirationDate()
|
long |
getGroupId()
|
java.util.Date |
getLastVoteDate()
|
java.util.Date |
getModifiedDate()
|
long |
getPrimaryKey()
|
java.io.Serializable |
getPrimaryKeyObj()
|
long |
getQuestionId()
|
java.lang.String |
getTitle()
|
java.lang.String |
getTitle(java.util.Locale locale)
|
java.lang.String |
getTitle(java.util.Locale locale,
boolean useDefault)
|
java.lang.String |
getTitle(java.lang.String languageId)
|
java.lang.String |
getTitle(java.lang.String languageId,
boolean useDefault)
|
java.util.Map<java.util.Locale,java.lang.String> |
getTitleMap()
|
long |
getUserId()
|
java.lang.String |
getUserName()
|
java.lang.String |
getUserUuid()
|
java.lang.String |
getUuid()
|
int |
getVotesCount()
|
PollsQuestion |
getWrappedPollsQuestion()
|
int |
hashCode()
|
boolean |
isCachedModel()
|
boolean |
isEscapedModel()
|
boolean |
isExpired()
|
boolean |
isNew()
|
void |
setCachedModel(boolean cachedModel)
|
void |
setCompanyId(long companyId)
|
void |
setCreateDate(java.util.Date createDate)
|
void |
setDescription(java.util.Locale locale,
java.lang.String description)
|
void |
setDescription(java.lang.String description)
|
void |
setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
|
void |
setEscapedModel(boolean escapedModel)
|
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
|
void |
setExpirationDate(java.util.Date expirationDate)
|
void |
setGroupId(long groupId)
|
void |
setLastVoteDate(java.util.Date lastVoteDate)
|
void |
setModifiedDate(java.util.Date modifiedDate)
|
boolean |
setNew(boolean n)
|
void |
setPrimaryKey(long pk)
|
void |
setQuestionId(long questionId)
|
void |
setTitle(java.util.Locale locale,
java.lang.String title)
|
void |
setTitle(java.lang.String title)
|
void |
setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap)
|
void |
setUserId(long userId)
|
void |
setUserName(java.lang.String userName)
|
void |
setUserUuid(java.lang.String userUuid)
|
void |
setUuid(java.lang.String uuid)
|
PollsQuestion |
toEscapedModel()
|
java.lang.String |
toString()
|
java.lang.String |
toXmlString()
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
PollsQuestionWrapper
public PollsQuestionWrapper(PollsQuestion pollsQuestion)
getPrimaryKey
public long getPrimaryKey()
- Specified by:
getPrimaryKey
in interface PollsQuestionModel
setPrimaryKey
public void setPrimaryKey(long pk)
- Specified by:
setPrimaryKey
in interface PollsQuestionModel
getUuid
public java.lang.String getUuid()
- Specified by:
getUuid
in interface PollsQuestionModel
setUuid
public void setUuid(java.lang.String uuid)
- Specified by:
setUuid
in interface PollsQuestionModel
getQuestionId
public long getQuestionId()
- Specified by:
getQuestionId
in interface PollsQuestionModel
setQuestionId
public void setQuestionId(long questionId)
- Specified by:
setQuestionId
in interface PollsQuestionModel
getGroupId
public long getGroupId()
- Specified by:
getGroupId
in interface PollsQuestionModel
setGroupId
public void setGroupId(long groupId)
- Specified by:
setGroupId
in interface PollsQuestionModel
getCompanyId
public long getCompanyId()
- Specified by:
getCompanyId
in interface PollsQuestionModel
setCompanyId
public void setCompanyId(long companyId)
- Specified by:
setCompanyId
in interface PollsQuestionModel
getUserId
public long getUserId()
- Specified by:
getUserId
in interface PollsQuestionModel
setUserId
public void setUserId(long userId)
- Specified by:
setUserId
in interface PollsQuestionModel
getUserUuid
public java.lang.String getUserUuid()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getUserUuid
in interface PollsQuestionModel
- Throws:
com.liferay.portal.kernel.exception.SystemException
setUserUuid
public void setUserUuid(java.lang.String userUuid)
- Specified by:
setUserUuid
in interface PollsQuestionModel
getUserName
public java.lang.String getUserName()
- Specified by:
getUserName
in interface PollsQuestionModel
setUserName
public void setUserName(java.lang.String userName)
- Specified by:
setUserName
in interface PollsQuestionModel
getCreateDate
public java.util.Date getCreateDate()
- Specified by:
getCreateDate
in interface PollsQuestionModel
setCreateDate
public void setCreateDate(java.util.Date createDate)
- Specified by:
setCreateDate
in interface PollsQuestionModel
getModifiedDate
public java.util.Date getModifiedDate()
- Specified by:
getModifiedDate
in interface PollsQuestionModel
setModifiedDate
public void setModifiedDate(java.util.Date modifiedDate)
- Specified by:
setModifiedDate
in interface PollsQuestionModel
getTitle
public java.lang.String getTitle()
- Specified by:
getTitle
in interface PollsQuestionModel
getTitle
public java.lang.String getTitle(java.util.Locale locale)
- Specified by:
getTitle
in interface PollsQuestionModel
getTitle
public java.lang.String getTitle(java.util.Locale locale,
boolean useDefault)
- Specified by:
getTitle
in interface PollsQuestionModel
getTitle
public java.lang.String getTitle(java.lang.String languageId)
- Specified by:
getTitle
in interface PollsQuestionModel
getTitle
public java.lang.String getTitle(java.lang.String languageId,
boolean useDefault)
- Specified by:
getTitle
in interface PollsQuestionModel
getTitleMap
public java.util.Map<java.util.Locale,java.lang.String> getTitleMap()
- Specified by:
getTitleMap
in interface PollsQuestionModel
setTitle
public void setTitle(java.lang.String title)
- Specified by:
setTitle
in interface PollsQuestionModel
setTitle
public void setTitle(java.util.Locale locale,
java.lang.String title)
- Specified by:
setTitle
in interface PollsQuestionModel
setTitleMap
public void setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap)
- Specified by:
setTitleMap
in interface PollsQuestionModel
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interface PollsQuestionModel
getDescription
public java.lang.String getDescription(java.util.Locale locale)
- Specified by:
getDescription
in interface PollsQuestionModel
getDescription
public java.lang.String getDescription(java.util.Locale locale,
boolean useDefault)
- Specified by:
getDescription
in interface PollsQuestionModel
getDescription
public java.lang.String getDescription(java.lang.String languageId)
- Specified by:
getDescription
in interface PollsQuestionModel
getDescription
public java.lang.String getDescription(java.lang.String languageId,
boolean useDefault)
- Specified by:
getDescription
in interface PollsQuestionModel
getDescriptionMap
public java.util.Map<java.util.Locale,java.lang.String> getDescriptionMap()
- Specified by:
getDescriptionMap
in interface PollsQuestionModel
setDescription
public void setDescription(java.lang.String description)
- Specified by:
setDescription
in interface PollsQuestionModel
setDescription
public void setDescription(java.util.Locale locale,
java.lang.String description)
- Specified by:
setDescription
in interface PollsQuestionModel
setDescriptionMap
public void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
- Specified by:
setDescriptionMap
in interface PollsQuestionModel
getExpirationDate
public java.util.Date getExpirationDate()
- Specified by:
getExpirationDate
in interface PollsQuestionModel
setExpirationDate
public void setExpirationDate(java.util.Date expirationDate)
- Specified by:
setExpirationDate
in interface PollsQuestionModel
getLastVoteDate
public java.util.Date getLastVoteDate()
- Specified by:
getLastVoteDate
in interface PollsQuestionModel
setLastVoteDate
public void setLastVoteDate(java.util.Date lastVoteDate)
- Specified by:
setLastVoteDate
in interface PollsQuestionModel
toEscapedModel
public PollsQuestion toEscapedModel()
- Specified by:
toEscapedModel
in interface PollsQuestionModel
isNew
public boolean isNew()
- Specified by:
isNew
in interface BaseModel<PollsQuestion>
- Specified by:
isNew
in interface PollsQuestionModel
setNew
public boolean setNew(boolean n)
- Specified by:
setNew
in interface BaseModel<PollsQuestion>
- Specified by:
setNew
in interface PollsQuestionModel
isCachedModel
public boolean isCachedModel()
- Specified by:
isCachedModel
in interface BaseModel<PollsQuestion>
- Specified by:
isCachedModel
in interface PollsQuestionModel
setCachedModel
public void setCachedModel(boolean cachedModel)
- Specified by:
setCachedModel
in interface BaseModel<PollsQuestion>
- Specified by:
setCachedModel
in interface PollsQuestionModel
isEscapedModel
public boolean isEscapedModel()
- Specified by:
isEscapedModel
in interface BaseModel<PollsQuestion>
- Specified by:
isEscapedModel
in interface PollsQuestionModel
setEscapedModel
public void setEscapedModel(boolean escapedModel)
- Specified by:
setEscapedModel
in interface BaseModel<PollsQuestion>
- Specified by:
setEscapedModel
in interface PollsQuestionModel
getPrimaryKeyObj
public java.io.Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj
in interface BaseModel<PollsQuestion>
- Specified by:
getPrimaryKeyObj
in interface PollsQuestionModel
getExpandoBridge
public ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge
in interface BaseModel<PollsQuestion>
- Specified by:
getExpandoBridge
in interface PollsQuestionModel
setExpandoBridgeAttributes
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
- Specified by:
setExpandoBridgeAttributes
in interface BaseModel<PollsQuestion>
- Specified by:
setExpandoBridgeAttributes
in interface PollsQuestionModel
clone
public java.lang.Object clone()
- Specified by:
clone
in interface BaseModel<PollsQuestion>
- Specified by:
clone
in interface PollsQuestionModel
- Overrides:
clone
in class java.lang.Object
compareTo
public int compareTo(PollsQuestion pollsQuestion)
- Specified by:
compareTo
in interface PollsQuestionModel
- Specified by:
compareTo
in interface java.lang.Comparable<PollsQuestion>
hashCode
public int hashCode()
- Specified by:
hashCode
in interface PollsQuestionModel
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Specified by:
toString
in interface PollsQuestionModel
- Overrides:
toString
in class java.lang.Object
toXmlString
public java.lang.String toXmlString()
- Specified by:
toXmlString
in interface BaseModel<PollsQuestion>
- Specified by:
toXmlString
in interface PollsQuestionModel
getChoices
public java.util.List<PollsChoice> getChoices()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getChoices
in interface PollsQuestion
- Throws:
com.liferay.portal.kernel.exception.SystemException
getVotesCount
public int getVotesCount()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getVotesCount
in interface PollsQuestion
- Throws:
com.liferay.portal.kernel.exception.SystemException
isExpired
public boolean isExpired()
- Specified by:
isExpired
in interface PollsQuestion
getWrappedPollsQuestion
public PollsQuestion getWrappedPollsQuestion()