Package com.liferay.journal.model
Interface JournalFolderModel
- All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<JournalFolder>
,com.liferay.portal.kernel.model.ClassedModel
,Cloneable
,Comparable<JournalFolder>
,com.liferay.portal.kernel.model.ContainerModel
,com.liferay.portal.kernel.model.change.tracking.CTModel<JournalFolder>
,com.liferay.portal.kernel.model.ExternalReferenceCodeModel
,com.liferay.portal.kernel.model.GroupedModel
,com.liferay.portal.kernel.model.MVCCModel
,Serializable
,com.liferay.portal.kernel.model.ShardedModel
,com.liferay.portal.kernel.model.StagedGroupedModel
,com.liferay.portal.kernel.model.StagedModel
,com.liferay.portal.kernel.model.TrashedModel
,com.liferay.portal.kernel.model.WorkflowedModel
- All Known Subinterfaces:
JournalFolder
- All Known Implementing Classes:
JournalFolderWrapper
@ProviderType
public interface JournalFolderModel
extends com.liferay.portal.kernel.model.BaseModel<JournalFolder>, com.liferay.portal.kernel.model.ContainerModel, com.liferay.portal.kernel.model.change.tracking.CTModel<JournalFolder>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedGroupedModel, com.liferay.portal.kernel.model.TrashedModel, com.liferay.portal.kernel.model.WorkflowedModel
The base model interface for the JournalFolder service. Represents a row in the "JournalFolder" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.journal.model.impl.JournalFolderModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.journal.model.impl.JournalFolderImpl
.
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the company ID of this journal folder.long
Returns the container model ID of this journal folder.Returns the container name of this journal folder.Returns the create date of this journal folder.long
Returns the ct collection ID of this journal folder.Returns the description of this journal folder.Returns the external reference code of this journal folder.long
Returns the folder ID of this journal folder.long
Returns the group ID of this journal folder.Returns the last publish date of this journal folder.Returns the modified date of this journal folder.long
Returns the mvcc version of this journal folder.getName()
Returns the name of this journal folder.long
Returns the parent container model ID of this journal folder.long
Returns the parent folder ID of this journal folder.long
Returns the primary key of this journal folder.int
Returns the restriction type of this journal folder.int
Returns the status of this journal folder.long
Returns the status by user ID of this journal folder.Returns the status by user name of this journal folder.Returns the status by user uuid of this journal folder.Returns the status date of this journal folder.long
Returns the class primary key of the trash entry for this journal folder.Returns the tree path of this journal folder.long
Returns the user ID of this journal folder.Returns the user name of this journal folder.Returns the user uuid of this journal folder.getUuid()
Returns the uuid of this journal folder.boolean
Returnstrue
if this journal folder is approved.boolean
isDenied()
Returnstrue
if this journal folder is denied.boolean
isDraft()
Returnstrue
if this journal folder is a draft.boolean
Returnstrue
if this journal folder is expired.boolean
Returnstrue
if this journal folder is inactive.boolean
Returnstrue
if this journal folder is incomplete.boolean
Returnstrue
if this journal folder is in the Recycle Bin.boolean
Returnstrue
if this journal folder is pending.boolean
Returnstrue
if this journal folder is scheduled.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
(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
(String description) Sets the description of this journal folder.void
setExternalReferenceCode
(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
(Date lastPublishDate) Sets the last publish date of this journal folder.void
setModifiedDate
(Date modifiedDate) Sets the modified date of this journal folder.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this journal folder.void
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
(String statusByUserName) Sets the status by user name of this journal folder.void
setStatusByUserUuid
(String statusByUserUuid) Sets the status by user uuid of this journal folder.void
setStatusDate
(Date statusDate) Sets the status date of this journal folder.void
setTreePath
(String treePath) Sets the tree path of this journal folder.void
setUserId
(long userId) Sets the user ID of this journal folder.void
setUserName
(String userName) Sets the user name of this journal folder.void
setUserUuid
(String userUuid) Sets the user uuid of this journal folder.void
Sets the uuid of this journal folder.default String
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, 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.ContainerModel
getModelClass, getModelClassName
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone, getStagedModelType
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this journal folder.- Specified by:
getPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<JournalFolder>
- Returns:
- the primary key of this journal folder
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this journal folder.- Specified by:
setPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<JournalFolder>
- Parameters:
primaryKey
- the primary key of this journal folder
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this journal folder.- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Returns:
- the mvcc version of this journal folder
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this journal folder.- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Parameters:
mvccVersion
- the mvcc version of this journal folder
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this journal folder.- Specified by:
getCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<JournalFolder>
- Returns:
- the ct collection ID of this journal folder
-
setCtCollectionId
void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this journal folder.- Specified by:
setCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<JournalFolder>
- Parameters:
ctCollectionId
- the ct collection ID of this journal folder
-
getUuid
Returns the uuid of this journal folder.- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this journal folder
-
setUuid
Sets the uuid of this journal folder.- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this journal folder
-
getExternalReferenceCode
Returns the external reference code of this journal folder.- Specified by:
getExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Returns:
- the external reference code of this journal folder
-
setExternalReferenceCode
Sets the external reference code of this journal folder.- Specified by:
setExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Parameters:
externalReferenceCode
- the external reference code of this journal folder
-
getFolderId
long getFolderId()Returns the folder ID of this journal folder.- Returns:
- the folder ID of this journal folder
-
setFolderId
void setFolderId(long folderId) Sets the folder ID of this journal folder.- Parameters:
folderId
- the folder ID of this journal folder
-
getGroupId
long getGroupId()Returns the group ID of this journal folder.- Specified by:
getGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Returns:
- the group ID of this journal folder
-
setGroupId
void setGroupId(long groupId) Sets the group ID of this journal folder.- Specified by:
setGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Parameters:
groupId
- the group ID of this journal folder
-
getCompanyId
long getCompanyId()Returns the company ID of this journal folder.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- 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 journal folder
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this journal folder.- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- 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 journal folder
-
getUserId
long getUserId()Returns the user ID of this journal folder.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the user ID of this journal folder
-
setUserId
void setUserId(long userId) Sets the user ID of this journal folder.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Parameters:
userId
- the user ID of this journal folder
-
getUserUuid
String getUserUuid()Returns the user uuid of this journal folder.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the user uuid of this journal folder
-
setUserUuid
Sets the user uuid of this journal folder.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Parameters:
userUuid
- the user uuid of this journal folder
-
getUserName
Returns the user name of this journal folder.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the user name of this journal folder
-
setUserName
Sets the user name of this journal folder.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Parameters:
userName
- the user name of this journal folder
-
getCreateDate
Date getCreateDate()Returns the create date of this journal folder.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the create date of this journal folder
-
setCreateDate
Sets the create date of this journal folder.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
createDate
- the create date of this journal folder
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this journal folder.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the modified date of this journal folder
-
setModifiedDate
Sets the modified date of this journal folder.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
modifiedDate
- the modified date of this journal folder
-
getParentFolderId
long getParentFolderId()Returns the parent folder ID of this journal folder.- Returns:
- the parent folder ID of this journal folder
-
setParentFolderId
void setParentFolderId(long parentFolderId) Sets the parent folder ID of this journal folder.- Parameters:
parentFolderId
- the parent folder ID of this journal folder
-
getTreePath
Returns the tree path of this journal folder.- Returns:
- the tree path of this journal folder
-
setTreePath
Sets the tree path of this journal folder.- Parameters:
treePath
- the tree path of this journal folder
-
getName
Returns the name of this journal folder.- Returns:
- the name of this journal folder
-
setName
Sets the name of this journal folder.- Parameters:
name
- the name of this journal folder
-
getDescription
Returns the description of this journal folder.- Returns:
- the description of this journal folder
-
setDescription
Sets the description of this journal folder.- Parameters:
description
- the description of this journal folder
-
getRestrictionType
int getRestrictionType()Returns the restriction type of this journal folder.- Returns:
- the restriction type of this journal folder
-
setRestrictionType
void setRestrictionType(int restrictionType) Sets the restriction type of this journal folder.- Parameters:
restrictionType
- the restriction type of this journal folder
-
getLastPublishDate
Date getLastPublishDate()Returns the last publish date of this journal folder.- Specified by:
getLastPublishDate
in interfacecom.liferay.portal.kernel.model.StagedGroupedModel
- Returns:
- the last publish date of this journal folder
-
setLastPublishDate
Sets the last publish date of this journal folder.- Specified by:
setLastPublishDate
in interfacecom.liferay.portal.kernel.model.StagedGroupedModel
- Parameters:
lastPublishDate
- the last publish date of this journal folder
-
getStatus
int getStatus()Returns the status of this journal folder.- Specified by:
getStatus
in interfacecom.liferay.portal.kernel.model.TrashedModel
- Specified by:
getStatus
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status of this journal folder
-
setStatus
void setStatus(int status) Sets the status of this journal folder.- Specified by:
setStatus
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
status
- the status of this journal folder
-
getStatusByUserId
long getStatusByUserId()Returns the status by user ID of this journal folder.- Specified by:
getStatusByUserId
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status by user ID of this journal folder
-
setStatusByUserId
void setStatusByUserId(long statusByUserId) Sets the status by user ID of this journal folder.- Specified by:
setStatusByUserId
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusByUserId
- the status by user ID of this journal folder
-
getStatusByUserUuid
String getStatusByUserUuid()Returns the status by user uuid of this journal folder.- Specified by:
getStatusByUserUuid
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status by user uuid of this journal folder
-
setStatusByUserUuid
Sets the status by user uuid of this journal folder.- Specified by:
setStatusByUserUuid
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusByUserUuid
- the status by user uuid of this journal folder
-
getStatusByUserName
Returns the status by user name of this journal folder.- Specified by:
getStatusByUserName
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status by user name of this journal folder
-
setStatusByUserName
Sets the status by user name of this journal folder.- Specified by:
setStatusByUserName
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusByUserName
- the status by user name of this journal folder
-
getStatusDate
Date getStatusDate()Returns the status date of this journal folder.- Specified by:
getStatusDate
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status date of this journal folder
-
setStatusDate
Sets the status date of this journal folder.- Specified by:
setStatusDate
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusDate
- the status date of this journal folder
-
getTrashEntryClassPK
long getTrashEntryClassPK()Returns the class primary key of the trash entry for this journal folder.- Specified by:
getTrashEntryClassPK
in interfacecom.liferay.portal.kernel.model.TrashedModel
- Returns:
- the class primary key of the trash entry for this journal folder
-
isInTrash
boolean isInTrash()Returnstrue
if this journal folder is in the Recycle Bin.- Specified by:
isInTrash
in interfacecom.liferay.portal.kernel.model.TrashedModel
- Returns:
true
if this journal folder is in the Recycle Bin;false
otherwise
-
isApproved
boolean isApproved()Returnstrue
if this journal folder is approved.- Specified by:
isApproved
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this journal folder is approved;false
otherwise
-
isDenied
boolean isDenied()Returnstrue
if this journal folder is denied.- Specified by:
isDenied
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this journal folder is denied;false
otherwise
-
isDraft
boolean isDraft()Returnstrue
if this journal folder is a draft.- Specified by:
isDraft
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this journal folder is a draft;false
otherwise
-
isExpired
boolean isExpired()Returnstrue
if this journal folder is expired.- Specified by:
isExpired
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this journal folder is expired;false
otherwise
-
isInactive
boolean isInactive()Returnstrue
if this journal folder is inactive.- Specified by:
isInactive
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this journal folder is inactive;false
otherwise
-
isIncomplete
boolean isIncomplete()Returnstrue
if this journal folder is incomplete.- Specified by:
isIncomplete
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this journal folder is incomplete;false
otherwise
-
isPending
boolean isPending()Returnstrue
if this journal folder is pending.- Specified by:
isPending
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this journal folder is pending;false
otherwise
-
isScheduled
boolean isScheduled()Returnstrue
if this journal folder is scheduled.- Specified by:
isScheduled
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this journal folder is scheduled;false
otherwise
-
getContainerModelId
long getContainerModelId()Returns the container model ID of this journal folder.- Specified by:
getContainerModelId
in interfacecom.liferay.portal.kernel.model.ContainerModel
- Returns:
- the container model ID of this journal folder
-
setContainerModelId
void setContainerModelId(long containerModelId) Sets the container model ID of this journal folder.- Specified by:
setContainerModelId
in interfacecom.liferay.portal.kernel.model.ContainerModel
- Parameters:
containerModelId
- the container model ID of this journal folder
-
getContainerModelName
String getContainerModelName()Returns the container name of this journal folder.- Specified by:
getContainerModelName
in interfacecom.liferay.portal.kernel.model.ContainerModel
- Returns:
- the container name of this journal folder
-
getParentContainerModelId
long getParentContainerModelId()Returns the parent container model ID of this journal folder.- Specified by:
getParentContainerModelId
in interfacecom.liferay.portal.kernel.model.ContainerModel
- Returns:
- the parent container model ID of this journal folder
-
setParentContainerModelId
void setParentContainerModelId(long parentContainerModelId) Sets the parent container model ID of this journal folder.- Specified by:
setParentContainerModelId
in interfacecom.liferay.portal.kernel.model.ContainerModel
- Parameters:
parentContainerModelId
- the parent container model ID of this journal folder
-
cloneWithOriginalValues
JournalFolder cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<JournalFolder>
-
toXmlString
-