Liferay 6.2.0-ce-rc3

com.liferay.portlet.documentlibrary.model.impl
Class DLFolderImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<DLFolder>
      extended by com.liferay.portlet.documentlibrary.model.impl.DLFolderModelImpl
          extended by com.liferay.portlet.documentlibrary.model.impl.DLFolderBaseImpl
              extended by com.liferay.portlet.documentlibrary.model.impl.DLFolderImpl
All Implemented Interfaces:
AuditedModel, BaseModel<DLFolder>, ClassedModel, ContainerModel, GroupedModel, PersistedModel, StagedGroupedModel, StagedModel, TrashedModel, WorkflowedModel, DLFolder, DLFolderModel, Serializable, Cloneable, Comparable<DLFolder>

public class DLFolderImpl
extends DLFolderBaseImpl

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.liferay.portlet.documentlibrary.model.impl.DLFolderModelImpl
COLUMN_BITMASK_ENABLED, COMPANYID_COLUMN_BITMASK, DATA_SOURCE, ENTITY_CACHE_ENABLED, FINDER_CACHE_ENABLED, FINDER_CACHE_ENABLED_DLFILEENTRYTYPES_DLFOLDERS, GROUPID_COLUMN_BITMASK, HIDDEN_COLUMN_BITMASK, LOCK_EXPIRATION_TIME, MAPPING_TABLE_DLFILEENTRYTYPES_DLFOLDERS_COLUMNS, MAPPING_TABLE_DLFILEENTRYTYPES_DLFOLDERS_NAME, MAPPING_TABLE_DLFILEENTRYTYPES_DLFOLDERS_SQL_CREATE, MOUNTPOINT_COLUMN_BITMASK, NAME_COLUMN_BITMASK, ORDER_BY_JPQL, ORDER_BY_SQL, PARENTFOLDERID_COLUMN_BITMASK, REPOSITORYID_COLUMN_BITMASK, SESSION_FACTORY, STATUS_COLUMN_BITMASK, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER, UUID_COLUMN_BITMASK
 
Constructor Summary
DLFolderImpl()
           
 
Method Summary
 String buildTreePath()
           
protected  void buildTreePath(StringBundler sb, DLFolder dlFolder)
           
 List<Long> getAncestorFolderIds()
           
 List<DLFolder> getAncestors()
           
 DLFolder getParentFolder()
           
 String getPath()
           
 String[] getPathArray()
           
 StagedModelType getStagedModelType()
           
 DLFolder getTrashContainer()
           
 boolean hasInheritableLock()
           
 boolean hasLock()
           
 boolean isInHiddenFolder()
           
 boolean isInTrashContainer()
          Returns true if the parent of this document library folder is in the Recycle Bin.
 boolean isLocked()
           
 boolean isRoot()
           
 
Methods inherited from class com.liferay.portlet.documentlibrary.model.impl.DLFolderBaseImpl
persist
 
Methods inherited from class com.liferay.portlet.documentlibrary.model.impl.DLFolderModelImpl
clone, compareTo, equals, getApproved, getColumnBitmask, getCompanyId, getContainerModelId, getContainerModelName, getCreateDate, getDefaultFileEntryTypeId, getDescription, getExpandoBridge, getFolderId, getGroupId, getHidden, getLastPostDate, getModelAttributes, getModelClass, getModelClassName, getModifiedDate, getMountPoint, getName, getOriginalCompanyId, getOriginalGroupId, getOriginalHidden, getOriginalMountPoint, getOriginalName, getOriginalParentFolderId, getOriginalRepositoryId, getOriginalStatus, getOriginalUuid, getOverrideFileEntryTypes, getParentContainerModelId, getParentFolderId, getPrimaryKey, getPrimaryKeyObj, getRepositoryId, getStatus, getStatusByUserId, getStatusByUserName, getStatusByUserUuid, getStatusDate, getTrashEntry, getTrashEntryClassPK, getTrashHandler, getTreePath, getUserId, getUserName, getUserUuid, getUuid, hashCode, isApproved, isDenied, isDraft, isExpired, isHidden, isInactive, isIncomplete, isInTrash, isMountPoint, isOverrideFileEntryTypes, isPending, isScheduled, resetOriginalValues, setCompanyId, setContainerModelId, setCreateDate, setDefaultFileEntryTypeId, setDescription, setExpandoBridgeAttributes, setFolderId, setGroupId, setHidden, setLastPostDate, setModelAttributes, setModifiedDate, setMountPoint, setName, setOverrideFileEntryTypes, setParentContainerModelId, setParentFolderId, setPrimaryKey, setPrimaryKeyObj, setRepositoryId, setStatus, setStatusByUserId, setStatusByUserName, setStatusByUserUuid, setStatusDate, setTreePath, setUserId, setUserName, setUserUuid, setUuid, toCacheModel, toEscapedModel, toModel, toModels, toString, toXmlString
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.documentlibrary.model.DLFolderModel
clone, compareTo, getApproved, getCompanyId, getContainerModelId, getContainerModelName, getCreateDate, getDefaultFileEntryTypeId, getDescription, getExpandoBridge, getFolderId, getGroupId, getHidden, getLastPostDate, getModifiedDate, getMountPoint, getName, getOverrideFileEntryTypes, getParentContainerModelId, getParentFolderId, getPrimaryKey, getPrimaryKeyObj, getRepositoryId, getStatus, getStatusByUserId, getStatusByUserName, getStatusByUserUuid, getStatusDate, getTrashEntry, getTrashEntryClassPK, getTrashHandler, getTreePath, getUserId, getUserName, getUserUuid, getUuid, hashCode, isApproved, isCachedModel, isDenied, isDraft, isEscapedModel, isExpired, isHidden, isInactive, isIncomplete, isInTrash, isMountPoint, isNew, isOverrideFileEntryTypes, isPending, isScheduled, setCachedModel, setCompanyId, setContainerModelId, setCreateDate, setDefaultFileEntryTypeId, setDescription, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setFolderId, setGroupId, setHidden, setLastPostDate, setModifiedDate, setMountPoint, setName, setNew, setOverrideFileEntryTypes, setParentContainerModelId, setParentFolderId, setPrimaryKey, setPrimaryKeyObj, setRepositoryId, setStatus, setStatusByUserId, setStatusByUserName, setStatusByUserUuid, setStatusDate, setTreePath, setUserId, setUserName, setUserUuid, setUuid, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString
 
Methods inherited from interface com.liferay.portal.model.BaseModel
getModelAttributes, resetOriginalValues, setModelAttributes
 
Methods inherited from interface com.liferay.portal.model.ContainerModel
getModelClass, getModelClassName
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 

Constructor Detail

DLFolderImpl

public DLFolderImpl()
Method Detail

buildTreePath

public String buildTreePath()
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

getAncestorFolderIds

public List<Long> getAncestorFolderIds()
                                throws PortalException,
                                       SystemException
Throws:
PortalException
SystemException

getAncestors

public List<DLFolder> getAncestors()
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

getParentFolder

public DLFolder getParentFolder()
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

getPath

public String getPath()
               throws PortalException,
                      SystemException
Throws:
PortalException
SystemException

getPathArray

public String[] getPathArray()
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

getStagedModelType

public StagedModelType getStagedModelType()
Specified by:
getStagedModelType in interface StagedModel
Overrides:
getStagedModelType in class DLFolderModelImpl

getTrashContainer

public DLFolder getTrashContainer()

hasInheritableLock

public boolean hasInheritableLock()

hasLock

public boolean hasLock()

isInHiddenFolder

public boolean isInHiddenFolder()

isInTrashContainer

public boolean isInTrashContainer()
Description copied from interface: DLFolderModel
Returns true if the parent of this document library folder is in the Recycle Bin.

Specified by:
isInTrashContainer in interface TrashedModel
Specified by:
isInTrashContainer in interface DLFolderModel
Overrides:
isInTrashContainer in class DLFolderModelImpl
Returns:
true if the parent of this document library folder is in the Recycle Bin; false otherwise

isLocked

public boolean isLocked()

isRoot

public boolean isRoot()

buildTreePath

protected void buildTreePath(StringBundler sb,
                             DLFolder dlFolder)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

Liferay 6.2.0-ce-rc3