Liferay 6.0-ee-sp2

com.liferay.portlet.tasks.model
Class TasksReviewWrapper

java.lang.Object
  extended by com.liferay.portlet.tasks.model.TasksReviewWrapper
All Implemented Interfaces:
AuditedModel, BaseModel<TasksReview>, ClassedModel, GroupedModel, PersistedModel, TasksReview, TasksReviewModel, Serializable, Cloneable, Comparable<TasksReview>

public class TasksReviewWrapper
extends Object
implements TasksReview

This class is a wrapper for TasksReview.

See Also:
TasksReview, Serialized Form

Constructor Summary
TasksReviewWrapper(TasksReview tasksReview)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(TasksReview tasksReview)
           
 long getAssignedByUserId()
          Gets the assigned by user ID of this tasks review.
 String getAssignedByUserName()
          Gets the assigned by user name of this tasks review.
 String getAssignedByUserUuid()
          Gets the assigned by user uuid of this tasks review.
 long getCompanyId()
          Gets the company ID of this tasks review.
 boolean getCompleted()
          Gets the completed of this tasks review.
 Date getCreateDate()
          Gets the create date of this tasks review.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 long getGroupId()
          Gets the group ID of this tasks review.
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
          Gets the modified date of this tasks review.
 long getPrimaryKey()
          Gets the primary key of this tasks review.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 long getProposalId()
          Gets the proposal ID of this tasks review.
 boolean getRejected()
          Gets the rejected of this tasks review.
 long getReviewId()
          Gets the review ID of this tasks review.
 int getStage()
          Gets the stage of this tasks review.
 long getUserId()
          Gets the user ID of this tasks review.
 String getUserName()
          Gets the user name of this tasks review.
 String getUserUuid()
          Gets the user uuid of this tasks review.
 TasksReview getWrappedTasksReview()
           
 int hashCode()
           
 boolean isCachedModel()
          Returns true if this model instance was retrieved from the entity cache.
 boolean isCompleted()
          Determines if this tasks review is completed.
 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.
 boolean isRejected()
          Determines if this tasks review is rejected.
 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 setAssignedByUserId(long assignedByUserId)
          Sets the assigned by user ID of this tasks review.
 void setAssignedByUserName(String assignedByUserName)
          Sets the assigned by user name of this tasks review.
 void setAssignedByUserUuid(String assignedByUserUuid)
          Sets the assigned by user uuid of this tasks review.
 void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 void setCompanyId(long companyId)
          Sets the company ID of this tasks review.
 void setCompleted(boolean completed)
          Sets whether this tasks review is completed.
 void setCreateDate(Date createDate)
          Sets the create date of this tasks review.
 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 review.
 void setModifiedDate(Date modifiedDate)
          Sets the modified date of this tasks review.
 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 review
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setProposalId(long proposalId)
          Sets the proposal ID of this tasks review.
 void setRejected(boolean rejected)
          Sets whether this tasks review is rejected.
 void setReviewId(long reviewId)
          Sets the review ID of this tasks review.
 void setStage(int stage)
          Sets the stage of this tasks review.
 void setUserId(long userId)
          Sets the user ID of this tasks review.
 void setUserName(String userName)
          Sets the user name of this tasks review.
 void setUserUuid(String userUuid)
          Sets the user uuid of this tasks review.
 CacheModel<TasksReview> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 TasksReview 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

TasksReviewWrapper

public TasksReviewWrapper(TasksReview tasksReview)
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 review.

Specified by:
getPrimaryKey in interface TasksReviewModel
Returns:
the primary key of this tasks review

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Sets the primary key of this tasks review

Specified by:
setPrimaryKey in interface TasksReviewModel
Parameters:
primaryKey - the primary key of this tasks review

getReviewId

public long getReviewId()
Gets the review ID of this tasks review.

Specified by:
getReviewId in interface TasksReviewModel
Returns:
the review ID of this tasks review

setReviewId

public void setReviewId(long reviewId)
Sets the review ID of this tasks review.

Specified by:
setReviewId in interface TasksReviewModel
Parameters:
reviewId - the review ID of this tasks review

getGroupId

public long getGroupId()
Gets the group ID of this tasks review.

Specified by:
getGroupId in interface GroupedModel
Specified by:
getGroupId in interface TasksReviewModel
Returns:
the group ID of this tasks review

setGroupId

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

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

getCompanyId

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

Specified by:
getCompanyId in interface AuditedModel
Specified by:
getCompanyId in interface TasksReviewModel
Returns:
the company ID of this tasks review

setCompanyId

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

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

getUserId

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

Specified by:
getUserId in interface AuditedModel
Specified by:
getUserId in interface TasksReviewModel
Returns:
the user ID of this tasks review

setUserId

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

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

getUserUuid

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

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

setUserUuid

public void setUserUuid(String userUuid)
Sets the user uuid of this tasks review.

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

getUserName

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

Specified by:
getUserName in interface AuditedModel
Specified by:
getUserName in interface TasksReviewModel
Returns:
the user name of this tasks review

setUserName

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

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

getCreateDate

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

Specified by:
getCreateDate in interface AuditedModel
Specified by:
getCreateDate in interface TasksReviewModel
Returns:
the create date of this tasks review

setCreateDate

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

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

getModifiedDate

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

Specified by:
getModifiedDate in interface AuditedModel
Specified by:
getModifiedDate in interface TasksReviewModel
Returns:
the modified date of this tasks review

setModifiedDate

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

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

getProposalId

public long getProposalId()
Gets the proposal ID of this tasks review.

Specified by:
getProposalId in interface TasksReviewModel
Returns:
the proposal ID of this tasks review

setProposalId

public void setProposalId(long proposalId)
Sets the proposal ID of this tasks review.

Specified by:
setProposalId in interface TasksReviewModel
Parameters:
proposalId - the proposal ID of this tasks review

getAssignedByUserId

public long getAssignedByUserId()
Gets the assigned by user ID of this tasks review.

Specified by:
getAssignedByUserId in interface TasksReviewModel
Returns:
the assigned by user ID of this tasks review

setAssignedByUserId

public void setAssignedByUserId(long assignedByUserId)
Sets the assigned by user ID of this tasks review.

Specified by:
setAssignedByUserId in interface TasksReviewModel
Parameters:
assignedByUserId - the assigned by user ID of this tasks review

getAssignedByUserUuid

public String getAssignedByUserUuid()
                             throws SystemException
Gets the assigned by user uuid of this tasks review.

Specified by:
getAssignedByUserUuid in interface TasksReviewModel
Returns:
the assigned by user uuid of this tasks review
Throws:
SystemException - if a system exception occurred

setAssignedByUserUuid

public void setAssignedByUserUuid(String assignedByUserUuid)
Sets the assigned by user uuid of this tasks review.

Specified by:
setAssignedByUserUuid in interface TasksReviewModel
Parameters:
assignedByUserUuid - the assigned by user uuid of this tasks review

getAssignedByUserName

public String getAssignedByUserName()
Gets the assigned by user name of this tasks review.

Specified by:
getAssignedByUserName in interface TasksReviewModel
Returns:
the assigned by user name of this tasks review

setAssignedByUserName

public void setAssignedByUserName(String assignedByUserName)
Sets the assigned by user name of this tasks review.

Specified by:
setAssignedByUserName in interface TasksReviewModel
Parameters:
assignedByUserName - the assigned by user name of this tasks review

getStage

public int getStage()
Gets the stage of this tasks review.

Specified by:
getStage in interface TasksReviewModel
Returns:
the stage of this tasks review

setStage

public void setStage(int stage)
Sets the stage of this tasks review.

Specified by:
setStage in interface TasksReviewModel
Parameters:
stage - the stage of this tasks review

getCompleted

public boolean getCompleted()
Gets the completed of this tasks review.

Specified by:
getCompleted in interface TasksReviewModel
Returns:
the completed of this tasks review

isCompleted

public boolean isCompleted()
Determines if this tasks review is completed.

Specified by:
isCompleted in interface TasksReviewModel
Returns:
true if this tasks review is completed; false otherwise

setCompleted

public void setCompleted(boolean completed)
Sets whether this tasks review is completed.

Specified by:
setCompleted in interface TasksReviewModel
Parameters:
completed - the completed of this tasks review

getRejected

public boolean getRejected()
Gets the rejected of this tasks review.

Specified by:
getRejected in interface TasksReviewModel
Returns:
the rejected of this tasks review

isRejected

public boolean isRejected()
Determines if this tasks review is rejected.

Specified by:
isRejected in interface TasksReviewModel
Returns:
true if this tasks review is rejected; false otherwise

setRejected

public void setRejected(boolean rejected)
Sets whether this tasks review is rejected.

Specified by:
setRejected in interface TasksReviewModel
Parameters:
rejected - the rejected of this tasks review

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<TasksReview>
Specified by:
isNew in interface TasksReviewModel
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<TasksReview>
Specified by:
setNew in interface TasksReviewModel
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<TasksReview>
Specified by:
isCachedModel in interface TasksReviewModel
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<TasksReview>
Specified by:
setCachedModel in interface TasksReviewModel
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<TasksReview>
Specified by:
isEscapedModel in interface TasksReviewModel
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<TasksReview>
Specified by:
setEscapedModel in interface TasksReviewModel
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<TasksReview>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface TasksReviewModel
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<TasksReview>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface TasksReviewModel
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<TasksReview>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface TasksReviewModel
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<TasksReview>
Specified by:
setExpandoBridgeAttributes in interface TasksReviewModel
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<TasksReview>
Specified by:
clone in interface TasksReviewModel
Overrides:
clone in class Object
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(TasksReview tasksReview)
Specified by:
compareTo in interface TasksReviewModel
Specified by:
compareTo in interface Comparable<TasksReview>

hashCode

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

toCacheModel

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

Specified by:
toCacheModel in interface BaseModel<TasksReview>
Specified by:
toCacheModel in interface TasksReviewModel
Returns:
the cache model object

toEscapedModel

public TasksReview 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<TasksReview>
Specified by:
toEscapedModel in interface TasksReviewModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toString

public String toString()
Specified by:
toString in interface TasksReviewModel
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<TasksReview>
Specified by:
toXmlString in interface TasksReviewModel
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

getWrappedTasksReview

public TasksReview getWrappedTasksReview()

resetOriginalValues

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

Specified by:
resetOriginalValues in interface BaseModel<TasksReview>

Liferay 6.0-ee-sp2