Class MembershipRequestWrapper

Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<MembershipRequest>
com.liferay.portal.kernel.model.MembershipRequestWrapper
All Implemented Interfaces:
BaseModel<MembershipRequest>, ClassedModel, MembershipRequest, MembershipRequestModel, ModelWrapper<MembershipRequest>, MVCCModel, PersistedModel, ShardedModel, Serializable, Cloneable, Comparable<MembershipRequest>

public class MembershipRequestWrapper extends BaseModelWrapper<MembershipRequest> implements MembershipRequest, ModelWrapper<MembershipRequest>

This class is a wrapper for MembershipRequest.

Author:
Brian Wing Shun Chan
See Also:
{$generated.description}
  • Constructor Details

    • MembershipRequestWrapper

      public MembershipRequestWrapper(MembershipRequest membershipRequest)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface BaseModel<MembershipRequest>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface BaseModel<MembershipRequest>
    • cloneWithOriginalValues

      public MembershipRequest cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface BaseModel<MembershipRequest>
      Specified by:
      cloneWithOriginalValues in interface MembershipRequestModel
    • getComments

      public String getComments()
      Returns the comments of this membership request.
      Specified by:
      getComments in interface MembershipRequestModel
      Returns:
      the comments of this membership request
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this membership request.
      Specified by:
      getCompanyId in interface MembershipRequestModel
      Specified by:
      getCompanyId in interface ShardedModel
      Returns:
      the company ID of this membership request
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this membership request.
      Specified by:
      getCreateDate in interface MembershipRequestModel
      Returns:
      the create date of this membership request
    • getGroupId

      public long getGroupId()
      Returns the group ID of this membership request.
      Specified by:
      getGroupId in interface MembershipRequestModel
      Returns:
      the group ID of this membership request
    • getMembershipRequestId

      public long getMembershipRequestId()
      Returns the membership request ID of this membership request.
      Specified by:
      getMembershipRequestId in interface MembershipRequestModel
      Returns:
      the membership request ID of this membership request
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this membership request.
      Specified by:
      getMvccVersion in interface MembershipRequestModel
      Specified by:
      getMvccVersion in interface MVCCModel
      Returns:
      the mvcc version of this membership request
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this membership request.
      Specified by:
      getPrimaryKey in interface MembershipRequestModel
      Returns:
      the primary key of this membership request
    • getReplierUserId

      public long getReplierUserId()
      Returns the replier user ID of this membership request.
      Specified by:
      getReplierUserId in interface MembershipRequestModel
      Returns:
      the replier user ID of this membership request
    • getReplierUserUuid

      public String getReplierUserUuid()
      Returns the replier user uuid of this membership request.
      Specified by:
      getReplierUserUuid in interface MembershipRequestModel
      Returns:
      the replier user uuid of this membership request
    • getReplyComments

      public String getReplyComments()
      Returns the reply comments of this membership request.
      Specified by:
      getReplyComments in interface MembershipRequestModel
      Returns:
      the reply comments of this membership request
    • getReplyDate

      public Date getReplyDate()
      Returns the reply date of this membership request.
      Specified by:
      getReplyDate in interface MembershipRequestModel
      Returns:
      the reply date of this membership request
    • getStatusId

      public long getStatusId()
      Returns the status ID of this membership request.
      Specified by:
      getStatusId in interface MembershipRequestModel
      Returns:
      the status ID of this membership request
    • getUserId

      public long getUserId()
      Returns the user ID of this membership request.
      Specified by:
      getUserId in interface MembershipRequestModel
      Returns:
      the user ID of this membership request
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this membership request.
      Specified by:
      getUserUuid in interface MembershipRequestModel
      Returns:
      the user uuid of this membership request
    • persist

      public void persist()
      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
    • setComments

      public void setComments(String comments)
      Sets the comments of this membership request.
      Specified by:
      setComments in interface MembershipRequestModel
      Parameters:
      comments - the comments of this membership request
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this membership request.
      Specified by:
      setCompanyId in interface MembershipRequestModel
      Specified by:
      setCompanyId in interface ShardedModel
      Parameters:
      companyId - the company ID of this membership request
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this membership request.
      Specified by:
      setCreateDate in interface MembershipRequestModel
      Parameters:
      createDate - the create date of this membership request
    • setGroupId

      public void setGroupId(long groupId)
      Sets the group ID of this membership request.
      Specified by:
      setGroupId in interface MembershipRequestModel
      Parameters:
      groupId - the group ID of this membership request
    • setMembershipRequestId

      public void setMembershipRequestId(long membershipRequestId)
      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
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this membership request.
      Specified by:
      setMvccVersion in interface MembershipRequestModel
      Specified by:
      setMvccVersion in interface MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this membership request
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this membership request.
      Specified by:
      setPrimaryKey in interface MembershipRequestModel
      Parameters:
      primaryKey - the primary key of this membership request
    • setReplierUserId

      public void setReplierUserId(long replierUserId)
      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
    • setReplierUserUuid

      public void setReplierUserUuid(String replierUserUuid)
      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
    • setReplyComments

      public void setReplyComments(String replyComments)
      Sets the reply comments of this membership request.
      Specified by:
      setReplyComments in interface MembershipRequestModel
      Parameters:
      replyComments - the reply comments of this membership request
    • setReplyDate

      public void setReplyDate(Date replyDate)
      Sets the reply date of this membership request.
      Specified by:
      setReplyDate in interface MembershipRequestModel
      Parameters:
      replyDate - the reply date of this membership request
    • setStatusId

      public void setStatusId(long statusId)
      Sets the status ID of this membership request.
      Specified by:
      setStatusId in interface MembershipRequestModel
      Parameters:
      statusId - the status ID of this membership request
    • setUserId

      public void setUserId(long userId)
      Sets the user ID of this membership request.
      Specified by:
      setUserId in interface MembershipRequestModel
      Parameters:
      userId - the user ID of this membership request
    • setUserUuid

      public void setUserUuid(String userUuid)
      Sets the user uuid of this membership request.
      Specified by:
      setUserUuid in interface MembershipRequestModel
      Parameters:
      userUuid - the user uuid of this membership request
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface MembershipRequestModel
    • wrap

      protected MembershipRequestWrapper wrap(MembershipRequest membershipRequest)
      Specified by:
      wrap in class BaseModelWrapper<MembershipRequest>