public class FragmentCollectionWrapper extends BaseModelWrapper<FragmentCollection> implements FragmentCollection, ModelWrapper<FragmentCollection>
This class is a wrapper for FragmentCollection.
FragmentCollection,
Serialized FormmodelFRAGMENT_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<FileEntry> |
getResources() |
long |
getResourcesFolderId() |
long |
getResourcesFolderId(boolean createIfAbsent) |
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()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
populateZipWriter(ZipWriter zipWriter) |
void |
populateZipWriter(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, toXmlStringfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNameclonegetWrappedModelpublic FragmentCollectionWrapper(FragmentCollection fragmentCollection)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<FragmentCollection>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<FragmentCollection>public long getCompanyId()
getCompanyId in interface FragmentCollectionModelgetCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelpublic java.util.Date getCreateDate()
getCreateDate in interface FragmentCollectionModelgetCreateDate in interface AuditedModelgetCreateDate in interface StagedModelpublic java.lang.String getDescription()
getDescription in interface FragmentCollectionModelpublic long getFragmentCollectionId()
getFragmentCollectionId in interface FragmentCollectionModelpublic java.lang.String getFragmentCollectionKey()
getFragmentCollectionKey in interface FragmentCollectionModelpublic long getGroupId()
getGroupId in interface FragmentCollectionModelgetGroupId in interface GroupedModelpublic java.util.Date getLastPublishDate()
getLastPublishDate in interface FragmentCollectionModelgetLastPublishDate in interface StagedGroupedModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface FragmentCollectionModelgetModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelpublic long getMvccVersion()
getMvccVersion in interface FragmentCollectionModelgetMvccVersion in interface MVCCModelpublic java.lang.String getName()
getName in interface FragmentCollectionModelpublic long getPrimaryKey()
getPrimaryKey in interface FragmentCollectionModelpublic java.util.List<FileEntry> getResources() throws PortalException
getResources in interface FragmentCollectionPortalExceptionpublic long getResourcesFolderId()
throws PortalException
getResourcesFolderId in interface FragmentCollectionPortalExceptionpublic long getResourcesFolderId(boolean createIfAbsent)
throws PortalException
getResourcesFolderId in interface FragmentCollectionPortalExceptionpublic long getUserId()
getUserId in interface FragmentCollectionModelgetUserId in interface AuditedModelpublic java.lang.String getUserName()
getUserName in interface FragmentCollectionModelgetUserName in interface AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface FragmentCollectionModelgetUserUuid in interface AuditedModelpublic java.lang.String getUuid()
getUuid in interface FragmentCollectionModelgetUuid in interface StagedModelpublic boolean hasResources()
throws PortalException
hasResources in interface FragmentCollectionPortalExceptionpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void populateZipWriter(ZipWriter zipWriter) throws java.lang.Exception
populateZipWriter in interface FragmentCollectionjava.lang.Exceptionpublic void populateZipWriter(ZipWriter zipWriter, java.lang.String path) throws java.lang.Exception
populateZipWriter in interface FragmentCollectionjava.lang.Exceptionpublic void setCompanyId(long companyId)
setCompanyId in interface FragmentCollectionModelsetCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelcompanyId - the company ID of this fragment collectionpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface FragmentCollectionModelsetCreateDate in interface AuditedModelsetCreateDate in interface StagedModelcreateDate - the create date of this fragment collectionpublic void setDescription(java.lang.String description)
setDescription in interface FragmentCollectionModeldescription - the description of this fragment collectionpublic void setFragmentCollectionId(long fragmentCollectionId)
setFragmentCollectionId in interface FragmentCollectionModelfragmentCollectionId - the fragment collection ID of this fragment collectionpublic void setFragmentCollectionKey(java.lang.String fragmentCollectionKey)
setFragmentCollectionKey in interface FragmentCollectionModelfragmentCollectionKey - the fragment collection key of this fragment collectionpublic void setGroupId(long groupId)
setGroupId in interface FragmentCollectionModelsetGroupId in interface GroupedModelgroupId - the group ID of this fragment collectionpublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface FragmentCollectionModelsetLastPublishDate in interface StagedGroupedModellastPublishDate - the last publish date of this fragment collectionpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface FragmentCollectionModelsetModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelmodifiedDate - the modified date of this fragment collectionpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface FragmentCollectionModelsetMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this fragment collectionpublic void setName(java.lang.String name)
setName in interface FragmentCollectionModelname - the name of this fragment collectionpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface FragmentCollectionModelprimaryKey - the primary key of this fragment collectionpublic void setUserId(long userId)
setUserId in interface FragmentCollectionModelsetUserId in interface AuditedModeluserId - the user ID of this fragment collectionpublic void setUserName(java.lang.String userName)
setUserName in interface FragmentCollectionModelsetUserName in interface AuditedModeluserName - the user name of this fragment collectionpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface FragmentCollectionModelsetUserUuid in interface AuditedModeluserUuid - the user uuid of this fragment collectionpublic void setUuid(java.lang.String uuid)
setUuid in interface FragmentCollectionModelsetUuid in interface StagedModeluuid - the uuid of this fragment collectionpublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelprotected FragmentCollectionWrapper wrap(FragmentCollection fragmentCollection)
wrap in class BaseModelWrapper<FragmentCollection>