|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.journal.model.JournalFolderWrapper
@ProviderType public class JournalFolderWrapper
This class is a wrapper for JournalFolder
.
JournalFolder
,
Serialized FormField Summary |
---|
Fields inherited from interface com.liferay.portlet.journal.model.JournalFolder |
---|
FOLDER_ID_ACCESSOR |
Constructor Summary | |
---|---|
JournalFolderWrapper(JournalFolder journalFolder)
|
Method Summary | |
---|---|
String |
buildTreePath()
|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(JournalFolder journalFolder)
|
boolean |
equals(Object obj)
|
List<Long> |
getAncestorFolderIds()
|
List<JournalFolder> |
getAncestors()
|
boolean |
getApproved()
Deprecated. As of 6.1.0, replaced by isApproved() |
long |
getCompanyId()
Returns the company ID of this journal folder. |
long |
getContainerModelId()
Returns the container model ID of this journal folder. |
String |
getContainerModelName()
Returns the container name of this journal folder. |
Date |
getCreateDate()
Returns the create date of this journal folder. |
String |
getDescription()
Returns the description of this journal folder. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getFolderId()
Returns the folder ID of this journal folder. |
long |
getGroupId()
Returns the group ID of this journal folder. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this journal folder. |
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. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
StagedModelType |
getStagedModelType()
|
int |
getStatus()
Returns the status of this journal folder. |
long |
getStatusByUserId()
Returns the status by user ID of this journal folder. |
String |
getStatusByUserName()
Returns the status by user name of this journal folder. |
String |
getStatusByUserUuid()
Returns the status by user uuid of this journal folder. |
Date |
getStatusDate()
Returns the status date of this journal folder. |
TrashEntry |
getTrashEntry()
Returns the trash entry created when this journal folder was moved to the Recycle Bin. |
long |
getTrashEntryClassPK()
Returns the class primary key of the trash entry for this journal folder. |
TrashHandler |
getTrashHandler()
Returns the trash handler for this journal folder. |
String |
getTreePath()
Returns the tree path of this journal folder. |
long |
getUserId()
Returns the user ID of this journal folder. |
String |
getUserName()
Returns the user name of this journal folder. |
String |
getUserUuid()
Returns the user uuid of this journal folder. |
String |
getUuid()
Returns the uuid of this journal folder. |
JournalFolder |
getWrappedJournalFolder()
Deprecated. As of 6.1.0, replaced by getWrappedModel() |
JournalFolder |
getWrappedModel()
|
int |
hashCode()
|
boolean |
isApproved()
Returns true if this journal folder is approved. |
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isDenied()
Returns true if this journal folder is denied. |
boolean |
isDraft()
Returns true if this journal folder is a draft. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
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 |
isInTrashContainer()
Returns true if the parent of this journal folder is in the Recycle Bin. |
boolean |
isInTrashExplicitly()
|
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
boolean |
isPending()
Returns true if this journal folder is pending. |
boolean |
isRoot()
|
boolean |
isScheduled()
Returns true if this journal folder is scheduled. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
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 |
setDescription(String description)
Sets the description of this journal folder. |
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel)
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
|
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
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 |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this journal folder. |
void |
setName(String name)
Sets the name of this journal folder. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
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 |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
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 |
setUuid(String uuid)
Sets the uuid of this journal folder. |
CacheModel<JournalFolder> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
JournalFolder |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
JournalFolder |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
void |
updateTreePath(String treePath)
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JournalFolderWrapper(JournalFolder journalFolder)
Method Detail |
---|
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
getModelClass
in interface ContainerModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
getModelClassName
in interface ContainerModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<JournalFolder>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<JournalFolder>
public long getPrimaryKey()
getPrimaryKey
in interface JournalFolderModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface JournalFolderModel
primaryKey
- the primary key of this journal folderpublic String getUuid()
getUuid
in interface StagedModel
getUuid
in interface JournalFolderModel
public void setUuid(String uuid)
setUuid
in interface StagedModel
setUuid
in interface JournalFolderModel
uuid
- the uuid of this journal folderpublic long getFolderId()
getFolderId
in interface JournalFolderModel
public void setFolderId(long folderId)
setFolderId
in interface JournalFolderModel
folderId
- the folder ID of this journal folderpublic long getGroupId()
getGroupId
in interface GroupedModel
getGroupId
in interface JournalFolderModel
public void setGroupId(long groupId)
setGroupId
in interface GroupedModel
setGroupId
in interface JournalFolderModel
groupId
- the group ID of this journal folderpublic long getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface StagedModel
getCompanyId
in interface JournalFolderModel
public void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface StagedModel
setCompanyId
in interface JournalFolderModel
companyId
- the company ID of this journal folderpublic long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface JournalFolderModel
public void setUserId(long userId)
setUserId
in interface AuditedModel
setUserId
in interface JournalFolderModel
userId
- the user ID of this journal folderpublic String getUserUuid() throws SystemException
getUserUuid
in interface AuditedModel
getUserUuid
in interface JournalFolderModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
setUserUuid
in interface JournalFolderModel
userUuid
- the user uuid of this journal folderpublic String getUserName()
getUserName
in interface AuditedModel
getUserName
in interface JournalFolderModel
public void setUserName(String userName)
setUserName
in interface AuditedModel
setUserName
in interface JournalFolderModel
userName
- the user name of this journal folderpublic Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface StagedModel
getCreateDate
in interface JournalFolderModel
public void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface StagedModel
setCreateDate
in interface JournalFolderModel
createDate
- the create date of this journal folderpublic Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface StagedModel
getModifiedDate
in interface JournalFolderModel
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface StagedModel
setModifiedDate
in interface JournalFolderModel
modifiedDate
- the modified date of this journal folderpublic long getParentFolderId()
getParentFolderId
in interface JournalFolderModel
public void setParentFolderId(long parentFolderId)
setParentFolderId
in interface JournalFolderModel
parentFolderId
- the parent folder ID of this journal folderpublic String getTreePath()
getTreePath
in interface TreeModel
getTreePath
in interface JournalFolderModel
public void setTreePath(String treePath)
setTreePath
in interface JournalFolderModel
treePath
- the tree path of this journal folderpublic String getName()
getName
in interface JournalFolderModel
public void setName(String name)
setName
in interface JournalFolderModel
name
- the name of this journal folderpublic String getDescription()
getDescription
in interface JournalFolderModel
public void setDescription(String description)
setDescription
in interface JournalFolderModel
description
- the description of this journal folderpublic int getStatus()
getStatus
in interface TrashedModel
getStatus
in interface WorkflowedModel
getStatus
in interface JournalFolderModel
public void setStatus(int status)
setStatus
in interface WorkflowedModel
setStatus
in interface JournalFolderModel
status
- the status of this journal folderpublic long getStatusByUserId()
getStatusByUserId
in interface WorkflowedModel
getStatusByUserId
in interface JournalFolderModel
public void setStatusByUserId(long statusByUserId)
setStatusByUserId
in interface WorkflowedModel
setStatusByUserId
in interface JournalFolderModel
statusByUserId
- the status by user ID of this journal folderpublic String getStatusByUserUuid() throws SystemException
getStatusByUserUuid
in interface WorkflowedModel
getStatusByUserUuid
in interface JournalFolderModel
SystemException
- if a system exception occurredpublic void setStatusByUserUuid(String statusByUserUuid)
setStatusByUserUuid
in interface WorkflowedModel
setStatusByUserUuid
in interface JournalFolderModel
statusByUserUuid
- the status by user uuid of this journal folderpublic String getStatusByUserName()
getStatusByUserName
in interface WorkflowedModel
getStatusByUserName
in interface JournalFolderModel
public void setStatusByUserName(String statusByUserName)
setStatusByUserName
in interface WorkflowedModel
setStatusByUserName
in interface JournalFolderModel
statusByUserName
- the status by user name of this journal folderpublic Date getStatusDate()
getStatusDate
in interface WorkflowedModel
getStatusDate
in interface JournalFolderModel
public void setStatusDate(Date statusDate)
setStatusDate
in interface WorkflowedModel
setStatusDate
in interface JournalFolderModel
statusDate
- the status date of this journal folderpublic TrashEntry getTrashEntry() throws PortalException, SystemException
getTrashEntry
in interface TrashedModel
getTrashEntry
in interface JournalFolderModel
SystemException
- if a system exception occurred
PortalException
public long getTrashEntryClassPK()
getTrashEntryClassPK
in interface TrashedModel
getTrashEntryClassPK
in interface JournalFolderModel
public TrashHandler getTrashHandler()
getTrashHandler
in interface TrashedModel
getTrashHandler
in interface JournalFolderModel
public boolean isInTrash()
true
if this journal folder is in the Recycle Bin.
isInTrash
in interface TrashedModel
isInTrash
in interface JournalFolderModel
true
if this journal folder is in the Recycle Bin; false
otherwisepublic boolean isInTrashContainer()
true
if the parent of this journal folder is in the Recycle Bin.
isInTrashContainer
in interface TrashedModel
isInTrashContainer
in interface JournalFolderModel
true
if the parent of this journal folder is in the Recycle Bin; false
otherwise
SystemException
- if a system exception occurredpublic boolean getApproved()
isApproved()
getApproved
in interface WorkflowedModel
getApproved
in interface JournalFolderModel
public boolean isApproved()
true
if this journal folder is approved.
isApproved
in interface WorkflowedModel
isApproved
in interface JournalFolderModel
true
if this journal folder is approved; false
otherwisepublic boolean isDenied()
true
if this journal folder is denied.
isDenied
in interface WorkflowedModel
isDenied
in interface JournalFolderModel
true
if this journal folder is denied; false
otherwisepublic boolean isDraft()
true
if this journal folder is a draft.
isDraft
in interface WorkflowedModel
isDraft
in interface JournalFolderModel
true
if this journal folder is a draft; false
otherwisepublic boolean isExpired()
true
if this journal folder is expired.
isExpired
in interface WorkflowedModel
isExpired
in interface JournalFolderModel
true
if this journal folder is expired; false
otherwisepublic boolean isInactive()
true
if this journal folder is inactive.
isInactive
in interface WorkflowedModel
isInactive
in interface JournalFolderModel
true
if this journal folder is inactive; false
otherwisepublic boolean isIncomplete()
true
if this journal folder is incomplete.
isIncomplete
in interface WorkflowedModel
isIncomplete
in interface JournalFolderModel
true
if this journal folder is incomplete; false
otherwisepublic boolean isPending()
true
if this journal folder is pending.
isPending
in interface WorkflowedModel
isPending
in interface JournalFolderModel
true
if this journal folder is pending; false
otherwisepublic boolean isScheduled()
true
if this journal folder is scheduled.
isScheduled
in interface WorkflowedModel
isScheduled
in interface JournalFolderModel
true
if this journal folder is scheduled; false
otherwisepublic long getContainerModelId()
getContainerModelId
in interface ContainerModel
getContainerModelId
in interface JournalFolderModel
public void setContainerModelId(long containerModelId)
setContainerModelId
in interface ContainerModel
setContainerModelId
in interface JournalFolderModel
containerModelId
- the container model ID of this journal folderpublic String getContainerModelName()
getContainerModelName
in interface ContainerModel
getContainerModelName
in interface JournalFolderModel
public long getParentContainerModelId()
getParentContainerModelId
in interface ContainerModel
getParentContainerModelId
in interface JournalFolderModel
public void setParentContainerModelId(long parentContainerModelId)
setParentContainerModelId
in interface ContainerModel
setParentContainerModelId
in interface JournalFolderModel
parentContainerModelId
- the parent container model ID of this journal folderpublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<JournalFolder>
isNew
in interface JournalFolderModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<JournalFolder>
setNew
in interface JournalFolderModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<JournalFolder>
isCachedModel
in interface JournalFolderModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<JournalFolder>
setCachedModel
in interface JournalFolderModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<JournalFolder>
isEscapedModel
in interface JournalFolderModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<JournalFolder>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface TreeModel
getPrimaryKeyObj
in interface JournalFolderModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<JournalFolder>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface JournalFolderModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<JournalFolder>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface JournalFolderModel
public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<JournalFolder>
setExpandoBridgeAttributes
in interface JournalFolderModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<JournalFolder>
setExpandoBridgeAttributes
in interface JournalFolderModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<JournalFolder>
setExpandoBridgeAttributes
in interface JournalFolderModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<JournalFolder>
clone
in interface StagedModel
clone
in interface JournalFolderModel
clone
in class Object
public int compareTo(JournalFolder journalFolder)
compareTo
in interface JournalFolderModel
compareTo
in interface Comparable<JournalFolder>
public int hashCode()
hashCode
in interface JournalFolderModel
hashCode
in class Object
public CacheModel<JournalFolder> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<JournalFolder>
toCacheModel
in interface JournalFolderModel
public JournalFolder toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<JournalFolder>
toEscapedModel
in interface JournalFolderModel
AutoEscapeBeanHandler
public JournalFolder toUnescapedModel()
toUnescapedModel
in interface BaseModel<JournalFolder>
toUnescapedModel
in interface JournalFolderModel
public String toString()
toString
in interface JournalFolderModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<JournalFolder>
toXmlString
in interface JournalFolderModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic String buildTreePath() throws PortalException, SystemException
buildTreePath
in interface TreeModel
PortalException
SystemException
public void updateTreePath(String treePath) throws SystemException
updateTreePath
in interface TreeModel
SystemException
public List<Long> getAncestorFolderIds() throws PortalException, SystemException
getAncestorFolderIds
in interface JournalFolder
PortalException
SystemException
public List<JournalFolder> getAncestors() throws PortalException, SystemException
getAncestors
in interface JournalFolder
PortalException
SystemException
public JournalFolder getParentFolder() throws PortalException, SystemException
getParentFolder
in interface JournalFolder
PortalException
SystemException
public boolean isInTrashExplicitly() throws SystemException
isInTrashExplicitly
in interface JournalFolder
SystemException
public boolean isRoot()
isRoot
in interface JournalFolder
public boolean equals(Object obj)
equals
in class Object
public StagedModelType getStagedModelType()
getStagedModelType
in interface StagedModel
public JournalFolder getWrappedJournalFolder()
getWrappedModel()
public JournalFolder getWrappedModel()
getWrappedModel
in interface ModelWrapper<JournalFolder>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<JournalFolder>
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |