public class JournalFolderWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<JournalFolder> implements JournalFolder, com.liferay.portal.kernel.model.ModelWrapper<JournalFolder>
This class is a wrapper for JournalFolder.
JournalFolder,
Serialized FormFOLDER_ID_ACCESSOR| Constructor and Description |
|---|
JournalFolderWrapper(JournalFolder journalFolder) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
buildTreePath() |
JournalFolder |
cloneWithOriginalValues() |
java.util.List<java.lang.Long> |
getAncestorFolderIds() |
java.util.List<JournalFolder> |
getAncestors() |
java.util.Map<java.lang.String,java.util.function.Function<JournalFolder,java.lang.Object>> |
getAttributeGetterFunctions() |
java.util.Map<java.lang.String,java.util.function.BiConsumer<JournalFolder,java.lang.Object>> |
getAttributeSetterBiConsumers() |
long |
getCompanyId()
Returns the company ID of this journal folder.
|
long |
getContainerModelId()
Returns the container model ID of this journal folder.
|
java.lang.String |
getContainerModelName()
Returns the container name of this journal folder.
|
java.util.Date |
getCreateDate()
Returns the create date of this journal folder.
|
long |
getCtCollectionId()
Returns the ct collection ID of this journal folder.
|
java.lang.String |
getDescription()
Returns the description of this journal folder.
|
java.lang.String |
getExternalReferenceCode()
Returns the external reference code of this journal folder.
|
long |
getFolderId()
Returns the folder ID of this journal folder.
|
long |
getGroupId()
Returns the group ID of this journal folder.
|
java.util.Date |
getLastPublishDate()
Returns the last publish date of this journal folder.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this journal folder.
|
long |
getMvccVersion()
Returns the mvcc version of this journal folder.
|
java.lang.String |
getName()
Returns the name of this journal folder.
|
long |
getParentContainerModelId()
Returns the parent container model ID of this journal folder.
|
JournalFolder |
getParentFolder() |
long |
getParentFolderId()
Returns the parent folder ID of this journal folder.
|
long |
getPrimaryKey()
Returns the primary key of this journal folder.
|
int |
getRestrictionType()
Returns the restriction type of this journal folder.
|
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
int |
getStatus()
Returns the status of this journal folder.
|
long |
getStatusByUserId()
Returns the status by user ID of this journal folder.
|
java.lang.String |
getStatusByUserName()
Returns the status by user name of this journal folder.
|
java.lang.String |
getStatusByUserUuid()
Returns the status by user uuid of this journal folder.
|
java.util.Date |
getStatusDate()
Returns the status date of this journal folder.
|
long |
getTrashEntryClassPK()
Returns the class primary key of the trash entry for this journal folder.
|
java.lang.String |
getTreePath()
Returns the tree path of this journal folder.
|
long |
getUserId()
Returns the user ID of this journal folder.
|
java.lang.String |
getUserName()
Returns the user name of this journal folder.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this journal folder.
|
java.lang.String |
getUuid()
Returns the uuid of this journal folder.
|
boolean |
isApproved()
Returns
true if this journal folder is approved. |
boolean |
isDenied()
Returns
true if this journal folder is denied. |
boolean |
isDraft()
Returns
true if this journal folder is a draft. |
boolean |
isExpired()
Returns
true if this journal folder is expired. |
boolean |
isInactive()
Returns
true if this journal folder is inactive. |
boolean |
isIncomplete()
Returns
true if this journal folder is incomplete. |
boolean |
isInTrash()
Returns
true if this journal folder is in the Recycle Bin. |
boolean |
isPending()
Returns
true if this journal folder is pending. |
boolean |
isRoot() |
boolean |
isScheduled()
Returns
true if this journal folder is scheduled. |
void |
persist() |
void |
setCompanyId(long companyId)
Sets the company ID of this journal folder.
|
void |
setContainerModelId(long containerModelId)
Sets the container model ID of this journal folder.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this journal folder.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this journal folder.
|
void |
setDescription(java.lang.String description)
Sets the description of this journal folder.
|
void |
setExternalReferenceCode(java.lang.String externalReferenceCode)
Sets the external reference code of this journal folder.
|
void |
setFolderId(long folderId)
Sets the folder ID of this journal folder.
|
void |
setGroupId(long groupId)
Sets the group ID of this journal folder.
|
void |
setLastPublishDate(java.util.Date lastPublishDate)
Sets the last publish date of this journal folder.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this journal folder.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this journal folder.
|
void |
setName(java.lang.String name)
Sets the name of this journal folder.
|
void |
setParentContainerModelId(long parentContainerModelId)
Sets the parent container model ID of this journal folder.
|
void |
setParentFolderId(long parentFolderId)
Sets the parent folder ID of this journal folder.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this journal folder.
|
void |
setRestrictionType(int restrictionType)
Sets the restriction type of this journal folder.
|
void |
setStatus(int status)
Sets the status of this journal folder.
|
void |
setStatusByUserId(long statusByUserId)
Sets the status by user ID of this journal folder.
|
void |
setStatusByUserName(java.lang.String statusByUserName)
Sets the status by user name of this journal folder.
|
void |
setStatusByUserUuid(java.lang.String statusByUserUuid)
Sets the status by user uuid of this journal folder.
|
void |
setStatusDate(java.util.Date statusDate)
Sets the status date of this journal folder.
|
void |
setTreePath(java.lang.String treePath)
Sets the tree path of this journal folder.
|
void |
setUserId(long userId)
Sets the user ID of this journal folder.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this journal folder.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this journal folder.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this journal folder.
|
java.lang.String |
toXmlString() |
void |
updateTreePath(java.lang.String treePath) |
protected JournalFolderWrapper |
wrap(JournalFolder journalFolder) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelfinalize, getClass, notify, notifyAll, wait, wait, waitgetModelClass, getModelClassNameclone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelpublic JournalFolderWrapper(JournalFolder journalFolder)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<JournalFolder>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<JournalFolder>public java.lang.String buildTreePath()
throws com.liferay.portal.kernel.exception.PortalException
buildTreePath in interface com.liferay.portal.kernel.model.TreeModelcom.liferay.portal.kernel.exception.PortalExceptionpublic JournalFolder cloneWithOriginalValues()
cloneWithOriginalValues in interface JournalFolderModelcloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<JournalFolder>public java.util.List<java.lang.Long> getAncestorFolderIds()
throws com.liferay.portal.kernel.exception.PortalException
getAncestorFolderIds in interface JournalFoldercom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<JournalFolder> getAncestors() throws com.liferay.portal.kernel.exception.PortalException
getAncestors in interface JournalFoldercom.liferay.portal.kernel.exception.PortalExceptionpublic long getCompanyId()
getCompanyId in interface JournalFolderModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelpublic long getContainerModelId()
getContainerModelId in interface JournalFolderModelgetContainerModelId in interface com.liferay.portal.kernel.model.ContainerModelpublic java.lang.String getContainerModelName()
getContainerModelName in interface JournalFolderModelgetContainerModelName in interface com.liferay.portal.kernel.model.ContainerModelpublic java.util.Date getCreateDate()
getCreateDate in interface JournalFolderModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getCtCollectionId()
getCtCollectionId in interface JournalFolderModelgetCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<JournalFolder>public java.lang.String getDescription()
getDescription in interface JournalFolderModelpublic java.lang.String getExternalReferenceCode()
getExternalReferenceCode in interface JournalFolderModelgetExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModelpublic long getFolderId()
getFolderId in interface JournalFolderModelpublic long getGroupId()
getGroupId in interface JournalFolderModelgetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic java.util.Date getLastPublishDate()
getLastPublishDate in interface JournalFolderModelgetLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface JournalFolderModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getMvccVersion()
getMvccVersion in interface JournalFolderModelgetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelpublic java.lang.String getName()
getName in interface JournalFolderModelpublic long getParentContainerModelId()
getParentContainerModelId in interface JournalFolderModelgetParentContainerModelId in interface com.liferay.portal.kernel.model.ContainerModelpublic JournalFolder getParentFolder() throws com.liferay.portal.kernel.exception.PortalException
getParentFolder in interface JournalFoldercom.liferay.portal.kernel.exception.PortalExceptionpublic long getParentFolderId()
getParentFolderId in interface JournalFolderModelpublic long getPrimaryKey()
getPrimaryKey in interface JournalFolderModelgetPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<JournalFolder>public int getRestrictionType()
getRestrictionType in interface JournalFolderModelpublic int getStatus()
getStatus in interface JournalFolderModelgetStatus in interface com.liferay.portal.kernel.model.TrashedModelgetStatus in interface com.liferay.portal.kernel.model.WorkflowedModelpublic long getStatusByUserId()
getStatusByUserId in interface JournalFolderModelgetStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModelpublic java.lang.String getStatusByUserName()
getStatusByUserName in interface JournalFolderModelgetStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModelpublic java.lang.String getStatusByUserUuid()
getStatusByUserUuid in interface JournalFolderModelgetStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModelpublic java.util.Date getStatusDate()
getStatusDate in interface JournalFolderModelgetStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModelpublic long getTrashEntryClassPK()
getTrashEntryClassPK in interface JournalFolderModelgetTrashEntryClassPK in interface com.liferay.portal.kernel.model.TrashedModelpublic java.lang.String getTreePath()
getTreePath in interface JournalFolderModelgetTreePath in interface com.liferay.portal.kernel.model.TreeModelpublic long getUserId()
getUserId in interface JournalFolderModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserName()
getUserName in interface JournalFolderModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface JournalFolderModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUuid()
getUuid in interface JournalFolderModelgetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic boolean isApproved()
true if this journal folder is approved.isApproved in interface JournalFolderModelisApproved in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this journal folder is approved; false otherwisepublic boolean isDenied()
true if this journal folder is denied.isDenied in interface JournalFolderModelisDenied in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this journal folder is denied; false otherwisepublic boolean isDraft()
true if this journal folder is a draft.isDraft in interface JournalFolderModelisDraft in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this journal folder is a draft; false otherwisepublic boolean isExpired()
true if this journal folder is expired.isExpired in interface JournalFolderModelisExpired in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this journal folder is expired; false otherwisepublic boolean isInactive()
true if this journal folder is inactive.isInactive in interface JournalFolderModelisInactive in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this journal folder is inactive; false otherwisepublic boolean isIncomplete()
true if this journal folder is incomplete.isIncomplete in interface JournalFolderModelisIncomplete in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this journal folder is incomplete; false otherwisepublic boolean isInTrash()
true if this journal folder is in the Recycle Bin.isInTrash in interface JournalFolderModelisInTrash in interface com.liferay.portal.kernel.model.TrashedModeltrue if this journal folder is in the Recycle Bin; false otherwisepublic boolean isPending()
true if this journal folder is pending.isPending in interface JournalFolderModelisPending in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this journal folder is pending; false otherwisepublic boolean isRoot()
isRoot in interface JournalFolderpublic boolean isScheduled()
true if this journal folder is scheduled.isScheduled in interface JournalFolderModelisScheduled in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this journal folder is scheduled; false otherwisepublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setCompanyId(long companyId)
setCompanyId in interface JournalFolderModelsetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface com.liferay.portal.kernel.model.StagedModelcompanyId - the company ID of this journal folderpublic void setContainerModelId(long containerModelId)
setContainerModelId in interface JournalFolderModelsetContainerModelId in interface com.liferay.portal.kernel.model.ContainerModelcontainerModelId - the container model ID of this journal folderpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface JournalFolderModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this journal folderpublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface JournalFolderModelsetCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<JournalFolder>ctCollectionId - the ct collection ID of this journal folderpublic void setDescription(java.lang.String description)
setDescription in interface JournalFolderModeldescription - the description of this journal folderpublic void setExternalReferenceCode(java.lang.String externalReferenceCode)
setExternalReferenceCode in interface JournalFolderModelsetExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModelexternalReferenceCode - the external reference code of this journal folderpublic void setFolderId(long folderId)
setFolderId in interface JournalFolderModelfolderId - the folder ID of this journal folderpublic void setGroupId(long groupId)
setGroupId in interface JournalFolderModelsetGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this journal folderpublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface JournalFolderModelsetLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModellastPublishDate - the last publish date of this journal folderpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface JournalFolderModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this journal folderpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface JournalFolderModelsetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - the mvcc version of this journal folderpublic void setName(java.lang.String name)
setName in interface JournalFolderModelname - the name of this journal folderpublic void setParentContainerModelId(long parentContainerModelId)
setParentContainerModelId in interface JournalFolderModelsetParentContainerModelId in interface com.liferay.portal.kernel.model.ContainerModelparentContainerModelId - the parent container model ID of this journal folderpublic void setParentFolderId(long parentFolderId)
setParentFolderId in interface JournalFolderModelparentFolderId - the parent folder ID of this journal folderpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface JournalFolderModelsetPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<JournalFolder>primaryKey - the primary key of this journal folderpublic void setRestrictionType(int restrictionType)
setRestrictionType in interface JournalFolderModelrestrictionType - the restriction type of this journal folderpublic void setStatus(int status)
setStatus in interface JournalFolderModelsetStatus in interface com.liferay.portal.kernel.model.WorkflowedModelstatus - the status of this journal folderpublic void setStatusByUserId(long statusByUserId)
setStatusByUserId in interface JournalFolderModelsetStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserId - the status by user ID of this journal folderpublic void setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName in interface JournalFolderModelsetStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserName - the status by user name of this journal folderpublic void setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid in interface JournalFolderModelsetStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserUuid - the status by user uuid of this journal folderpublic void setStatusDate(java.util.Date statusDate)
setStatusDate in interface JournalFolderModelsetStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModelstatusDate - the status date of this journal folderpublic void setTreePath(java.lang.String treePath)
setTreePath in interface JournalFolderModeltreePath - the tree path of this journal folderpublic void setUserId(long userId)
setUserId in interface JournalFolderModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this journal folderpublic void setUserName(java.lang.String userName)
setUserName in interface JournalFolderModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this journal folderpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface JournalFolderModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this journal folderpublic void setUuid(java.lang.String uuid)
setUuid in interface JournalFolderModelsetUuid in interface com.liferay.portal.kernel.model.StagedModeluuid - the uuid of this journal folderpublic java.lang.String toXmlString()
toXmlString in interface JournalFolderModelpublic void updateTreePath(java.lang.String treePath)
updateTreePath in interface com.liferay.portal.kernel.model.TreeModelpublic java.util.Map<java.lang.String,java.util.function.Function<JournalFolder,java.lang.Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<JournalFolder>public java.util.Map<java.lang.String,java.util.function.BiConsumer<JournalFolder,java.lang.Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<JournalFolder>public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelprotected JournalFolderWrapper wrap(JournalFolder journalFolder)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<JournalFolder>