001
014
015 package com.liferay.portal.kernel.repository.model;
016
017 import com.liferay.portal.kernel.exception.PortalException;
018 import com.liferay.portal.kernel.exception.SystemException;
019 import com.liferay.portal.kernel.util.Accessor;
020 import com.liferay.portal.security.permission.PermissionChecker;
021
022 import java.util.Date;
023 import java.util.List;
024
025
028 public interface Folder extends RepositoryModel<Folder> {
029
030 public static final Accessor<Folder, Long> FOLDER_ID_ACCESSOR =
031
032 new Accessor<Folder, Long>() {
033
034 public Long get(Folder folder) {
035 return folder.getFolderId();
036 }
037
038 };
039
040 public boolean containsPermission(
041 PermissionChecker permissionChecker, String actionId)
042 throws PortalException, SystemException;
043
044 public List<Long> getAncestorFolderIds()
045 throws PortalException, SystemException;
046
047 public List<Folder> getAncestors()
048 throws PortalException, SystemException;
049
050 public long getCompanyId();
051
052 public Date getCreateDate();
053
054 public String getDescription();
055
056 public long getFolderId();
057
058 public long getGroupId();
059
060 public Date getLastPostDate();
061
062 public Date getModifiedDate();
063
064 public String getName();
065
066 public Folder getParentFolder() throws PortalException, SystemException;
067
068 public long getParentFolderId();
069
070 public long getRepositoryId();
071
072 public long getUserId();
073
074 public String getUserName();
075
076 public String getUserUuid() throws SystemException;
077
078 public String getUuid();
079
080 public boolean hasInheritableLock();
081
082 public boolean hasLock();
083
084 public boolean isDefaultRepository();
085
086 public boolean isLocked();
087
088 public boolean isMountPoint();
089
090 public boolean isRoot();
091
092 public boolean isSupportsLocking();
093
094 public boolean isSupportsMetadata();
095
096 public boolean isSupportsMultipleUpload();
097
098 public boolean isSupportsShortcuts();
099
100 public boolean isSupportsSocial();
101
102 public boolean isSupportsSubscribing();
103
104 }