Class CTCollectionWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CTCollection>
com.liferay.change.tracking.model.CTCollectionWrapper
All Implemented Interfaces:
CTCollection, CTCollectionModel, com.liferay.portal.kernel.model.BaseModel<CTCollection>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.ModelWrapper<CTCollection>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedModel, Serializable, Cloneable, Comparable<CTCollection>

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

This class is a wrapper for CTCollection.

See Also:
Generated:
  • Field Summary

    Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper

    model

    Fields inherited from interface com.liferay.change.tracking.model.CTCollection

    CT_COLLECTION_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    long
    Returns the company ID of this ct collection.
    Returns the create date of this ct collection.
    long
    Returns the ct collection ID of this ct collection.
    long
    Returns the ct remote ID of this ct collection.
    Returns the description of this ct collection.
    Returns the external reference code of this ct collection.
     
    Returns the modified date of this ct collection.
    long
    Returns the mvcc version of this ct collection.
    Returns the name of this ct collection.
    long
    Returns the on demand user ID of this ct collection.
    Returns the on demand user uuid of this ct collection.
    long
    Returns the primary key of this ct collection.
    long
    Returns the schema version ID of this ct collection.
    int
     
     
    boolean
    Returns the shareable of this ct collection.
    com.liferay.exportimport.kernel.lar.StagedModelType
     
    int
    Returns the status of this ct collection.
    long
    Returns the status by user ID of this ct collection.
    Returns the status by user uuid of this ct collection.
    Returns the status date of this ct collection.
    long
    Returns the user ID of this ct collection.
     
    Returns the user uuid of this ct collection.
    Returns the uuid of this ct collection.
    boolean
     
    boolean
     
    boolean
    Returns true if this ct collection is shareable.
    void
     
    void
    setCompanyId(long companyId)
    Sets the company ID of this ct collection.
    void
    setCreateDate(Date createDate)
    Sets the create date of this ct collection.
    void
    setCtCollectionId(long ctCollectionId)
    Sets the ct collection ID of this ct collection.
    void
    setCtRemoteId(long ctRemoteId)
    Sets the ct remote ID of this ct collection.
    void
    setDescription(String description)
    Sets the description of this ct collection.
    void
    setExternalReferenceCode(String externalReferenceCode)
    Sets the external reference code of this ct collection.
    void
     
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this ct collection.
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this ct collection.
    void
    Sets the name of this ct collection.
    void
    setOnDemandUserId(long onDemandUserId)
    Sets the on demand user ID of this ct collection.
    void
    setOnDemandUserUuid(String onDemandUserUuid)
    Sets the on demand user uuid of this ct collection.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this ct collection.
    void
    setSchemaVersionId(long schemaVersionId)
    Sets the schema version ID of this ct collection.
    void
    setShareable(boolean shareable)
    Sets whether this ct collection is shareable.
    void
    setStatus(int status)
    Sets the status of this ct collection.
    void
    setStatusByUserId(long statusByUserId)
    Sets the status by user ID of this ct collection.
    void
    setStatusByUserUuid(String statusByUserUuid)
    Sets the status by user uuid of this ct collection.
    void
    setStatusDate(Date statusDate)
    Sets the status date of this ct collection.
    void
    setUserId(long userId)
    Sets the user ID of this ct collection.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this ct collection.
    void
    Sets the uuid of this ct collection.
     
    wrap(CTCollection ctCollection)
     

    Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper

    clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.liferay.portal.kernel.model.BaseModel

    clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel

    Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel

    getModelClass, getModelClassName

    Methods inherited from interface java.lang.Comparable

    compareTo

    Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper

    getWrappedModel

    Methods inherited from interface com.liferay.portal.kernel.model.StagedModel

    clone
  • Constructor Details

    • CTCollectionWrapper

      public CTCollectionWrapper(CTCollection ctCollection)
  • Method Details

    • getModelAttributes

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

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

      public CTCollection cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CTCollection>
      Specified by:
      cloneWithOriginalValues in interface CTCollectionModel
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this ct collection.
      Specified by:
      getCompanyId in interface CTCollectionModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the company ID of this ct collection
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this ct collection.
      Specified by:
      getCreateDate in interface CTCollectionModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this ct collection
    • getCtCollectionId

      public long getCtCollectionId()
      Returns the ct collection ID of this ct collection.
      Specified by:
      getCtCollectionId in interface CTCollectionModel
      Returns:
      the ct collection ID of this ct collection
    • getCtRemoteId

      public long getCtRemoteId()
      Returns the ct remote ID of this ct collection.
      Specified by:
      getCtRemoteId in interface CTCollectionModel
      Returns:
      the ct remote ID of this ct collection
    • getDescription

      public String getDescription()
      Returns the description of this ct collection.
      Specified by:
      getDescription in interface CTCollectionModel
      Returns:
      the description of this ct collection
    • getExternalReferenceCode

      public String getExternalReferenceCode()
      Returns the external reference code of this ct collection.
      Specified by:
      getExternalReferenceCode in interface CTCollectionModel
      Specified by:
      getExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Returns:
      the external reference code of this ct collection
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this ct collection.
      Specified by:
      getModifiedDate in interface CTCollectionModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this ct collection
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this ct collection.
      Specified by:
      getMvccVersion in interface CTCollectionModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this ct collection
    • getName

      public String getName()
      Returns the name of this ct collection.
      Specified by:
      getName in interface CTCollectionModel
      Returns:
      the name of this ct collection
    • getOnDemandUserId

      public long getOnDemandUserId()
      Returns the on demand user ID of this ct collection.
      Specified by:
      getOnDemandUserId in interface CTCollectionModel
      Returns:
      the on demand user ID of this ct collection
    • getOnDemandUserUuid

      public String getOnDemandUserUuid()
      Returns the on demand user uuid of this ct collection.
      Specified by:
      getOnDemandUserUuid in interface CTCollectionModel
      Returns:
      the on demand user uuid of this ct collection
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this ct collection.
      Specified by:
      getPrimaryKey in interface CTCollectionModel
      Returns:
      the primary key of this ct collection
    • getSchemaVersionId

      public long getSchemaVersionId()
      Returns the schema version ID of this ct collection.
      Specified by:
      getSchemaVersionId in interface CTCollectionModel
      Returns:
      the schema version ID of this ct collection
    • getScore

      public int getScore()
      Specified by:
      getScore in interface CTCollection
    • getScoreSizeClassification

      public String getScoreSizeClassification()
      Specified by:
      getScoreSizeClassification in interface CTCollection
    • getShareable

      public boolean getShareable()
      Returns the shareable of this ct collection.
      Specified by:
      getShareable in interface CTCollectionModel
      Returns:
      the shareable of this ct collection
    • getStatus

      public int getStatus()
      Returns the status of this ct collection.
      Specified by:
      getStatus in interface CTCollectionModel
      Returns:
      the status of this ct collection
    • getStatusByUserId

      public long getStatusByUserId()
      Returns the status by user ID of this ct collection.
      Specified by:
      getStatusByUserId in interface CTCollectionModel
      Returns:
      the status by user ID of this ct collection
    • getStatusByUserUuid

      public String getStatusByUserUuid()
      Returns the status by user uuid of this ct collection.
      Specified by:
      getStatusByUserUuid in interface CTCollectionModel
      Returns:
      the status by user uuid of this ct collection
    • getStatusDate

      public Date getStatusDate()
      Returns the status date of this ct collection.
      Specified by:
      getStatusDate in interface CTCollectionModel
      Returns:
      the status date of this ct collection
    • getUserId

      public long getUserId()
      Returns the user ID of this ct collection.
      Specified by:
      getUserId in interface CTCollectionModel
      Returns:
      the user ID of this ct collection
    • getUserName

      public String getUserName()
      Specified by:
      getUserName in interface CTCollection
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this ct collection.
      Specified by:
      getUserUuid in interface CTCollectionModel
      Returns:
      the user uuid of this ct collection
    • getUuid

      public String getUuid()
      Returns the uuid of this ct collection.
      Specified by:
      getUuid in interface CTCollectionModel
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this ct collection
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface CTCollection
    • isProduction

      public boolean isProduction()
      Specified by:
      isProduction in interface CTCollection
    • isShareable

      public boolean isShareable()
      Returns true if this ct collection is shareable.
      Specified by:
      isShareable in interface CTCollectionModel
      Returns:
      true if this ct collection is shareable; false otherwise
    • persist

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

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

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

      public void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this ct collection.
      Specified by:
      setCtCollectionId in interface CTCollectionModel
      Parameters:
      ctCollectionId - the ct collection ID of this ct collection
    • setCtRemoteId

      public void setCtRemoteId(long ctRemoteId)
      Sets the ct remote ID of this ct collection.
      Specified by:
      setCtRemoteId in interface CTCollectionModel
      Parameters:
      ctRemoteId - the ct remote ID of this ct collection
    • setDescription

      public void setDescription(String description)
      Sets the description of this ct collection.
      Specified by:
      setDescription in interface CTCollectionModel
      Parameters:
      description - the description of this ct collection
    • setExternalReferenceCode

      public void setExternalReferenceCode(String externalReferenceCode)
      Sets the external reference code of this ct collection.
      Specified by:
      setExternalReferenceCode in interface CTCollectionModel
      Specified by:
      setExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Parameters:
      externalReferenceCode - the external reference code of this ct collection
    • setModifiedDate

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

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

      public void setName(String name)
      Sets the name of this ct collection.
      Specified by:
      setName in interface CTCollectionModel
      Parameters:
      name - the name of this ct collection
    • setOnDemandUserId

      public void setOnDemandUserId(long onDemandUserId)
      Sets the on demand user ID of this ct collection.
      Specified by:
      setOnDemandUserId in interface CTCollectionModel
      Parameters:
      onDemandUserId - the on demand user ID of this ct collection
    • setOnDemandUserUuid

      public void setOnDemandUserUuid(String onDemandUserUuid)
      Sets the on demand user uuid of this ct collection.
      Specified by:
      setOnDemandUserUuid in interface CTCollectionModel
      Parameters:
      onDemandUserUuid - the on demand user uuid of this ct collection
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this ct collection.
      Specified by:
      setPrimaryKey in interface CTCollectionModel
      Parameters:
      primaryKey - the primary key of this ct collection
    • setSchemaVersionId

      public void setSchemaVersionId(long schemaVersionId)
      Sets the schema version ID of this ct collection.
      Specified by:
      setSchemaVersionId in interface CTCollectionModel
      Parameters:
      schemaVersionId - the schema version ID of this ct collection
    • setShareable

      public void setShareable(boolean shareable)
      Sets whether this ct collection is shareable.
      Specified by:
      setShareable in interface CTCollectionModel
      Parameters:
      shareable - the shareable of this ct collection
    • setStatus

      public void setStatus(int status)
      Sets the status of this ct collection.
      Specified by:
      setStatus in interface CTCollectionModel
      Parameters:
      status - the status of this ct collection
    • setStatusByUserId

      public void setStatusByUserId(long statusByUserId)
      Sets the status by user ID of this ct collection.
      Specified by:
      setStatusByUserId in interface CTCollectionModel
      Parameters:
      statusByUserId - the status by user ID of this ct collection
    • setStatusByUserUuid

      public void setStatusByUserUuid(String statusByUserUuid)
      Sets the status by user uuid of this ct collection.
      Specified by:
      setStatusByUserUuid in interface CTCollectionModel
      Parameters:
      statusByUserUuid - the status by user uuid of this ct collection
    • setStatusDate

      public void setStatusDate(Date statusDate)
      Sets the status date of this ct collection.
      Specified by:
      setStatusDate in interface CTCollectionModel
      Parameters:
      statusDate - the status date of this ct collection
    • setUserId

      public void setUserId(long userId)
      Sets the user ID of this ct collection.
      Specified by:
      setUserId in interface CTCollectionModel
      Parameters:
      userId - the user ID of this ct collection
    • setUserUuid

      public void setUserUuid(String userUuid)
      Sets the user uuid of this ct collection.
      Specified by:
      setUserUuid in interface CTCollectionModel
      Parameters:
      userUuid - the user uuid of this ct collection
    • setUuid

      public void setUuid(String uuid)
      Sets the uuid of this ct collection.
      Specified by:
      setUuid in interface CTCollectionModel
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      uuid - the uuid of this ct collection
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface CTCollectionModel
    • getStagedModelType

      public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
      Specified by:
      getStagedModelType in interface com.liferay.portal.kernel.model.StagedModel
    • wrap

      protected CTCollectionWrapper wrap(CTCollection ctCollection)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CTCollection>