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
.
FragmentCollection
,
Serialized FormFRAGMENT_COLLECTION_ID_ACCESSOR
Constructor and Description |
---|
FragmentCollectionWrapper(FragmentCollection fragmentCollection) |
Modifier and Type | Method and Description |
---|---|
long |
getCompanyId()
Returns the company ID of this fragment collection.
|
java.util.Date |
getCreateDate()
Returns the create date of this fragment collection.
|
java.lang.String |
getDescription()
Returns the description of this fragment collection.
|
long |
getFragmentCollectionId()
Returns the fragment collection ID of this fragment collection.
|
java.lang.String |
getFragmentCollectionKey()
Returns the fragment collection key of this fragment collection.
|
long |
getGroupId()
Returns the group ID of this fragment collection.
|
java.util.Date |
getLastPublishDate()
Returns the last publish date of this fragment collection.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this fragment collection.
|
long |
getMvccVersion()
Returns the mvcc version of this fragment collection.
|
java.lang.String |
getName()
Returns the name of this fragment collection.
|
long |
getPrimaryKey()
Returns the primary key of this fragment collection.
|
java.util.List<com.liferay.portal.kernel.repository.model.FileEntry> |
getResources() |
long |
getResourcesFolderId() |
long |
getResourcesFolderId(boolean createIfAbsent) |
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
long |
getUserId()
Returns the user ID of this fragment collection.
|
java.lang.String |
getUserName()
Returns the user name of this fragment collection.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this fragment collection.
|
java.lang.String |
getUuid()
Returns the uuid of this fragment collection.
|
boolean |
hasResources() |
void |
persist() |
void |
populateZipWriter(com.liferay.portal.kernel.zip.ZipWriter zipWriter) |
void |
populateZipWriter(com.liferay.portal.kernel.zip.ZipWriter zipWriter,
java.lang.String path) |
void |
setCompanyId(long companyId)
Sets the company ID of this fragment collection.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this fragment collection.
|
void |
setDescription(java.lang.String description)
Sets the description of this fragment collection.
|
void |
setFragmentCollectionId(long fragmentCollectionId)
Sets the fragment collection ID of this fragment collection.
|
void |
setFragmentCollectionKey(java.lang.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(java.util.Date lastPublishDate)
Sets the last publish date of this fragment collection.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this fragment collection.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this fragment collection.
|
void |
setName(java.lang.String name)
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(java.lang.String userName)
Sets the user name of this fragment collection.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this fragment collection.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this fragment collection.
|
protected FragmentCollectionWrapper |
wrap(FragmentCollection fragmentCollection) |
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, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
public FragmentCollectionWrapper(FragmentCollection fragmentCollection)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<FragmentCollection>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<FragmentCollection>
public long getCompanyId()
getCompanyId
in interface FragmentCollectionModel
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
public java.util.Date getCreateDate()
getCreateDate
in interface FragmentCollectionModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public java.lang.String getDescription()
getDescription
in interface FragmentCollectionModel
public long getFragmentCollectionId()
getFragmentCollectionId
in interface FragmentCollectionModel
public java.lang.String getFragmentCollectionKey()
getFragmentCollectionKey
in interface FragmentCollectionModel
public long getGroupId()
getGroupId
in interface FragmentCollectionModel
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
public java.util.Date getLastPublishDate()
getLastPublishDate
in interface FragmentCollectionModel
getLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface FragmentCollectionModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public long getMvccVersion()
getMvccVersion
in interface FragmentCollectionModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public java.lang.String getName()
getName
in interface FragmentCollectionModel
public long getPrimaryKey()
getPrimaryKey
in interface FragmentCollectionModel
public java.util.List<com.liferay.portal.kernel.repository.model.FileEntry> getResources() throws com.liferay.portal.kernel.exception.PortalException
getResources
in interface FragmentCollection
com.liferay.portal.kernel.exception.PortalException
public long getResourcesFolderId() throws com.liferay.portal.kernel.exception.PortalException
getResourcesFolderId
in interface FragmentCollection
com.liferay.portal.kernel.exception.PortalException
public long getResourcesFolderId(boolean createIfAbsent) throws com.liferay.portal.kernel.exception.PortalException
getResourcesFolderId
in interface FragmentCollection
com.liferay.portal.kernel.exception.PortalException
public long getUserId()
getUserId
in interface FragmentCollectionModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserName()
getUserName
in interface FragmentCollectionModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserUuid()
getUserUuid
in interface FragmentCollectionModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUuid()
getUuid
in interface FragmentCollectionModel
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
public boolean hasResources() throws com.liferay.portal.kernel.exception.PortalException
hasResources
in interface FragmentCollection
com.liferay.portal.kernel.exception.PortalException
public void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void populateZipWriter(com.liferay.portal.kernel.zip.ZipWriter zipWriter) throws java.lang.Exception
populateZipWriter
in interface FragmentCollection
java.lang.Exception
public void populateZipWriter(com.liferay.portal.kernel.zip.ZipWriter zipWriter, java.lang.String path) throws java.lang.Exception
populateZipWriter
in interface FragmentCollection
java.lang.Exception
public void setCompanyId(long companyId)
setCompanyId
in interface FragmentCollectionModel
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
companyId
- the company ID of this fragment collectionpublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface FragmentCollectionModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
createDate
- the create date of this fragment collectionpublic void setDescription(java.lang.String description)
setDescription
in interface FragmentCollectionModel
description
- the description of this fragment collectionpublic void setFragmentCollectionId(long fragmentCollectionId)
setFragmentCollectionId
in interface FragmentCollectionModel
fragmentCollectionId
- the fragment collection ID of this fragment collectionpublic void setFragmentCollectionKey(java.lang.String fragmentCollectionKey)
setFragmentCollectionKey
in interface FragmentCollectionModel
fragmentCollectionKey
- the fragment collection key of this fragment collectionpublic void setGroupId(long groupId)
setGroupId
in interface FragmentCollectionModel
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this fragment collectionpublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate
in interface FragmentCollectionModel
setLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
lastPublishDate
- the last publish date of this fragment collectionpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface FragmentCollectionModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
modifiedDate
- the modified date of this fragment collectionpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface FragmentCollectionModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this fragment collectionpublic void setName(java.lang.String name)
setName
in interface FragmentCollectionModel
name
- the name of this fragment collectionpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface FragmentCollectionModel
primaryKey
- the primary key of this fragment collectionpublic void setUserId(long userId)
setUserId
in interface FragmentCollectionModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this fragment collectionpublic void setUserName(java.lang.String userName)
setUserName
in interface FragmentCollectionModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this fragment collectionpublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface FragmentCollectionModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this fragment collectionpublic void setUuid(java.lang.String uuid)
setUuid
in interface FragmentCollectionModel
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this fragment collectionpublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
protected FragmentCollectionWrapper wrap(FragmentCollection fragmentCollection)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<FragmentCollection>