com.liferay.portal.repository.liferayrepository.model
Class LiferayFolder
java.lang.Object
com.liferay.portal.repository.liferayrepository.util.LiferayBase
com.liferay.portal.repository.liferayrepository.model.LiferayModel
com.liferay.portal.repository.liferayrepository.model.LiferayFolder
- All Implemented Interfaces:
- Folder, RepositoryModel<Folder>, AuditedModel, ClassedModel, GroupedModel, Serializable
public class LiferayFolder
- extends LiferayModel
- implements Folder
- See Also:
- Serialized Form
LiferayFolder
public LiferayFolder(DLFolder dlFolder)
LiferayFolder
public LiferayFolder(DLFolder dlFolder,
boolean escapedModel)
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
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 class LiferayModel
getCreateDate
public Date getCreateDate()
- Specified by:
getCreateDate
in interface Folder
- Specified by:
getCreateDate
in interface AuditedModel
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 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
- Specified by:
getModelClassName
in class LiferayModel
getModifiedDate
public Date getModifiedDate()
- Specified by:
getModifiedDate
in interface Folder
- Specified by:
getModifiedDate
in interface AuditedModel
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>
- 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
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
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
setCompanyId
public void setCompanyId(long companyId)
- Specified by:
setCompanyId
in interface AuditedModel
setCreateDate
public void setCreateDate(Date date)
- Specified by:
setCreateDate
in interface AuditedModel
setGroupId
public void setGroupId(long groupId)
- Specified by:
setGroupId
in interface GroupedModel
setModifiedDate
public void setModifiedDate(Date date)
- Specified by:
setModifiedDate
in interface AuditedModel
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
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>