com.liferay.portal.repository.liferayrepository.model
Class LiferayFolder
java.lang.Object
com.liferay.portal.repository.liferayrepository.model.LiferayModel
com.liferay.portal.repository.liferayrepository.model.LiferayFolder
- All Implemented Interfaces:
- Folder, RepositoryEntry, RepositoryModel<Folder>, AuditedModel, ClassedModel, GroupedModel, StagedGroupedModel, StagedModel, Serializable
public class LiferayFolder
- extends LiferayModel
- implements Folder
- See Also:
- Serialized Form
LiferayFolder
public LiferayFolder(DLFolder dlFolder)
LiferayFolder
public LiferayFolder(DLFolder dlFolder,
boolean escapedModel)
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
- Specified by:
containsPermission in interface Folder
- Throws:
PortalException
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
execute
public void execute(RepositoryModelOperation repositoryModelOperation)
throws PortalException
- Specified by:
execute in interface RepositoryModel<Folder>
- Throws:
PortalException
getAncestorFolderIds
public List<Long> getAncestorFolderIds()
throws PortalException
- Specified by:
getAncestorFolderIds in interface Folder
- Throws:
PortalException
getAncestors
public List<Folder> getAncestors()
throws PortalException
- Specified by:
getAncestors in interface Folder
- Throws:
PortalException
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 RepositoryEntry- Specified by:
getCompanyId in interface AuditedModel- Specified by:
getCompanyId in interface StagedModel- Specified by:
getCompanyId in class LiferayModel
getCreateDate
public Date getCreateDate()
- Specified by:
getCreateDate in interface Folder- Specified by:
getCreateDate in interface RepositoryEntry- 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- Specified by:
getExpandoBridge in class LiferayModel
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 RepositoryEntry- Specified by:
getGroupId in interface GroupedModel
getLastPostDate
public Date getLastPostDate()
- Specified by:
getLastPostDate in interface Folder
getLastPublishDate
public Date getLastPublishDate()
- Specified by:
getLastPublishDate in interface StagedGroupedModel
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- Specified by:
getModelClassName in class LiferayModel
getModifiedDate
public Date getModifiedDate()
- Specified by:
getModifiedDate in interface Folder- Specified by:
getModifiedDate in interface RepositoryEntry- 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
- Specified by:
getParentFolder in interface Folder
- Throws:
PortalException
getParentFolderId
public long getParentFolderId()
- Specified by:
getParentFolderId in interface Folder
getPrimaryKey
public long getPrimaryKey()
- Specified by:
getPrimaryKey in interface RepositoryModel<Folder>- Specified by:
getPrimaryKey in class LiferayModel
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 RepositoryEntry- Specified by:
getUserId in interface AuditedModel
getUserName
public String getUserName()
- Specified by:
getUserName in interface Folder- Specified by:
getUserName in interface RepositoryEntry- Specified by:
getUserName in interface AuditedModel
getUserUuid
public String getUserUuid()
- Specified by:
getUserUuid in interface Folder- Specified by:
getUserUuid in interface RepositoryEntry- Specified by:
getUserUuid in interface AuditedModel
getUuid
public String getUuid()
- Specified by:
getUuid in interface Folder- Specified by:
getUuid in interface StagedModel
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 createDate)
- Specified by:
setCreateDate in interface AuditedModel- Specified by:
setCreateDate in interface StagedModel
setGroupId
public void setGroupId(long groupId)
- Specified by:
setGroupId in interface GroupedModel
setLastPublishDate
public void setLastPublishDate(Date lastPublishDate)
- Specified by:
setLastPublishDate in interface StagedGroupedModel
setModifiedDate
public void setModifiedDate(Date modifiedDate)
- Specified by:
setModifiedDate in interface AuditedModel- Specified by:
setModifiedDate in interface StagedModel
setPrimaryKey
public void setPrimaryKey(long primaryKey)
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>