Liferay 6.1.2-ce-ga3

com.liferay.portal.repository.liferayrepository.model
Class LiferayFolder

java.lang.Object
  extended by com.liferay.portal.repository.liferayrepository.util.LiferayBase
      extended by com.liferay.portal.repository.liferayrepository.model.LiferayModel
          extended by 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

Field Summary
 
Fields inherited from interface com.liferay.portal.kernel.repository.model.Folder
FOLDER_ID_ACCESSOR
 
Constructor Summary
LiferayFolder(DLFolder dlFolder)
           
LiferayFolder(DLFolder dlFolder, boolean escapedModel)
           
 
Method Summary
 boolean containsPermission(PermissionChecker permissionChecker, String actionId)
           
 boolean equals(Object obj)
           
 List<Folder> getAncestors()
           
 Map<String,Serializable> getAttributes()
           
 long getCompanyId()
           
 Date getCreateDate()
           
 String getDescription()
           
 ExpandoBridge getExpandoBridge()
           
 long getFolderId()
           
 long getGroupId()
           
 Date getLastPostDate()
           
 Object getModel()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
           
 String getName()
           
 Folder getParentFolder()
           
 long getParentFolderId()
           
 long getPrimaryKey()
           
 Serializable getPrimaryKeyObj()
           
 long getRepositoryId()
           
 long getUserId()
           
 String getUserName()
           
 String getUserUuid()
           
 String getUuid()
           
 int hashCode()
           
 boolean hasInheritableLock()
           
 boolean hasLock()
           
 boolean isDefaultRepository()
           
 boolean isEscapedModel()
           
 boolean isLocked()
           
 boolean isMountPoint()
           
 boolean isRoot()
           
 boolean isSupportsLocking()
           
 boolean isSupportsMetadata()
           
 boolean isSupportsMultipleUpload()
           
 boolean isSupportsShortcuts()
           
 boolean isSupportsSocial()
           
 void setCompanyId(long companyId)
           
 void setCreateDate(Date date)
           
 void setGroupId(long groupId)
           
 void setModifiedDate(Date date)
           
 void setPrimaryKey(long primaryKey)
           
 void setPrimaryKeyObj(Serializable primaryKeyObj)
           
 void setUserId(long userId)
           
 void setUserName(String userName)
           
 void setUserUuid(String userUuid)
           
 Folder toEscapedModel()
           
 String toString()
           
 Folder toUnescapedModel()
           
 
Methods inherited from class com.liferay.portal.repository.liferayrepository.util.LiferayBase
toFileEntries, toFileEntriesAndFolders, toFileVersions, toFolders
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LiferayFolder

public LiferayFolder(DLFolder dlFolder)

LiferayFolder

public LiferayFolder(DLFolder dlFolder,
                     boolean escapedModel)
Method Detail

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>

Liferay 6.1.2-ce-ga3