public class FolderWrapper extends Object implements Folder, ModelWrapper<Folder>
FOLDER_ID_ACCESSOR
Constructor and Description |
---|
FolderWrapper(Folder folder) |
public FolderWrapper(Folder folder)
public Object clone()
clone
in interface StagedModel
clone
in class Object
public boolean containsPermission(PermissionChecker permissionChecker, String actionId) throws PortalException
containsPermission
in interface Folder
PortalException
public boolean equals(Object object)
equals
in class Object
public void execute(RepositoryModelOperation repositoryModelOperation) throws PortalException
execute
in interface RepositoryModel<Folder>
PortalException
public List<Long> getAncestorFolderIds() throws PortalException
getAncestorFolderIds
in interface Folder
PortalException
public List<Folder> getAncestors() throws PortalException
getAncestors
in interface Folder
PortalException
public Map<String,Serializable> getAttributes()
getAttributes
in interface RepositoryModel<Folder>
public long getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface StagedModel
getCompanyId
in interface Folder
getCompanyId
in interface RepositoryEntry
public Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface StagedModel
getCreateDate
in interface Folder
getCreateDate
in interface RepositoryEntry
public String getDescription()
getDescription
in interface Folder
public ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface ClassedModel
public long getFolderId()
getFolderId
in interface Folder
public long getGroupId()
getGroupId
in interface GroupedModel
getGroupId
in interface Folder
getGroupId
in interface RepositoryEntry
public Date getLastPostDate()
getLastPostDate
in interface Folder
public Date getLastPublishDate()
getLastPublishDate
in interface StagedGroupedModel
public Object getModel()
getModel
in interface RepositoryModel<Folder>
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface StagedModel
getModifiedDate
in interface Folder
getModifiedDate
in interface RepositoryEntry
public Folder getParentFolder() throws PortalException
getParentFolder
in interface Folder
PortalException
public long getParentFolderId()
getParentFolderId
in interface Folder
public long getPrimaryKey()
getPrimaryKey
in interface RepositoryModel<Folder>
public Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface ClassedModel
public <T extends Capability> T getRepositoryCapability(Class<T> capabilityClass)
getRepositoryCapability
in interface Folder
public long getRepositoryId()
getRepositoryId
in interface Folder
public StagedModelType getStagedModelType()
getStagedModelType
in interface StagedModel
public long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface Folder
getUserId
in interface RepositoryEntry
public String getUserName()
getUserName
in interface AuditedModel
getUserName
in interface Folder
getUserName
in interface RepositoryEntry
public String getUserUuid()
getUserUuid
in interface AuditedModel
getUserUuid
in interface Folder
getUserUuid
in interface RepositoryEntry
public String getUuid()
getUuid
in interface StagedModel
getUuid
in interface Folder
public Folder getWrappedModel()
getWrappedModel
in interface ModelWrapper<Folder>
public int hashCode()
hashCode
in class Object
public boolean hasInheritableLock()
hasInheritableLock
in interface Folder
public boolean isDefaultRepository()
isDefaultRepository
in interface Folder
public boolean isEscapedModel()
isEscapedModel
in interface RepositoryModel<Folder>
public boolean isMountPoint()
isMountPoint
in interface Folder
public <T extends Capability> boolean isRepositoryCapabilityProvided(Class<T> capabilityClass)
isRepositoryCapabilityProvided
in interface Folder
public boolean isSupportsLocking()
isSupportsLocking
in interface Folder
public boolean isSupportsMetadata()
isSupportsMetadata
in interface Folder
public boolean isSupportsMultipleUpload()
isSupportsMultipleUpload
in interface Folder
public boolean isSupportsShortcuts()
isSupportsShortcuts
in interface Folder
public boolean isSupportsSocial()
isSupportsSocial
in interface Folder
public boolean isSupportsSubscribing()
isSupportsSubscribing
in interface Folder
public void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface StagedModel
public void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface StagedModel
public void setGroupId(long groupId)
setGroupId
in interface GroupedModel
public void setLastPublishDate(Date lastPublishDate)
setLastPublishDate
in interface StagedGroupedModel
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface StagedModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
setPrimaryKeyObj
in interface ClassedModel
public void setUserId(long userId)
setUserId
in interface AuditedModel
public void setUserName(String userName)
setUserName
in interface AuditedModel
public void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
public void setUuid(String uuid)
setUuid
in interface StagedModel
public Folder toEscapedModel()
toEscapedModel
in interface RepositoryModel<Folder>
public String toString()
toString
in class Object
public Folder toUnescapedModel()
toUnescapedModel
in interface RepositoryModel<Folder>