001
014
015 package com.liferay.portlet.documentlibrary.model;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.util.Accessor;
020 import com.liferay.portal.model.PersistedModel;
021 import com.liferay.portal.model.TreeModel;
022
023
032 @ProviderType
033 public interface DLFolder extends DLFolderModel, PersistedModel, TreeModel {
034
039 public static final Accessor<DLFolder, Long> FOLDER_ID_ACCESSOR = new Accessor<DLFolder, Long>() {
040 @Override
041 public Long get(DLFolder dlFolder) {
042 return dlFolder.getFolderId();
043 }
044
045 @Override
046 public Class<Long> getAttributeClass() {
047 return Long.class;
048 }
049
050 @Override
051 public Class<DLFolder> getTypeClass() {
052 return DLFolder.class;
053 }
054 };
055
056 public java.util.List<java.lang.Long> getAncestorFolderIds()
057 throws com.liferay.portal.kernel.exception.PortalException;
058
059 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getAncestors()
060 throws com.liferay.portal.kernel.exception.PortalException;
061
062 public com.liferay.portlet.documentlibrary.model.DLFolder getParentFolder()
063 throws com.liferay.portal.kernel.exception.PortalException;
064
065 public java.lang.String getPath()
066 throws com.liferay.portal.kernel.exception.PortalException;
067
068 public java.lang.String[] getPathArray()
069 throws com.liferay.portal.kernel.exception.PortalException;
070
071 public boolean hasInheritableLock();
072
073 public boolean hasLock();
074
075 public boolean isInHiddenFolder();
076
077 public boolean isLocked();
078
079 public boolean isRoot();
080 }