Package com.liferay.fragment.model
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:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.fragment.model.FragmentCollection
FRAGMENT_COLLECTION_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the company ID of this fragment collection.Returns the create date of this fragment collection.long
Returns the ct collection ID of this fragment collection.Returns the description of this fragment collection.Returns the external reference code of this fragment collection.long
Returns the fragment collection ID of this fragment collection.Returns the fragment collection key of this fragment collection.long
Returns the group ID of this fragment collection.Returns the last publish date of this fragment collection.Returns the modified date of this fragment collection.long
Returns the mvcc version of this fragment collection.getName()
Returns the name of this fragment collection.long
Returns the primary key of this fragment collection.com.liferay.portal.kernel.repository.model.FileEntry
getResource
(String path) List<com.liferay.portal.kernel.repository.model.FileEntry>
long
long
getResourcesFolderId
(boolean createIfAbsent) com.liferay.exportimport.kernel.lar.StagedModelType
long
Returns the user ID of this fragment collection.Returns the user name of this fragment collection.Returns the user uuid of this fragment collection.getUuid()
Returns the uuid of this fragment collection.boolean
void
persist()
void
populateZipWriter
(com.liferay.portal.kernel.zip.ZipWriter zipWriter) void
populateZipWriter
(com.liferay.portal.kernel.zip.ZipWriter zipWriter, String path) void
setCompanyId
(long companyId) Sets the company ID of this fragment collection.void
setCreateDate
(Date createDate) Sets the create date of this fragment collection.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this fragment collection.void
setDescription
(String description) Sets the description of this fragment collection.void
setExternalReferenceCode
(String externalReferenceCode) Sets the external reference code of this fragment collection.void
setFragmentCollectionId
(long fragmentCollectionId) Sets the fragment collection ID of this fragment collection.void
setFragmentCollectionKey
(String fragmentCollectionKey) Sets the fragment collection key of this fragment collection.void
setGroupId
(long groupId) Sets the group ID of this fragment collection.void
setLastPublishDate
(Date lastPublishDate) Sets the last publish date of this fragment collection.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(Date modifiedDate) Sets the modified date of this fragment collection.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this fragment collection.void
Sets the name of this fragment collection.void
setPrimaryKey
(long primaryKey) Sets the primary key of this fragment collection.void
setUserId
(long userId) Sets the user ID of this fragment collection.void
setUserName
(String userName) Sets the user name of this fragment collection.void
setUserUuid
(String userUuid) Sets the user uuid of this fragment collection.void
Sets the uuid of this fragment collection.protected FragmentCollectionWrapper
wrap
(FragmentCollection fragmentCollection) 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, 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
-
FragmentCollectionWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<FragmentCollection>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<FragmentCollection>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<FragmentCollection>
- Specified by:
cloneWithOriginalValues
in interfaceFragmentCollectionModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this fragment collection.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfaceFragmentCollectionModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the company ID of this fragment collection
-
getCreateDate
Returns the create date of this fragment collection.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfaceFragmentCollectionModel
- Specified by:
getCreateDate
in interfacecom.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 interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<FragmentCollection>
- Specified by:
getCtCollectionId
in interfaceFragmentCollectionModel
- Returns:
- the ct collection ID of this fragment collection
-
getDescription
Returns the description of this fragment collection.- Specified by:
getDescription
in interfaceFragmentCollectionModel
- Returns:
- the description of this fragment collection
-
getExternalReferenceCode
Returns the external reference code of this fragment collection.- Specified by:
getExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Specified by:
getExternalReferenceCode
in interfaceFragmentCollectionModel
- 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 interfaceFragmentCollectionModel
- Returns:
- the fragment collection ID of this fragment collection
-
getFragmentCollectionKey
Returns the fragment collection key of this fragment collection.- Specified by:
getFragmentCollectionKey
in interfaceFragmentCollectionModel
- 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 interfaceFragmentCollectionModel
- Specified by:
getGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Returns:
- the group ID of this fragment collection
-
getLastPublishDate
Returns the last publish date of this fragment collection.- Specified by:
getLastPublishDate
in interfaceFragmentCollectionModel
- Specified by:
getLastPublishDate
in interfacecom.liferay.portal.kernel.model.StagedGroupedModel
- Returns:
- the last publish date of this fragment collection
-
getModifiedDate
Returns the modified date of this fragment collection.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfaceFragmentCollectionModel
- Specified by:
getModifiedDate
in interfacecom.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 interfaceFragmentCollectionModel
- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Returns:
- the mvcc version of this fragment collection
-
getName
Returns the name of this fragment collection.- Specified by:
getName
in interfaceFragmentCollectionModel
- Returns:
- the name of this fragment collection
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this fragment collection.- Specified by:
getPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<FragmentCollection>
- Specified by:
getPrimaryKey
in interfaceFragmentCollectionModel
- Returns:
- the primary key of this fragment collection
-
getResource
- Specified by:
getResource
in interfaceFragmentCollection
-
getResources
public List<com.liferay.portal.kernel.repository.model.FileEntry> getResources() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getResources
in interfaceFragmentCollection
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getResourcesFolderId
public long getResourcesFolderId() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getResourcesFolderId
in interfaceFragmentCollection
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getResourcesFolderId
public long getResourcesFolderId(boolean createIfAbsent) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getResourcesFolderId
in interfaceFragmentCollection
- 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 interfaceFragmentCollection
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserId
public long getUserId()Returns the user ID of this fragment collection.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceFragmentCollectionModel
- Returns:
- the user ID of this fragment collection
-
getUserName
Returns the user name of this fragment collection.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceFragmentCollectionModel
- Returns:
- the user name of this fragment collection
-
getUserUuid
Returns the user uuid of this fragment collection.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceFragmentCollectionModel
- Returns:
- the user uuid of this fragment collection
-
getUuid
Returns the uuid of this fragment collection.- Specified by:
getUuid
in interfaceFragmentCollectionModel
- Specified by:
getUuid
in interfacecom.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 interfaceFragmentCollection
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
populateZipWriter
- Specified by:
populateZipWriter
in interfaceFragmentCollection
- Throws:
Exception
-
populateZipWriter
public void populateZipWriter(com.liferay.portal.kernel.zip.ZipWriter zipWriter, String path) throws Exception - Specified by:
populateZipWriter
in interfaceFragmentCollection
- Throws:
Exception
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this fragment collection.- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfaceFragmentCollectionModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
companyId
- the company ID of this fragment collection
-
setCreateDate
Sets the create date of this fragment collection.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfaceFragmentCollectionModel
- Specified by:
setCreateDate
in interfacecom.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 interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<FragmentCollection>
- Specified by:
setCtCollectionId
in interfaceFragmentCollectionModel
- Parameters:
ctCollectionId
- the ct collection ID of this fragment collection
-
setDescription
Sets the description of this fragment collection.- Specified by:
setDescription
in interfaceFragmentCollectionModel
- Parameters:
description
- the description of this fragment collection
-
setExternalReferenceCode
Sets the external reference code of this fragment collection.- Specified by:
setExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Specified by:
setExternalReferenceCode
in interfaceFragmentCollectionModel
- 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 interfaceFragmentCollectionModel
- Parameters:
fragmentCollectionId
- the fragment collection ID of this fragment collection
-
setFragmentCollectionKey
Sets the fragment collection key of this fragment collection.- Specified by:
setFragmentCollectionKey
in interfaceFragmentCollectionModel
- 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 interfaceFragmentCollectionModel
- Specified by:
setGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Parameters:
groupId
- the group ID of this fragment collection
-
setLastPublishDate
Sets the last publish date of this fragment collection.- Specified by:
setLastPublishDate
in interfaceFragmentCollectionModel
- Specified by:
setLastPublishDate
in interfacecom.liferay.portal.kernel.model.StagedGroupedModel
- Parameters:
lastPublishDate
- the last publish date of this fragment collection
-
setModifiedDate
Sets the modified date of this fragment collection.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfaceFragmentCollectionModel
- Specified by:
setModifiedDate
in interfacecom.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 interfaceFragmentCollectionModel
- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Parameters:
mvccVersion
- the mvcc version of this fragment collection
-
setName
Sets the name of this fragment collection.- Specified by:
setName
in interfaceFragmentCollectionModel
- 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 interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<FragmentCollection>
- Specified by:
setPrimaryKey
in interfaceFragmentCollectionModel
- 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 interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfaceFragmentCollectionModel
- Parameters:
userId
- the user ID of this fragment collection
-
setUserName
Sets the user name of this fragment collection.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfaceFragmentCollectionModel
- Parameters:
userName
- the user name of this fragment collection
-
setUserUuid
Sets the user uuid of this fragment collection.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceFragmentCollectionModel
- Parameters:
userUuid
- the user uuid of this fragment collection
-
setUuid
Sets the uuid of this fragment collection.- Specified by:
setUuid
in interfaceFragmentCollectionModel
- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this fragment collection
-
toXmlString
- Specified by:
toXmlString
in interfaceFragmentCollectionModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfacecom.liferay.portal.kernel.model.BaseModel<FragmentCollection>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfacecom.liferay.portal.kernel.model.BaseModel<FragmentCollection>
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelType
in interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<FragmentCollection>
-