|
Liferay 6.0-ee-sp2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.tasks.model.TasksProposalWrapper
public class TasksProposalWrapper
This class is a wrapper for TasksProposal.
TasksProposal,
Serialized Form| Constructor Summary | |
|---|---|
TasksProposalWrapper(TasksProposal tasksProposal)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(TasksProposal tasksProposal)
|
String |
getClassName()
Gets the class name of the model instance this tasks proposal is polymorphically associated with. |
long |
getClassNameId()
Gets the class name ID of this tasks proposal. |
String |
getClassPK()
Gets the class p k of this tasks proposal. |
long |
getCompanyId()
Gets the company ID of this tasks proposal. |
Date |
getCreateDate()
Gets the create date of this tasks proposal. |
String |
getDescription()
Gets the description of this tasks proposal. |
Date |
getDueDate()
Gets the due date of this tasks proposal. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Gets the group ID of this tasks proposal. |
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Gets the modified date of this tasks proposal. |
String |
getName()
Gets the name of this tasks proposal. |
long |
getPrimaryKey()
Gets the primary key of this tasks proposal. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getProposalId()
Gets the proposal ID of this tasks proposal. |
Date |
getPublishDate()
Gets the publish date of this tasks proposal. |
String |
getStatus(Locale locale)
|
long |
getUserId()
Gets the user ID of this tasks proposal. |
String |
getUserName()
Gets the user name of this tasks proposal. |
String |
getUserUuid()
Gets the user uuid of this tasks proposal. |
TasksProposal |
getWrappedTasksProposal()
|
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setClassNameId(long classNameId)
Sets the class name ID of this tasks proposal. |
void |
setClassPK(String classPK)
Sets the class p k of this tasks proposal. |
void |
setCompanyId(long companyId)
Sets the company ID of this tasks proposal. |
void |
setCreateDate(Date createDate)
Sets the create date of this tasks proposal. |
void |
setDescription(String description)
Sets the description of this tasks proposal. |
void |
setDueDate(Date dueDate)
Sets the due date of this tasks proposal. |
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setGroupId(long groupId)
Sets the group ID of this tasks proposal. |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this tasks proposal. |
void |
setName(String name)
Sets the name of this tasks proposal. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this tasks proposal |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setProposalId(long proposalId)
Sets the proposal ID of this tasks proposal. |
void |
setPublishDate(Date publishDate)
Sets the publish date of this tasks proposal. |
void |
setUserId(long userId)
Sets the user ID of this tasks proposal. |
void |
setUserName(String userName)
Sets the user name of this tasks proposal. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this tasks proposal. |
CacheModel<TasksProposal> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
TasksProposal |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
String |
toXmlString()
Returns 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 TasksProposalWrapper(TasksProposal tasksProposal)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic long getPrimaryKey()
getPrimaryKey in interface TasksProposalModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface TasksProposalModelprimaryKey - the primary key of this tasks proposalpublic long getProposalId()
getProposalId in interface TasksProposalModelpublic void setProposalId(long proposalId)
setProposalId in interface TasksProposalModelproposalId - the proposal ID of this tasks proposalpublic long getGroupId()
getGroupId in interface GroupedModelgetGroupId in interface TasksProposalModelpublic void setGroupId(long groupId)
setGroupId in interface GroupedModelsetGroupId in interface TasksProposalModelgroupId - the group ID of this tasks proposalpublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface TasksProposalModelpublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface TasksProposalModelcompanyId - the company ID of this tasks proposalpublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface TasksProposalModelpublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface TasksProposalModeluserId - the user ID of this tasks proposal
public String getUserUuid()
throws SystemException
getUserUuid in interface AuditedModelgetUserUuid in interface TasksProposalModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface TasksProposalModeluserUuid - the user uuid of this tasks proposalpublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface TasksProposalModelpublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface TasksProposalModeluserName - the user name of this tasks proposalpublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface TasksProposalModelpublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface TasksProposalModelcreateDate - the create date of this tasks proposalpublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface TasksProposalModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface TasksProposalModelmodifiedDate - the modified date of this tasks proposalpublic String getClassName()
getClassName in interface TasksProposalModelpublic long getClassNameId()
getClassNameId in interface TasksProposalModelpublic void setClassNameId(long classNameId)
setClassNameId in interface TasksProposalModelclassNameId - the class name ID of this tasks proposalpublic String getClassPK()
getClassPK in interface TasksProposalModelpublic void setClassPK(String classPK)
setClassPK in interface TasksProposalModelclassPK - the class p k of this tasks proposalpublic String getName()
getName in interface TasksProposalModelpublic void setName(String name)
setName in interface TasksProposalModelname - the name of this tasks proposalpublic String getDescription()
getDescription in interface TasksProposalModelpublic void setDescription(String description)
setDescription in interface TasksProposalModeldescription - the description of this tasks proposalpublic Date getPublishDate()
getPublishDate in interface TasksProposalModelpublic void setPublishDate(Date publishDate)
setPublishDate in interface TasksProposalModelpublishDate - the publish date of this tasks proposalpublic Date getDueDate()
getDueDate in interface TasksProposalModelpublic void setDueDate(Date dueDate)
setDueDate in interface TasksProposalModeldueDate - the due date of this tasks proposalpublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<TasksProposal>isNew in interface TasksProposalModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<TasksProposal>setNew in interface TasksProposalModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<TasksProposal>isCachedModel in interface TasksProposalModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<TasksProposal>setCachedModel in interface TasksProposalModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<TasksProposal>isEscapedModel in interface TasksProposalModeltrue if this model instance is escaped;
false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel method. For example,
UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<TasksProposal>setEscapedModel in interface TasksProposalModelescapedModel - whether this model instance is escapedAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<TasksProposal>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface TasksProposalModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<TasksProposal>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface TasksProposalModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<TasksProposal>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface TasksProposalModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<TasksProposal>setExpandoBridgeAttributes in interface TasksProposalModelserviceContext - the service contextServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<TasksProposal>clone in interface TasksProposalModelclone in class Objectpublic int compareTo(TasksProposal tasksProposal)
compareTo in interface TasksProposalModelcompareTo in interface Comparable<TasksProposal>public int hashCode()
hashCode in interface TasksProposalModelhashCode in class Objectpublic CacheModel<TasksProposal> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<TasksProposal>toCacheModel in interface TasksProposalModelpublic TasksProposal toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<TasksProposal>toEscapedModel in interface TasksProposalModelAutoEscapeBeanHandlerpublic String toString()
toString in interface TasksProposalModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<TasksProposal>toXmlString in interface TasksProposalModel
public void persist()
throws SystemException
PersistedModel
persist in interface PersistedModelSystemException - if a system exception occurred
public String getStatus(Locale locale)
throws PortalException,
SystemException
getStatus in interface TasksProposalPortalException
SystemExceptionpublic TasksProposal getWrappedTasksProposal()
public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<TasksProposal>
|
Liferay 6.0-ee-sp2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||