Liferay 6.0-ee-sp2

com.liferay.portlet.tasks.model
Class TasksProposalWrapper

java.lang.Object
  extended by com.liferay.portlet.tasks.model.TasksProposalWrapper
All Implemented Interfaces:
AuditedModel, BaseModel<TasksProposal>, ClassedModel, GroupedModel, PersistedModel, 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

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

TasksProposalWrapper

public TasksProposalWrapper(TasksProposal tasksProposal)
Method Detail

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getPrimaryKey

public long getPrimaryKey()
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 primaryKey)
Sets the primary key of this tasks proposal

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

getProposalId

public long getProposalId()
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)
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()
Gets the group ID of this tasks proposal.

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

setGroupId

public void setGroupId(long groupId)
Sets the group ID of this tasks proposal.

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

getCompanyId

public long getCompanyId()
Gets the company ID of this tasks proposal.

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

setCompanyId

public void setCompanyId(long companyId)
Sets the company ID of this tasks proposal.

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

getUserId

public long getUserId()
Gets the user ID of this tasks proposal.

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

setUserId

public void setUserId(long userId)
Sets the user ID of this tasks proposal.

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

getUserUuid

public String getUserUuid()
                   throws SystemException
Gets the user uuid of this tasks proposal.

Specified by:
getUserUuid in interface AuditedModel
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)
Sets the user uuid of this tasks proposal.

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

getUserName

public String getUserName()
Gets the user name of this tasks proposal.

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

setUserName

public void setUserName(String userName)
Sets the user name of this tasks proposal.

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

getCreateDate

public Date getCreateDate()
Gets the create date of this tasks proposal.

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

setCreateDate

public void setCreateDate(Date createDate)
Sets the create date of this tasks proposal.

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

getModifiedDate

public Date getModifiedDate()
Gets the modified date of this tasks proposal.

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

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Sets the modified date of this tasks proposal.

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

getClassName

public String getClassName()
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()
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)
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()
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)
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()
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)
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()
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)
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()
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)
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()
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)
Sets the due date of this tasks proposal.

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

isNew

public boolean isNew()
Description copied from interface: BaseModel
Returns true 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
Returns true 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
Returns true 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
Returns the primary key of this model instance.

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

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<TasksProposal>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface TasksProposalModel
Parameters:
primaryKeyObj - the primary key of this model instance

getExpandoBridge

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

Specified by:
getExpandoBridge in interface BaseModel<TasksProposal>
Specified by:
getExpandoBridge in interface ClassedModel
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
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

toCacheModel

public CacheModel<TasksProposal> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<TasksProposal>
Specified by:
toCacheModel in interface TasksProposalModel
Returns:
the cache model object

toEscapedModel

public TasksProposal toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<TasksProposal>
Specified by:
toEscapedModel in interface TasksProposalModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toString

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

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Returns 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

persist

public void persist()
             throws SystemException
Description copied from interface: PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
persist in interface PersistedModel
Throws:
SystemException - if a system exception occurred

getStatus

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

getWrappedTasksProposal

public TasksProposal getWrappedTasksProposal()

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<TasksProposal>

Liferay 6.0-ee-sp2