com.liferay.portal.kernel.repository.model
Class FolderWrapper
java.lang.Object
com.liferay.portal.kernel.repository.model.FolderWrapper
- All Implemented Interfaces:
- Folder, RepositoryModel<Folder>, AuditedModel, ClassedModel, GroupedModel, ModelWrapper<Folder>, StagedGroupedModel, StagedModel, Serializable
public class FolderWrapper
- extends Object
- implements Folder, ModelWrapper<Folder>
- See Also:
- Serialized Form
FolderWrapper
public FolderWrapper(Folder folder)
clone
public Object clone()
- Specified by:
clone
in interface StagedModel
- Overrides:
clone
in class Object
containsPermission
public boolean containsPermission(PermissionChecker permissionChecker,
String actionId)
throws PortalException,
SystemException
- Specified by:
containsPermission
in interface Folder
- Throws:
PortalException
SystemException
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
getAncestorFolderIds
public List<Long> getAncestorFolderIds()
throws PortalException,
SystemException
- Specified by:
getAncestorFolderIds
in interface Folder
- Throws:
PortalException
SystemException
getAncestors
public List<Folder> getAncestors()
throws PortalException,
SystemException
- Specified by:
getAncestors
in interface Folder
- Throws:
PortalException
SystemException
getAttributes
public Map<String,Serializable> getAttributes()
- Specified by:
getAttributes
in interface RepositoryModel<Folder>
getCompanyId
public long getCompanyId()
- Specified by:
getCompanyId
in interface Folder
- Specified by:
getCompanyId
in interface AuditedModel
- Specified by:
getCompanyId
in interface StagedModel
getCreateDate
public Date getCreateDate()
- Specified by:
getCreateDate
in interface Folder
- Specified by:
getCreateDate
in interface AuditedModel
- Specified by:
getCreateDate
in interface StagedModel
getDescription
public String getDescription()
- Specified by:
getDescription
in interface Folder
getExpandoBridge
public ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge
in interface ClassedModel
getFolderId
public long getFolderId()
- Specified by:
getFolderId
in interface Folder
getGroupId
public long getGroupId()
- Specified by:
getGroupId
in interface Folder
- Specified by:
getGroupId
in interface GroupedModel
getLastPostDate
public Date getLastPostDate()
- Specified by:
getLastPostDate
in interface Folder
getModel
public Object getModel()
- Specified by:
getModel
in interface RepositoryModel<Folder>
getModelClass
public Class<?> getModelClass()
- Specified by:
getModelClass
in interface ClassedModel
getModelClassName
public String getModelClassName()
- Specified by:
getModelClassName
in interface ClassedModel
getModifiedDate
public Date getModifiedDate()
- Specified by:
getModifiedDate
in interface Folder
- Specified by:
getModifiedDate
in interface AuditedModel
- Specified by:
getModifiedDate
in interface StagedModel
getName
public String getName()
- Specified by:
getName
in interface Folder
getParentFolder
public Folder getParentFolder()
throws PortalException,
SystemException
- Specified by:
getParentFolder
in interface Folder
- Throws:
PortalException
SystemException
getParentFolderId
public long getParentFolderId()
- Specified by:
getParentFolderId
in interface Folder
getPrimaryKey
public long getPrimaryKey()
- Specified by:
getPrimaryKey
in interface RepositoryModel<Folder>
getPrimaryKeyObj
public Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj
in interface ClassedModel
getRepositoryId
public long getRepositoryId()
- Specified by:
getRepositoryId
in interface Folder
getStagedModelType
public StagedModelType getStagedModelType()
- Specified by:
getStagedModelType
in interface StagedModel
getUserId
public long getUserId()
- Specified by:
getUserId
in interface Folder
- Specified by:
getUserId
in interface AuditedModel
getUserName
public String getUserName()
- Specified by:
getUserName
in interface Folder
- Specified by:
getUserName
in interface AuditedModel
getUserUuid
public String getUserUuid()
throws SystemException
- Specified by:
getUserUuid
in interface Folder
- Specified by:
getUserUuid
in interface AuditedModel
- Throws:
SystemException
getUuid
public String getUuid()
- Specified by:
getUuid
in interface Folder
- Specified by:
getUuid
in interface StagedModel
getWrappedModel
public Folder getWrappedModel()
- Specified by:
getWrappedModel
in interface ModelWrapper<Folder>
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
hasInheritableLock
public boolean hasInheritableLock()
- Specified by:
hasInheritableLock
in interface Folder
hasLock
public boolean hasLock()
- Specified by:
hasLock
in interface Folder
isDefaultRepository
public boolean isDefaultRepository()
- Specified by:
isDefaultRepository
in interface Folder
isEscapedModel
public boolean isEscapedModel()
- Specified by:
isEscapedModel
in interface RepositoryModel<Folder>
isLocked
public boolean isLocked()
- Specified by:
isLocked
in interface Folder
isMountPoint
public boolean isMountPoint()
- Specified by:
isMountPoint
in interface Folder
isRoot
public boolean isRoot()
- Specified by:
isRoot
in interface Folder
isSupportsLocking
public boolean isSupportsLocking()
- Specified by:
isSupportsLocking
in interface Folder
isSupportsMetadata
public boolean isSupportsMetadata()
- Specified by:
isSupportsMetadata
in interface Folder
isSupportsMultipleUpload
public boolean isSupportsMultipleUpload()
- Specified by:
isSupportsMultipleUpload
in interface Folder
isSupportsShortcuts
public boolean isSupportsShortcuts()
- Specified by:
isSupportsShortcuts
in interface Folder
isSupportsSocial
public boolean isSupportsSocial()
- Specified by:
isSupportsSocial
in interface Folder
isSupportsSubscribing
public boolean isSupportsSubscribing()
- Specified by:
isSupportsSubscribing
in interface Folder
setCompanyId
public void setCompanyId(long companyId)
- Specified by:
setCompanyId
in interface AuditedModel
- Specified by:
setCompanyId
in interface StagedModel
setCreateDate
public void setCreateDate(Date date)
- Specified by:
setCreateDate
in interface AuditedModel
- Specified by:
setCreateDate
in interface StagedModel
setGroupId
public void setGroupId(long groupId)
- Specified by:
setGroupId
in interface GroupedModel
setModifiedDate
public void setModifiedDate(Date date)
- Specified by:
setModifiedDate
in interface AuditedModel
- Specified by:
setModifiedDate
in interface StagedModel
setPrimaryKeyObj
public void setPrimaryKeyObj(Serializable primaryKeyObj)
- Specified by:
setPrimaryKeyObj
in interface ClassedModel
setUserId
public void setUserId(long userId)
- Specified by:
setUserId
in interface AuditedModel
setUserName
public void setUserName(String userName)
- Specified by:
setUserName
in interface AuditedModel
setUserUuid
public void setUserUuid(String userUuid)
- Specified by:
setUserUuid
in interface AuditedModel
setUuid
public void setUuid(String uuid)
- Specified by:
setUuid
in interface StagedModel
toEscapedModel
public Folder toEscapedModel()
- Specified by:
toEscapedModel
in interface RepositoryModel<Folder>
toString
public String toString()
- Overrides:
toString
in class Object
toUnescapedModel
public Folder toUnescapedModel()
- Specified by:
toUnescapedModel
in interface RepositoryModel<Folder>