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:
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.SystemException
- Specified by:
getUserUuid
in interface PollsQuestionModel
- Throws:
com.liferay.portal.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
setTitle
public void setTitle(java.lang.String title)
- Specified by:
setTitle
in interface PollsQuestionModel
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interface PollsQuestionModel
setDescription
public void setDescription(java.lang.String description)
- Specified by:
setDescription
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
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
toEscapedModel
public PollsQuestion toEscapedModel()
- Specified by:
toEscapedModel
in interface BaseModel<PollsQuestion>
- Specified by:
toEscapedModel
in interface PollsQuestionModel
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.SystemException
- Specified by:
getChoices
in interface PollsQuestion
- Throws:
com.liferay.portal.SystemException
getVotesCount
public int getVotesCount()
throws com.liferay.portal.SystemException
- Specified by:
getVotesCount
in interface PollsQuestion
- Throws:
com.liferay.portal.SystemException
isExpired
public boolean isExpired()
- Specified by:
isExpired
in interface PollsQuestion
getWrappedPollsQuestion
public PollsQuestion getWrappedPollsQuestion()