Liferay 6.1.2-ce-ga3

com.liferay.portal.model.impl
Class MembershipRequestModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<MembershipRequest>
      extended by com.liferay.portal.model.impl.MembershipRequestModelImpl
All Implemented Interfaces:
BaseModel<MembershipRequest>, ClassedModel, MembershipRequestModel, Serializable, Cloneable, Comparable<MembershipRequest>
Direct Known Subclasses:
MembershipRequestBaseImpl

@JSON(strict=true)
public class MembershipRequestModelImpl
extends BaseModelImpl<MembershipRequest>
implements MembershipRequestModel

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

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

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

Field Summary
static boolean COLUMN_BITMASK_ENABLED
           
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long GROUPID_COLUMN_BITMASK
           
static long LOCK_EXPIRATION_TIME
           
static String ORDER_BY_JPQL
           
static String ORDER_BY_SQL
           
static String SESSION_FACTORY
           
static long STATUSID_COLUMN_BITMASK
           
static Object[][] TABLE_COLUMNS
           
static String TABLE_NAME
           
static String TABLE_SQL_CREATE
           
static String TABLE_SQL_DROP
           
static String TX_MANAGER
           
static long USERID_COLUMN_BITMASK
           
 
Constructor Summary
MembershipRequestModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(MembershipRequest membershipRequest)
           
 boolean equals(Object obj)
           
 long getColumnBitmask()
           
 String getComments()
          Returns the comments of this membership request.
 long getCompanyId()
          Returns the company ID of this membership request.
 Date getCreateDate()
          Returns the create date of this membership request.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 long getGroupId()
          Returns the group ID of this membership request.
 long getMembershipRequestId()
          Returns the membership request ID of this membership request.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 long getOriginalGroupId()
           
 int getOriginalStatusId()
           
 long getOriginalUserId()
           
 long getPrimaryKey()
          Returns the primary key of this membership request.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 long getReplierUserId()
          Returns the replier user ID of this membership request.
 String getReplierUserUuid()
          Returns the replier user uuid of this membership request.
 String getReplyComments()
          Returns the reply comments of this membership request.
 Date getReplyDate()
          Returns the reply date of this membership request.
 int getStatusId()
          Returns the status ID of this membership request.
 long getUserId()
          Returns the user ID of this membership request.
 String getUserUuid()
          Returns the user uuid of this membership request.
 int hashCode()
           
 void resetOriginalValues()
          Reset all original fields to current values.
 void setComments(String comments)
          Sets the comments of this membership request.
 void setCompanyId(long companyId)
          Sets the company ID of this membership request.
 void setCreateDate(Date createDate)
          Sets the create date of this membership request.
 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 membership request.
 void setMembershipRequestId(long membershipRequestId)
          Sets the membership request ID of this membership request.
 void setModelAttributes(Map<String,Object> attributes)
           
 void setPrimaryKey(long primaryKey)
          Sets the primary key of this membership request.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setReplierUserId(long replierUserId)
          Sets the replier user ID of this membership request.
 void setReplierUserUuid(String replierUserUuid)
          Sets the replier user uuid of this membership request.
 void setReplyComments(String replyComments)
          Sets the reply comments of this membership request.
 void setReplyDate(Date replyDate)
          Sets the reply date of this membership request.
 void setStatusId(int statusId)
          Sets the status ID of this membership request.
 void setUserId(long userId)
          Sets the user ID of this membership request.
 void setUserUuid(String userUuid)
          Sets the user uuid of this membership request.
 CacheModel<MembershipRequest> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 MembershipRequest toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
static MembershipRequest toModel(MembershipRequestSoap soapModel)
          Converts the soap model instance into a normal model instance.
static List<MembershipRequest> toModels(MembershipRequestSoap[] soapModels)
          Converts the soap model instances into normal model instances.
 String toString()
           
 MembershipRequest toUnescapedModel()
           
 String toXmlString()
          Returns the XML representation of this model instance.
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.model.MembershipRequestModel
isCachedModel, isEscapedModel, isNew, setCachedModel, 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

COLUMN_BITMASK_ENABLED

public static final boolean COLUMN_BITMASK_ENABLED

GROUPID_COLUMN_BITMASK

public static long GROUPID_COLUMN_BITMASK

STATUSID_COLUMN_BITMASK

public static long STATUSID_COLUMN_BITMASK

USERID_COLUMN_BITMASK

public static long USERID_COLUMN_BITMASK

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

MembershipRequestModelImpl

public MembershipRequestModelImpl()
Method Detail

toModel

public static MembershipRequest toModel(MembershipRequestSoap 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<MembershipRequest> toModels(MembershipRequestSoap[] 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: MembershipRequestModel
Returns the primary key of this membership request.

Specified by:
getPrimaryKey in interface MembershipRequestModel
Returns:
the primary key of this membership request

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Description copied from interface: MembershipRequestModel
Sets the primary key of this membership request.

Specified by:
setPrimaryKey in interface MembershipRequestModel
Parameters:
primaryKey - the primary key of this membership request

getPrimaryKeyObj

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

Specified by:
getPrimaryKeyObj in interface BaseModel<MembershipRequest>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface MembershipRequestModel
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<MembershipRequest>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface MembershipRequestModel
Parameters:
primaryKeyObj - the primary key of this model instance

getModelClass

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

getModelClassName

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

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<MembershipRequest>
Overrides:
getModelAttributes in class BaseModelImpl<MembershipRequest>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<MembershipRequest>
Overrides:
setModelAttributes in class BaseModelImpl<MembershipRequest>

getMembershipRequestId

@JSON
public long getMembershipRequestId()
Description copied from interface: MembershipRequestModel
Returns the membership request ID of this membership request.

Specified by:
getMembershipRequestId in interface MembershipRequestModel
Returns:
the membership request ID of this membership request

setMembershipRequestId

public void setMembershipRequestId(long membershipRequestId)
Description copied from interface: MembershipRequestModel
Sets the membership request ID of this membership request.

Specified by:
setMembershipRequestId in interface MembershipRequestModel
Parameters:
membershipRequestId - the membership request ID of this membership request

getGroupId

@JSON
public long getGroupId()
Description copied from interface: MembershipRequestModel
Returns the group ID of this membership request.

Specified by:
getGroupId in interface MembershipRequestModel
Returns:
the group ID of this membership request

setGroupId

public void setGroupId(long groupId)
Description copied from interface: MembershipRequestModel
Sets the group ID of this membership request.

Specified by:
setGroupId in interface MembershipRequestModel
Parameters:
groupId - the group ID of this membership request

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

@JSON
public long getCompanyId()
Description copied from interface: MembershipRequestModel
Returns the company ID of this membership request.

Specified by:
getCompanyId in interface MembershipRequestModel
Returns:
the company ID of this membership request

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: MembershipRequestModel
Sets the company ID of this membership request.

Specified by:
setCompanyId in interface MembershipRequestModel
Parameters:
companyId - the company ID of this membership request

getUserId

@JSON
public long getUserId()
Description copied from interface: MembershipRequestModel
Returns the user ID of this membership request.

Specified by:
getUserId in interface MembershipRequestModel
Returns:
the user ID of this membership request

setUserId

public void setUserId(long userId)
Description copied from interface: MembershipRequestModel
Sets the user ID of this membership request.

Specified by:
setUserId in interface MembershipRequestModel
Parameters:
userId - the user ID of this membership request

getUserUuid

public String getUserUuid()
                   throws SystemException
Description copied from interface: MembershipRequestModel
Returns the user uuid of this membership request.

Specified by:
getUserUuid in interface MembershipRequestModel
Returns:
the user uuid of this membership request
Throws:
SystemException - if a system exception occurred

setUserUuid

public void setUserUuid(String userUuid)
Description copied from interface: MembershipRequestModel
Sets the user uuid of this membership request.

Specified by:
setUserUuid in interface MembershipRequestModel
Parameters:
userUuid - the user uuid of this membership request

getOriginalUserId

public long getOriginalUserId()

getCreateDate

@JSON
public Date getCreateDate()
Description copied from interface: MembershipRequestModel
Returns the create date of this membership request.

Specified by:
getCreateDate in interface MembershipRequestModel
Returns:
the create date of this membership request

setCreateDate

public void setCreateDate(Date createDate)
Description copied from interface: MembershipRequestModel
Sets the create date of this membership request.

Specified by:
setCreateDate in interface MembershipRequestModel
Parameters:
createDate - the create date of this membership request

getComments

@JSON
public String getComments()
Description copied from interface: MembershipRequestModel
Returns the comments of this membership request.

Specified by:
getComments in interface MembershipRequestModel
Returns:
the comments of this membership request

setComments

public void setComments(String comments)
Description copied from interface: MembershipRequestModel
Sets the comments of this membership request.

Specified by:
setComments in interface MembershipRequestModel
Parameters:
comments - the comments of this membership request

getReplyComments

@JSON
public String getReplyComments()
Description copied from interface: MembershipRequestModel
Returns the reply comments of this membership request.

Specified by:
getReplyComments in interface MembershipRequestModel
Returns:
the reply comments of this membership request

setReplyComments

public void setReplyComments(String replyComments)
Description copied from interface: MembershipRequestModel
Sets the reply comments of this membership request.

Specified by:
setReplyComments in interface MembershipRequestModel
Parameters:
replyComments - the reply comments of this membership request

getReplyDate

@JSON
public Date getReplyDate()
Description copied from interface: MembershipRequestModel
Returns the reply date of this membership request.

Specified by:
getReplyDate in interface MembershipRequestModel
Returns:
the reply date of this membership request

setReplyDate

public void setReplyDate(Date replyDate)
Description copied from interface: MembershipRequestModel
Sets the reply date of this membership request.

Specified by:
setReplyDate in interface MembershipRequestModel
Parameters:
replyDate - the reply date of this membership request

getReplierUserId

@JSON
public long getReplierUserId()
Description copied from interface: MembershipRequestModel
Returns the replier user ID of this membership request.

Specified by:
getReplierUserId in interface MembershipRequestModel
Returns:
the replier user ID of this membership request

setReplierUserId

public void setReplierUserId(long replierUserId)
Description copied from interface: MembershipRequestModel
Sets the replier user ID of this membership request.

Specified by:
setReplierUserId in interface MembershipRequestModel
Parameters:
replierUserId - the replier user ID of this membership request

getReplierUserUuid

public String getReplierUserUuid()
                          throws SystemException
Description copied from interface: MembershipRequestModel
Returns the replier user uuid of this membership request.

Specified by:
getReplierUserUuid in interface MembershipRequestModel
Returns:
the replier user uuid of this membership request
Throws:
SystemException - if a system exception occurred

setReplierUserUuid

public void setReplierUserUuid(String replierUserUuid)
Description copied from interface: MembershipRequestModel
Sets the replier user uuid of this membership request.

Specified by:
setReplierUserUuid in interface MembershipRequestModel
Parameters:
replierUserUuid - the replier user uuid of this membership request

getStatusId

@JSON
public int getStatusId()
Description copied from interface: MembershipRequestModel
Returns the status ID of this membership request.

Specified by:
getStatusId in interface MembershipRequestModel
Returns:
the status ID of this membership request

setStatusId

public void setStatusId(int statusId)
Description copied from interface: MembershipRequestModel
Sets the status ID of this membership request.

Specified by:
setStatusId in interface MembershipRequestModel
Parameters:
statusId - the status ID of this membership request

getOriginalStatusId

public int getOriginalStatusId()

getColumnBitmask

public long getColumnBitmask()

getExpandoBridge

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

Specified by:
getExpandoBridge in interface BaseModel<MembershipRequest>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface MembershipRequestModel
Overrides:
getExpandoBridge in class BaseModelImpl<MembershipRequest>
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<MembershipRequest>
Specified by:
setExpandoBridgeAttributes in interface MembershipRequestModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<MembershipRequest>
Parameters:
serviceContext - the service context
See Also:
ServiceContext.getExpandoBridgeAttributes( )

toEscapedModel

public MembershipRequest 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<MembershipRequest>
Specified by:
toEscapedModel in interface MembershipRequestModel
Overrides:
toEscapedModel in class BaseModelImpl<MembershipRequest>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public MembershipRequest toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<MembershipRequest>
Specified by:
toUnescapedModel in interface MembershipRequestModel
Overrides:
toUnescapedModel in class BaseModelImpl<MembershipRequest>

clone

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

Specified by:
clone in interface BaseModel<MembershipRequest>
Specified by:
clone in interface MembershipRequestModel
Specified by:
clone in class BaseModelImpl<MembershipRequest>
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(MembershipRequest membershipRequest)
Specified by:
compareTo in interface MembershipRequestModel
Specified by:
compareTo in interface Comparable<MembershipRequest>

equals

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

hashCode

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

resetOriginalValues

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

Specified by:
resetOriginalValues in interface BaseModel<MembershipRequest>
Overrides:
resetOriginalValues in class BaseModelImpl<MembershipRequest>

toCacheModel

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

Specified by:
toCacheModel in interface BaseModel<MembershipRequest>
Specified by:
toCacheModel in interface MembershipRequestModel
Overrides:
toCacheModel in class BaseModelImpl<MembershipRequest>
Returns:
the cache model object

toString

public String toString()
Specified by:
toString in interface MembershipRequestModel
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<MembershipRequest>
Specified by:
toXmlString in interface MembershipRequestModel
Returns:
the XML representation of this model instance

Liferay 6.1.2-ce-ga3