Liferay 6.0.5

com.liferay.portlet.tasks.model.impl
Class TasksProposalModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<TasksProposal>
      extended by com.liferay.portlet.tasks.model.impl.TasksProposalModelImpl
All Implemented Interfaces:
BaseModel<TasksProposal>, TasksProposalModel, Serializable, Cloneable, Comparable<TasksProposal>
Direct Known Subclasses:
TasksProposalImpl

public class TasksProposalModelImpl
extends BaseModelImpl<TasksProposal>
implements TasksProposalModel

The base model implementation for the TasksProposal service. Represents a row in the "TasksProposal" database table, with each column mapped to a property of this class.

This implementation and its corresponding interface TasksProposalModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in TasksProposalImpl.

Never modify or reference this class directly. All methods that expect a tasks proposal model instance should use the TasksProposal interface instead.

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

Field Summary
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long LOCK_EXPIRATION_TIME
           
static String ORDER_BY_JPQL
           
static String ORDER_BY_SQL
           
static String SESSION_FACTORY
           
static Object[][] TABLE_COLUMNS
           
static String TABLE_NAME
           
static String TABLE_SQL_CREATE
           
static String TABLE_SQL_DROP
           
static String TX_MANAGER
           
 
Constructor Summary
TasksProposalModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(TasksProposal tasksProposal)
           
 boolean equals(Object obj)
           
 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 getOriginalClassNameId()
           
 String getOriginalClassPK()
           
 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.
 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.
 int hashCode()
           
 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 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 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.
static TasksProposal toModel(TasksProposalSoap soapModel)
          Converts the soap model instance into a normal model instance.
static List<TasksProposal> toModels(TasksProposalSoap[] soapModels)
          Converts the soap model instances into normal model instances.
 String toString()
           
 String toXmlString()
          Gets the XML representation of this model instance.
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.tasks.model.TasksProposalModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew
 

Field Detail

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final String TABLE_SQL_DROP
See Also:
Constant Field Values

ORDER_BY_JPQL

public static final String ORDER_BY_JPQL
See Also:
Constant Field Values

ORDER_BY_SQL

public static final String ORDER_BY_SQL
See Also:
Constant Field Values

DATA_SOURCE

public static final String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final String TX_MANAGER
See Also:
Constant Field Values

ENTITY_CACHE_ENABLED

public static final boolean ENTITY_CACHE_ENABLED

FINDER_CACHE_ENABLED

public static final boolean FINDER_CACHE_ENABLED

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

TasksProposalModelImpl

public TasksProposalModelImpl()
Method Detail

toModel

public static TasksProposal toModel(TasksProposalSoap soapModel)
Converts the soap model instance into a normal model instance.

Parameters:
soapModel - the soap model instance to convert
Returns:
the normal model instance

toModels

public static List<TasksProposal> toModels(TasksProposalSoap[] soapModels)
Converts the soap model instances into normal model instances.

Parameters:
soapModels - the soap model instances to convert
Returns:
the normal model instances

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

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

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

getOriginalClassNameId

public long getOriginalClassNameId()

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

getOriginalClassPK

public String getOriginalClassPK()

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

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
Overrides:
getExpandoBridge in class BaseModelImpl<TasksProposal>
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
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<TasksProposal>
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
Specified by:
clone in class BaseModelImpl<TasksProposal>
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>

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

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

Liferay 6.0.5