|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.tasks.model.TasksProposalWrapper
public class TasksProposalWrapper
This class is a wrapper for TasksProposal
.
TasksProposal
,
Serialized FormConstructor 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()
Gets the expando bridge for this model instance. |
long |
getGroupId()
Gets the group id of this tasks proposal. |
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()
Gets 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()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
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 |
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 pk)
Sets the primary key of this tasks proposal |
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. |
TasksProposal |
toEscapedModel()
Gets a copy of this tasks proposal as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
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 TasksProposalWrapper(TasksProposal tasksProposal)
Method Detail |
---|
public long getPrimaryKey()
TasksProposalModel
getPrimaryKey
in interface TasksProposalModel
public void setPrimaryKey(long pk)
TasksProposalModel
setPrimaryKey
in interface TasksProposalModel
pk
- the primary key of this tasks proposalpublic long getProposalId()
TasksProposalModel
getProposalId
in interface TasksProposalModel
public void setProposalId(long proposalId)
TasksProposalModel
setProposalId
in interface TasksProposalModel
proposalId
- the proposal id of this tasks proposalpublic long getGroupId()
TasksProposalModel
getGroupId
in interface TasksProposalModel
public void setGroupId(long groupId)
TasksProposalModel
setGroupId
in interface TasksProposalModel
groupId
- the group id of this tasks proposalpublic long getCompanyId()
TasksProposalModel
getCompanyId
in interface TasksProposalModel
public void setCompanyId(long companyId)
TasksProposalModel
setCompanyId
in interface TasksProposalModel
companyId
- the company id of this tasks proposalpublic long getUserId()
TasksProposalModel
getUserId
in interface TasksProposalModel
public void setUserId(long userId)
TasksProposalModel
setUserId
in interface TasksProposalModel
userId
- the user id of this tasks proposalpublic String getUserUuid() throws SystemException
TasksProposalModel
getUserUuid
in interface TasksProposalModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
TasksProposalModel
setUserUuid
in interface TasksProposalModel
userUuid
- the user uuid of this tasks proposalpublic String getUserName()
TasksProposalModel
getUserName
in interface TasksProposalModel
public void setUserName(String userName)
TasksProposalModel
setUserName
in interface TasksProposalModel
userName
- the user name of this tasks proposalpublic Date getCreateDate()
TasksProposalModel
getCreateDate
in interface TasksProposalModel
public void setCreateDate(Date createDate)
TasksProposalModel
setCreateDate
in interface TasksProposalModel
createDate
- the create date of this tasks proposalpublic Date getModifiedDate()
TasksProposalModel
getModifiedDate
in interface TasksProposalModel
public void setModifiedDate(Date modifiedDate)
TasksProposalModel
setModifiedDate
in interface TasksProposalModel
modifiedDate
- the modified date of this tasks proposalpublic String getClassName()
TasksProposalModel
getClassName
in interface TasksProposalModel
public long getClassNameId()
TasksProposalModel
getClassNameId
in interface TasksProposalModel
public void setClassNameId(long classNameId)
TasksProposalModel
setClassNameId
in interface TasksProposalModel
classNameId
- the class name id of this tasks proposalpublic String getClassPK()
TasksProposalModel
getClassPK
in interface TasksProposalModel
public void setClassPK(String classPK)
TasksProposalModel
setClassPK
in interface TasksProposalModel
classPK
- the class p k of this tasks proposalpublic String getName()
TasksProposalModel
getName
in interface TasksProposalModel
public void setName(String name)
TasksProposalModel
setName
in interface TasksProposalModel
name
- the name of this tasks proposalpublic String getDescription()
TasksProposalModel
getDescription
in interface TasksProposalModel
public void setDescription(String description)
TasksProposalModel
setDescription
in interface TasksProposalModel
description
- the description of this tasks proposalpublic Date getPublishDate()
TasksProposalModel
getPublishDate
in interface TasksProposalModel
public void setPublishDate(Date publishDate)
TasksProposalModel
setPublishDate
in interface TasksProposalModel
publishDate
- the publish date of this tasks proposalpublic Date getDueDate()
TasksProposalModel
getDueDate
in interface TasksProposalModel
public void setDueDate(Date dueDate)
TasksProposalModel
setDueDate
in interface TasksProposalModel
dueDate
- the due date of this tasks proposalpublic TasksProposal toEscapedModel()
TasksProposalModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface TasksProposalModel
AutoEscapeBeanHandler
public boolean isNew()
BaseModel
isNew
in interface BaseModel<TasksProposal>
isNew
in interface TasksProposalModel
true
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 TasksProposalModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel
in interface BaseModel<TasksProposal>
isCachedModel
in interface TasksProposalModel
true
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 TasksProposalModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
isEscapedModel
in interface BaseModel<TasksProposal>
isEscapedModel
in interface TasksProposalModel
true
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 TasksProposalModel
escapedModel
- whether this model instance is escapedAutoEscapeBeanHandler
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<TasksProposal>
getPrimaryKeyObj
in interface TasksProposalModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<TasksProposal>
getExpandoBridge
in interface TasksProposalModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<TasksProposal>
setExpandoBridgeAttributes
in interface TasksProposalModel
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<TasksProposal>
clone
in interface TasksProposalModel
clone
in class Object
public int compareTo(TasksProposal tasksProposal)
compareTo
in interface TasksProposalModel
compareTo
in interface Comparable<TasksProposal>
public int hashCode()
hashCode
in interface TasksProposalModel
hashCode
in class Object
public String toString()
toString
in interface TasksProposalModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<TasksProposal>
toXmlString
in interface TasksProposalModel
public String getStatus(Locale locale) throws PortalException, SystemException
getStatus
in interface TasksProposal
PortalException
SystemException
public TasksProposal getWrappedTasksProposal()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |