Liferay 6.0.5

com.liferay.portlet.tasks.model
Class TasksProposalWrapper

java.lang.Object
  extended by com.liferay.portlet.tasks.model.TasksProposalWrapper
All Implemented Interfaces:
BaseModel<TasksProposal>, TasksProposal, TasksProposalModel, Serializable, Cloneable, Comparable<TasksProposal>

public class TasksProposalWrapper
extends Object
implements TasksProposal

This class is a wrapper for TasksProposal.

See Also:
TasksProposal, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

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()
          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

TasksProposalWrapper

public TasksProposalWrapper(TasksProposal tasksProposal)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: TasksProposalModel
Gets the primary key of this tasks proposal.

Specified by:
getPrimaryKey in interface TasksProposalModel
Returns:
the primary key of this tasks proposal

setPrimaryKey

public void setPrimaryKey(long pk)
Description copied from interface: TasksProposalModel
Sets the primary key of this tasks proposal

Specified by:
setPrimaryKey in interface TasksProposalModel
Parameters:
pk - the primary key of this tasks proposal

getProposalId

public long getProposalId()
Description copied from interface: TasksProposalModel
Gets the proposal id of this tasks proposal.

Specified by:
getProposalId in interface TasksProposalModel
Returns:
the proposal id of this tasks proposal

setProposalId

public void setProposalId(long proposalId)
Description copied from interface: TasksProposalModel
Sets the proposal id of this tasks proposal.

Specified by:
setProposalId in interface TasksProposalModel
Parameters:
proposalId - the proposal id of this tasks proposal

getGroupId

public long getGroupId()
Description copied from interface: TasksProposalModel
Gets the group id of this tasks proposal.

Specified by:
getGroupId in interface TasksProposalModel
Returns:
the group id of this tasks proposal

setGroupId

public void setGroupId(long groupId)
Description copied from interface: TasksProposalModel
Sets the group id of this tasks proposal.

Specified by:
setGroupId in interface TasksProposalModel
Parameters:
groupId - the group id of this tasks proposal

getCompanyId

public long getCompanyId()
Description copied from interface: TasksProposalModel
Gets the company id of this tasks proposal.

Specified by:
getCompanyId in interface TasksProposalModel
Returns:
the company id of this tasks proposal

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: TasksProposalModel
Sets the company id of this tasks proposal.

Specified by:
setCompanyId in interface TasksProposalModel
Parameters:
companyId - the company id of this tasks proposal

getUserId

public long getUserId()
Description copied from interface: TasksProposalModel
Gets the user id of this tasks proposal.

Specified by:
getUserId in interface TasksProposalModel
Returns:
the user id of this tasks proposal

setUserId

public void setUserId(long userId)
Description copied from interface: TasksProposalModel
Sets the user id of this tasks proposal.

Specified by:
setUserId in interface TasksProposalModel
Parameters:
userId - the user id of this tasks proposal

getUserUuid

public String getUserUuid()
                   throws SystemException
Description copied from interface: TasksProposalModel
Gets the user uuid of this tasks proposal.

Specified by:
getUserUuid in interface TasksProposalModel
Returns:
the user uuid of this tasks proposal
Throws:
SystemException - if a system exception occurred

setUserUuid

public void setUserUuid(String userUuid)
Description copied from interface: TasksProposalModel
Sets the user uuid of this tasks proposal.

Specified by:
setUserUuid in interface TasksProposalModel
Parameters:
userUuid - the user uuid of this tasks proposal

getUserName

public String getUserName()
Description copied from interface: TasksProposalModel
Gets the user name of this tasks proposal.

Specified by:
getUserName in interface TasksProposalModel
Returns:
the user name of this tasks proposal

setUserName

public void setUserName(String userName)
Description copied from interface: TasksProposalModel
Sets the user name of this tasks proposal.

Specified by:
setUserName in interface TasksProposalModel
Parameters:
userName - the user name of this tasks proposal

getCreateDate

public Date getCreateDate()
Description copied from interface: TasksProposalModel
Gets the create date of this tasks proposal.

Specified by:
getCreateDate in interface TasksProposalModel
Returns:
the create date of this tasks proposal

setCreateDate

public void setCreateDate(Date createDate)
Description copied from interface: TasksProposalModel
Sets the create date of this tasks proposal.

Specified by:
setCreateDate in interface TasksProposalModel
Parameters:
createDate - the create date of this tasks proposal

getModifiedDate

public Date getModifiedDate()
Description copied from interface: TasksProposalModel
Gets the modified date of this tasks proposal.

Specified by:
getModifiedDate in interface TasksProposalModel
Returns:
the modified date of this tasks proposal

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Description copied from interface: TasksProposalModel
Sets the modified date of this tasks proposal.

Specified by:
setModifiedDate in interface TasksProposalModel
Parameters:
modifiedDate - the modified date of this tasks proposal

getClassName

public String getClassName()
Description copied from interface: TasksProposalModel
Gets the class name of the model instance this tasks proposal is polymorphically associated with.

Specified by:
getClassName in interface TasksProposalModel
Returns:
the class name of the model instance this tasks proposal is polymorphically associated with

getClassNameId

public long getClassNameId()
Description copied from interface: TasksProposalModel
Gets the class name id of this tasks proposal.

Specified by:
getClassNameId in interface TasksProposalModel
Returns:
the class name id of this tasks proposal

setClassNameId

public void setClassNameId(long classNameId)
Description copied from interface: TasksProposalModel
Sets the class name id of this tasks proposal.

Specified by:
setClassNameId in interface TasksProposalModel
Parameters:
classNameId - the class name id of this tasks proposal

getClassPK

public String getClassPK()
Description copied from interface: TasksProposalModel
Gets the class p k of this tasks proposal.

Specified by:
getClassPK in interface TasksProposalModel
Returns:
the class p k of this tasks proposal

setClassPK

public void setClassPK(String classPK)
Description copied from interface: TasksProposalModel
Sets the class p k of this tasks proposal.

Specified by:
setClassPK in interface TasksProposalModel
Parameters:
classPK - the class p k of this tasks proposal

getName

public String getName()
Description copied from interface: TasksProposalModel
Gets the name of this tasks proposal.

Specified by:
getName in interface TasksProposalModel
Returns:
the name of this tasks proposal

setName

public void setName(String name)
Description copied from interface: TasksProposalModel
Sets the name of this tasks proposal.

Specified by:
setName in interface TasksProposalModel
Parameters:
name - the name of this tasks proposal

getDescription

public String getDescription()
Description copied from interface: TasksProposalModel
Gets the description of this tasks proposal.

Specified by:
getDescription in interface TasksProposalModel
Returns:
the description of this tasks proposal

setDescription

public void setDescription(String description)
Description copied from interface: TasksProposalModel
Sets the description of this tasks proposal.

Specified by:
setDescription in interface TasksProposalModel
Parameters:
description - the description of this tasks proposal

getPublishDate

public Date getPublishDate()
Description copied from interface: TasksProposalModel
Gets the publish date of this tasks proposal.

Specified by:
getPublishDate in interface TasksProposalModel
Returns:
the publish date of this tasks proposal

setPublishDate

public void setPublishDate(Date publishDate)
Description copied from interface: TasksProposalModel
Sets the publish date of this tasks proposal.

Specified by:
setPublishDate in interface TasksProposalModel
Parameters:
publishDate - the publish date of this tasks proposal

getDueDate

public Date getDueDate()
Description copied from interface: TasksProposalModel
Gets the due date of this tasks proposal.

Specified by:
getDueDate in interface TasksProposalModel
Returns:
the due date of this tasks proposal

setDueDate

public void setDueDate(Date dueDate)
Description copied from interface: TasksProposalModel
Sets the due date of this tasks proposal.

Specified by:
setDueDate in interface TasksProposalModel
Parameters:
dueDate - the due date of this tasks proposal

toEscapedModel

public TasksProposal toEscapedModel()
Description copied from interface: TasksProposalModel
Gets a copy of this tasks proposal as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface TasksProposalModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

isNew

public boolean isNew()
Description copied from interface: BaseModel
Determines if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<TasksProposal>
Specified by:
isNew in interface TasksProposalModel
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

public void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<TasksProposal>
Specified by:
setNew in interface TasksProposalModel
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

public boolean isCachedModel()
Description copied from interface: BaseModel
Determines if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<TasksProposal>
Specified by:
isCachedModel in interface TasksProposalModel
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

public void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<TasksProposal>
Specified by:
setCachedModel in interface TasksProposalModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

public boolean isEscapedModel()
Description copied from interface: BaseModel
Determines if this model instance is escaped.

Specified by:
isEscapedModel in interface BaseModel<TasksProposal>
Specified by:
isEscapedModel in interface TasksProposalModel
Returns:
true if this model instance is escaped; false otherwise
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Description copied from interface: BaseModel
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe.

A model instance can be made escaped by wrapping it with an HTML auto escape handler using its toEscapedModel method. For example, UserModel.toEscapedModel().

Specified by:
setEscapedModel in interface BaseModel<TasksProposal>
Specified by:
setEscapedModel in interface TasksProposalModel
Parameters:
escapedModel - whether this model instance is escaped
See Also:
AutoEscapeBeanHandler

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Gets the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<TasksProposal>
Specified by:
getPrimaryKeyObj in interface TasksProposalModel
Returns:
the primary key of this model instance

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Gets the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<TasksProposal>
Specified by:
getExpandoBridge in interface TasksProposalModel
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<TasksProposal>
Specified by:
setExpandoBridgeAttributes in interface TasksProposalModel
Parameters:
serviceContext - the service context to retrieve the expando bridge attributes from
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<TasksProposal>
Specified by:
clone in interface TasksProposalModel
Overrides:
clone in class Object
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(TasksProposal tasksProposal)
Specified by:
compareTo in interface TasksProposalModel
Specified by:
compareTo in interface Comparable<TasksProposal>

hashCode

public int hashCode()
Specified by:
hashCode in interface TasksProposalModel
Overrides:
hashCode in class Object

toString

public String toString()
Specified by:
toString in interface TasksProposalModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Gets the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<TasksProposal>
Specified by:
toXmlString in interface TasksProposalModel
Returns:
the XML representation of this model instance

getStatus

public String getStatus(Locale locale)
                 throws PortalException,
                        SystemException
Specified by:
getStatus in interface TasksProposal
Throws:
PortalException
SystemException

getWrappedTasksProposal

public TasksProposal getWrappedTasksProposal()

Liferay 6.0.5