Class FragmentCollectionWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<FragmentCollection>
com.liferay.fragment.model.FragmentCollectionWrapper
All Implemented Interfaces:
FragmentCollection, FragmentCollectionModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<FragmentCollection>, com.liferay.portal.kernel.model.change.tracking.CTModel<FragmentCollection>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.ModelWrapper<FragmentCollection>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedGroupedModel, com.liferay.portal.kernel.model.StagedModel, Serializable, Cloneable, Comparable<FragmentCollection>

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

This class is a wrapper for FragmentCollection.

See Also:
Generated:
  • Constructor Details

    • FragmentCollectionWrapper

      public FragmentCollectionWrapper(FragmentCollection fragmentCollection)
  • Method Details

    • getModelAttributes

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

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

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

      public long getCompanyId()
      Returns the company ID of this fragment collection.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface FragmentCollectionModel
      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 fragment collection
    • getCreateDate

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

      public long getCtCollectionId()
      Returns the ct collection ID of this fragment collection.
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<FragmentCollection>
      Specified by:
      getCtCollectionId in interface FragmentCollectionModel
      Returns:
      the ct collection ID of this fragment collection
    • getDescription

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

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

      public long getFragmentCollectionId()
      Returns the fragment collection ID of this fragment collection.
      Specified by:
      getFragmentCollectionId in interface FragmentCollectionModel
      Returns:
      the fragment collection ID of this fragment collection
    • getFragmentCollectionKey

      public String getFragmentCollectionKey()
      Returns the fragment collection key of this fragment collection.
      Specified by:
      getFragmentCollectionKey in interface FragmentCollectionModel
      Returns:
      the fragment collection key of this fragment collection
    • getGroupId

      public long getGroupId()
      Returns the group ID of this fragment collection.
      Specified by:
      getGroupId in interface FragmentCollectionModel
      Specified by:
      getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Returns:
      the group ID of this fragment collection
    • getLastPublishDate

      public Date getLastPublishDate()
      Returns the last publish date of this fragment collection.
      Specified by:
      getLastPublishDate in interface FragmentCollectionModel
      Specified by:
      getLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModel
      Returns:
      the last publish date of this fragment collection
    • getModifiedDate

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

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

      public String getName()
      Returns the name of this fragment collection.
      Specified by:
      getName in interface FragmentCollectionModel
      Returns:
      the name of this fragment collection
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this fragment collection.
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<FragmentCollection>
      Specified by:
      getPrimaryKey in interface FragmentCollectionModel
      Returns:
      the primary key of this fragment collection
    • getResource

      public com.liferay.portal.kernel.repository.model.FileEntry getResource(String path)
      Specified by:
      getResource in interface FragmentCollection
    • getResources

      public List<com.liferay.portal.kernel.repository.model.FileEntry> getResources() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getResources in interface FragmentCollection
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getResourcesFolderId

      public long getResourcesFolderId() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getResourcesFolderId in interface FragmentCollection
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getResourcesFolderId

      public long getResourcesFolderId(boolean createIfAbsent) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getResourcesFolderId in interface FragmentCollection
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getResourcesMap

      public Map<String,com.liferay.portal.kernel.repository.model.FileEntry> getResourcesMap() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getResourcesMap in interface FragmentCollection
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getUserId

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

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

      public String getUserUuid()
      Returns the user uuid of this fragment collection.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserUuid in interface FragmentCollectionModel
      Returns:
      the user uuid of this fragment collection
    • getUuid

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

      public boolean hasResources() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      hasResources in interface FragmentCollection
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • persist

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

      public void populateZipWriter(com.liferay.portal.kernel.zip.ZipWriter zipWriter) throws Exception
      Specified by:
      populateZipWriter in interface FragmentCollection
      Throws:
      Exception
    • populateZipWriter

      public void populateZipWriter(com.liferay.portal.kernel.zip.ZipWriter zipWriter, String path) throws Exception
      Specified by:
      populateZipWriter in interface FragmentCollection
      Throws:
      Exception
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this fragment collection.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface FragmentCollectionModel
      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 fragment collection
    • setCreateDate

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

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

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

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

      public void setFragmentCollectionId(long fragmentCollectionId)
      Sets the fragment collection ID of this fragment collection.
      Specified by:
      setFragmentCollectionId in interface FragmentCollectionModel
      Parameters:
      fragmentCollectionId - the fragment collection ID of this fragment collection
    • setFragmentCollectionKey

      public void setFragmentCollectionKey(String fragmentCollectionKey)
      Sets the fragment collection key of this fragment collection.
      Specified by:
      setFragmentCollectionKey in interface FragmentCollectionModel
      Parameters:
      fragmentCollectionKey - the fragment collection key of this fragment collection
    • setGroupId

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

      public void setLastPublishDate(Date lastPublishDate)
      Sets the last publish date of this fragment collection.
      Specified by:
      setLastPublishDate in interface FragmentCollectionModel
      Specified by:
      setLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModel
      Parameters:
      lastPublishDate - the last publish date of this fragment collection
    • setModifiedDate

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

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

      public void setName(String name)
      Sets the name of this fragment collection.
      Specified by:
      setName in interface FragmentCollectionModel
      Parameters:
      name - the name of this fragment collection
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this fragment collection.
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<FragmentCollection>
      Specified by:
      setPrimaryKey in interface FragmentCollectionModel
      Parameters:
      primaryKey - the primary key of this fragment collection
    • setUserId

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

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

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

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

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

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

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

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

      protected FragmentCollectionWrapper wrap(FragmentCollection fragmentCollection)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<FragmentCollection>