Class SubscriptionWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<Subscription>
com.liferay.subscription.model.SubscriptionWrapper
All Implemented Interfaces:
com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<Subscription>, com.liferay.portal.kernel.model.change.tracking.CTModel<Subscription>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.ModelWrapper<Subscription>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.TypedModel, Subscription, SubscriptionModel, Serializable, Cloneable, Comparable<Subscription>

public class SubscriptionWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<Subscription> implements com.liferay.portal.kernel.model.ModelWrapper<Subscription>, Subscription

This class is a wrapper for Subscription.

See Also:
Generated:
  • Constructor Details

    • SubscriptionWrapper

      public SubscriptionWrapper(Subscription subscription)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<Subscription>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<Subscription>
    • cloneWithOriginalValues

      public Subscription cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<Subscription>
      Specified by:
      cloneWithOriginalValues in interface SubscriptionModel
    • getClassName

      public String getClassName()
      Returns the fully qualified class name of this subscription.
      Specified by:
      getClassName in interface SubscriptionModel
      Specified by:
      getClassName in interface com.liferay.portal.kernel.model.TypedModel
      Returns:
      the fully qualified class name of this subscription
    • getClassNameId

      public long getClassNameId()
      Returns the class name ID of this subscription.
      Specified by:
      getClassNameId in interface SubscriptionModel
      Specified by:
      getClassNameId in interface com.liferay.portal.kernel.model.TypedModel
      Returns:
      the class name ID of this subscription
    • getClassPK

      public long getClassPK()
      Returns the class pk of this subscription.
      Specified by:
      getClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Specified by:
      getClassPK in interface SubscriptionModel
      Returns:
      the class pk of this subscription
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this subscription.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      getCompanyId in interface SubscriptionModel
      Returns:
      the company ID of this subscription
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this subscription.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface SubscriptionModel
      Returns:
      the create date of this subscription
    • getCtCollectionId

      public long getCtCollectionId()
      Returns the ct collection ID of this subscription.
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<Subscription>
      Specified by:
      getCtCollectionId in interface SubscriptionModel
      Returns:
      the ct collection ID of this subscription
    • getFrequency

      public String getFrequency()
      Returns the frequency of this subscription.
      Specified by:
      getFrequency in interface SubscriptionModel
      Returns:
      the frequency of this subscription
    • getGroupId

      public long getGroupId()
      Returns the group ID of this subscription.
      Specified by:
      getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Specified by:
      getGroupId in interface SubscriptionModel
      Returns:
      the group ID of this subscription
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this subscription.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface SubscriptionModel
      Returns:
      the modified date of this subscription
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this subscription.
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Specified by:
      getMvccVersion in interface SubscriptionModel
      Returns:
      the mvcc version of this subscription
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this subscription.
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<Subscription>
      Specified by:
      getPrimaryKey in interface SubscriptionModel
      Returns:
      the primary key of this subscription
    • getSubscriptionId

      public long getSubscriptionId()
      Returns the subscription ID of this subscription.
      Specified by:
      getSubscriptionId in interface SubscriptionModel
      Returns:
      the subscription ID of this subscription
    • getUserId

      public long getUserId()
      Returns the user ID of this subscription.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserId in interface SubscriptionModel
      Returns:
      the user ID of this subscription
    • getUserName

      public String getUserName()
      Returns the user name of this subscription.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserName in interface SubscriptionModel
      Returns:
      the user name of this subscription
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this subscription.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserUuid in interface SubscriptionModel
      Returns:
      the user uuid of this subscription
    • persist

      public void persist()
      Specified by:
      persist in interface com.liferay.portal.kernel.model.PersistedModel
    • setClassName

      public void setClassName(String className)
      Specified by:
      setClassName in interface SubscriptionModel
    • setClassNameId

      public void setClassNameId(long classNameId)
      Sets the class name ID of this subscription.
      Specified by:
      setClassNameId in interface SubscriptionModel
      Specified by:
      setClassNameId in interface com.liferay.portal.kernel.model.TypedModel
      Parameters:
      classNameId - the class name ID of this subscription
    • setClassPK

      public void setClassPK(long classPK)
      Sets the class pk of this subscription.
      Specified by:
      setClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Specified by:
      setClassPK in interface SubscriptionModel
      Parameters:
      classPK - the class pk of this subscription
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this subscription.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      setCompanyId in interface SubscriptionModel
      Parameters:
      companyId - the company ID of this subscription
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this subscription.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface SubscriptionModel
      Parameters:
      createDate - the create date of this subscription
    • setCtCollectionId

      public void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this subscription.
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<Subscription>
      Specified by:
      setCtCollectionId in interface SubscriptionModel
      Parameters:
      ctCollectionId - the ct collection ID of this subscription
    • setFrequency

      public void setFrequency(String frequency)
      Sets the frequency of this subscription.
      Specified by:
      setFrequency in interface SubscriptionModel
      Parameters:
      frequency - the frequency of this subscription
    • setGroupId

      public void setGroupId(long groupId)
      Sets the group ID of this subscription.
      Specified by:
      setGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Specified by:
      setGroupId in interface SubscriptionModel
      Parameters:
      groupId - the group ID of this subscription
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this subscription.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface SubscriptionModel
      Parameters:
      modifiedDate - the modified date of this subscription
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this subscription.
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Specified by:
      setMvccVersion in interface SubscriptionModel
      Parameters:
      mvccVersion - the mvcc version of this subscription
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this subscription.
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<Subscription>
      Specified by:
      setPrimaryKey in interface SubscriptionModel
      Parameters:
      primaryKey - the primary key of this subscription
    • setSubscriptionId

      public void setSubscriptionId(long subscriptionId)
      Sets the subscription ID of this subscription.
      Specified by:
      setSubscriptionId in interface SubscriptionModel
      Parameters:
      subscriptionId - the subscription ID of this subscription
    • setUserId

      public void setUserId(long userId)
      Sets the user ID of this subscription.
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserId in interface SubscriptionModel
      Parameters:
      userId - the user ID of this subscription
    • setUserName

      public void setUserName(String userName)
      Sets the user name of this subscription.
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserName in interface SubscriptionModel
      Parameters:
      userName - the user name of this subscription
    • setUserUuid

      public void setUserUuid(String userUuid)
      Sets the user uuid of this subscription.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserUuid in interface SubscriptionModel
      Parameters:
      userUuid - the user uuid of this subscription
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface SubscriptionModel
    • getAttributeGetterFunctions

      public Map<String,Function<Subscription,Object>> getAttributeGetterFunctions()
      Specified by:
      getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<Subscription>
    • getAttributeSetterBiConsumers

      public Map<String,BiConsumer<Subscription,Object>> getAttributeSetterBiConsumers()
      Specified by:
      getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<Subscription>
    • wrap

      protected SubscriptionWrapper wrap(Subscription subscription)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<Subscription>