|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.service.BaseLocalServiceImpl com.liferay.portlet.documentlibrary.service.base.DLFolderLocalServiceBaseImpl com.liferay.portlet.documentlibrary.service.impl.DLFolderLocalServiceImpl
public class DLFolderLocalServiceImpl
Field Summary |
---|
Fields inherited from class com.liferay.portal.service.BaseLocalServiceImpl |
---|
layoutPersistence |
Constructor Summary | |
---|---|
DLFolderLocalServiceImpl()
|
Method Summary | |
---|---|
DLFolder |
addFolder(long userId,
long groupId,
long repositoryId,
boolean mountPoint,
long parentFolderId,
String name,
String description,
boolean hidden,
ServiceContext serviceContext)
|
DLFolder |
addFolder(long userId,
long groupId,
long repositoryId,
boolean mountPoint,
long parentFolderId,
String name,
String description,
ServiceContext serviceContext)
Deprecated. As of 6.2.0, replaced by more general addFolder(long,
long, long, boolean, long, String, String, boolean,
ServiceContext) |
protected void |
addFolderResources(DLFolder dlFolder,
boolean addGroupPermissions,
boolean addGuestPermissions)
|
protected void |
addFolderResources(DLFolder dlFolder,
String[] groupPermissions,
String[] guestPermissions)
|
protected void |
addFolderResources(long folderId,
boolean addGroupPermissions,
boolean addGuestPermissions)
|
protected void |
addFolderResources(long folderId,
String[] groupPermissions,
String[] guestPermissions)
|
void |
deleteAll(long groupId)
Deprecated. As of 7.0.0, replaced by deleteAllByGroup(long) |
void |
deleteAllByGroup(long groupId)
|
void |
deleteAllByRepository(long repositoryId)
|
DLFolder |
deleteFolder(DLFolder dlFolder)
|
DLFolder |
deleteFolder(DLFolder dlFolder,
boolean includeTrashedEntries)
|
DLFolder |
deleteFolder(long folderId)
|
DLFolder |
deleteFolder(long folderId,
boolean includeTrashedEntries)
|
DLFolder |
deleteFolder(long userId,
long folderId,
boolean includeTrashedEntries)
|
DLFolder |
fetchFolder(long folderId)
|
DLFolder |
fetchFolder(long groupId,
long parentFolderId,
String name)
|
List<DLFolder> |
getCompanyFolders(long companyId,
int start,
int end)
|
int |
getCompanyFoldersCount(long companyId)
|
List<Object> |
getFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
int start,
int end)
Deprecated. As of 6.2.0, replaced by getFileEntriesAndFileShortcuts(long, long, QueryDefinition) |
List<Object> |
getFileEntriesAndFileShortcuts(long groupId,
long folderId,
QueryDefinition queryDefinition)
|
int |
getFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status)
Deprecated. As of 6.2.0, replaced by getFileEntriesAndFileShortcutsCount(long, long,
QueryDefinition) |
int |
getFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
QueryDefinition queryDefinition)
|
DLFolder |
getFolder(long folderId)
|
DLFolder |
getFolder(long groupId,
long parentFolderId,
String name)
|
long |
getFolderId(long companyId,
long folderId)
|
List<DLFolder> |
getFolders(long groupId,
long parentFolderId)
|
List<DLFolder> |
getFolders(long groupId,
long parentFolderId,
boolean includeMountfolders)
|
List<DLFolder> |
getFolders(long groupId,
long parentFolderId,
boolean includeMountfolders,
int start,
int end,
OrderByComparator obc)
|
List<DLFolder> |
getFolders(long groupId,
long parentFolderId,
int start,
int end,
OrderByComparator obc)
|
List<Object> |
getFoldersAndFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
boolean includeMountFolders,
int start,
int end,
OrderByComparator obc)
Deprecated. As of 6.2.0, replaced by getFoldersAndFileEntriesAndFileShortcuts(long, long,
String[], boolean, QueryDefinition) |
List<Object> |
getFoldersAndFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
String[] mimeTypes,
boolean includeMountFolders,
int start,
int end,
OrderByComparator obc)
Deprecated. As of 6.2.0, replaced by getFoldersAndFileEntriesAndFileShortcutsCount(long, long,
String[], boolean, QueryDefinition) |
List<Object> |
getFoldersAndFileEntriesAndFileShortcuts(long groupId,
long folderId,
String[] mimeTypes,
boolean includeMountFolders,
QueryDefinition queryDefinition)
|
int |
getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status,
boolean includeMountFolders)
Deprecated. As of 6.2.0, replaced by getFoldersAndFileEntriesAndFileShortcutsCount(long, long,
String[], boolean, QueryDefinition) |
int |
getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status,
String[] mimeTypes,
boolean includeMountFolders)
Deprecated. As of 6.2.0, replaced by getFoldersAndFileEntriesAndFileShortcutsCount(long, long,
String[], boolean, QueryDefinition) |
int |
getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
String[] mimeTypes,
boolean includeMountFolders,
QueryDefinition queryDefinition)
|
int |
getFoldersCount(long groupId,
long parentFolderId)
|
int |
getFoldersCount(long groupId,
long parentFolderId,
boolean includeMountfolders)
|
int |
getFoldersCount(long groupId,
long parentFolderId,
int status,
boolean includeMountfolders)
|
DLFolder |
getMountFolder(long repositoryId)
|
List<DLFolder> |
getMountFolders(long groupId,
long parentFolderId,
int start,
int end,
OrderByComparator obc)
|
int |
getMountFoldersCount(long groupId,
long parentFolderId)
|
List<DLFolder> |
getNoAssetFolders()
|
protected long |
getParentFolderId(DLFolder dlFolder,
long parentFolderId)
|
protected long |
getParentFolderId(long groupId,
long repositoryId,
long parentFolderId)
|
void |
getSubfolderIds(List<Long> folderIds,
long groupId,
long folderId)
|
boolean |
hasFolderLock(long userId,
long folderId)
|
Lock |
lockFolder(long userId,
long folderId)
|
Lock |
lockFolder(long userId,
long folderId,
String owner,
boolean inheritable,
long expirationTime)
|
DLFolder |
moveFolder(long userId,
long folderId,
long parentFolderId,
ServiceContext serviceContext)
|
void |
rebuildTree(long companyId)
|
void |
rebuildTree(long companyId,
long parentFolderId,
String parentTreePath,
boolean reindex)
|
void |
unlockFolder(long groupId,
long parentFolderId,
String name,
String lockUuid)
|
void |
unlockFolder(long folderId,
String lockUuid)
|
DLFolder |
updateFolder(long folderId,
long parentFolderId,
String name,
String description,
long defaultFileEntryTypeId,
List<Long> fileEntryTypeIds,
boolean overrideFileEntryTypes,
ServiceContext serviceContext)
|
DLFolder |
updateFolder(long folderId,
String name,
String description,
long defaultFileEntryTypeId,
List<Long> fileEntryTypeIds,
boolean overrideFileEntryTypes,
ServiceContext serviceContext)
|
DLFolder |
updateFolderAndFileEntryTypes(long userId,
long folderId,
long parentFolderId,
String name,
String description,
long defaultFileEntryTypeId,
List<Long> fileEntryTypeIds,
boolean overrideFileEntryTypes,
ServiceContext serviceContext)
|
void |
updateLastPostDate(long folderId,
Date lastPostDate)
|
DLFolder |
updateStatus(long userId,
long folderId,
int status,
Map<String,Serializable> workflowContext,
ServiceContext serviceContext)
|
protected void |
validateFolder(long folderId,
long groupId,
long parentFolderId,
String name)
|
protected void |
validateFolder(long groupId,
long parentFolderId,
String name)
|
protected void |
validateFolderName(String folderName)
|
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl |
---|
getClassLoader, getLayoutURL, getLayoutURL |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DLFolderLocalServiceImpl()
Method Detail |
---|
public DLFolder addFolder(long userId, long groupId, long repositoryId, boolean mountPoint, long parentFolderId, String name, String description, boolean hidden, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public DLFolder addFolder(long userId, long groupId, long repositoryId, boolean mountPoint, long parentFolderId, String name, String description, ServiceContext serviceContext) throws PortalException, SystemException
addFolder(long,
long, long, boolean, long, String, String, boolean,
ServiceContext)
PortalException
SystemException
public void deleteAll(long groupId) throws PortalException, SystemException
deleteAllByGroup(long)
PortalException
SystemException
public void deleteAllByGroup(long groupId) throws PortalException, SystemException
PortalException
SystemException
public void deleteAllByRepository(long repositoryId) throws PortalException, SystemException
PortalException
SystemException
@Indexable(type=DELETE) @SystemEvent(action=1, send=false, type=1) public DLFolder deleteFolder(DLFolder dlFolder) throws PortalException, SystemException
PortalException
SystemException
@Indexable(type=DELETE) @SystemEvent(action=1, send=false, type=1) public DLFolder deleteFolder(DLFolder dlFolder, boolean includeTrashedEntries) throws PortalException, SystemException
PortalException
SystemException
@Indexable(type=DELETE) public DLFolder deleteFolder(long folderId) throws PortalException, SystemException
PortalException
SystemException
@Indexable(type=DELETE) public DLFolder deleteFolder(long folderId, boolean includeTrashedEntries) throws PortalException, SystemException
PortalException
SystemException
@Indexable(type=DELETE) public DLFolder deleteFolder(long userId, long folderId, boolean includeTrashedEntries) throws PortalException, SystemException
PortalException
SystemException
public DLFolder fetchFolder(long folderId) throws SystemException
SystemException
public DLFolder fetchFolder(long groupId, long parentFolderId, String name) throws SystemException
SystemException
public List<DLFolder> getCompanyFolders(long companyId, int start, int end) throws SystemException
SystemException
public int getCompanyFoldersCount(long companyId) throws SystemException
SystemException
public List<Object> getFileEntriesAndFileShortcuts(long groupId, long folderId, int status, int start, int end) throws SystemException
getFileEntriesAndFileShortcuts(long, long, QueryDefinition)
SystemException
public List<Object> getFileEntriesAndFileShortcuts(long groupId, long folderId, QueryDefinition queryDefinition) throws SystemException
SystemException
public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId, int status) throws SystemException
getFileEntriesAndFileShortcutsCount(long, long,
QueryDefinition)
SystemException
public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId, QueryDefinition queryDefinition) throws SystemException
SystemException
public DLFolder getFolder(long folderId) throws PortalException, SystemException
PortalException
SystemException
public DLFolder getFolder(long groupId, long parentFolderId, String name) throws PortalException, SystemException
PortalException
SystemException
public long getFolderId(long companyId, long folderId) throws SystemException
SystemException
public List<DLFolder> getFolders(long groupId, long parentFolderId) throws SystemException
SystemException
public List<DLFolder> getFolders(long groupId, long parentFolderId, boolean includeMountfolders) throws SystemException
SystemException
public List<DLFolder> getFolders(long groupId, long parentFolderId, boolean includeMountfolders, int start, int end, OrderByComparator obc) throws SystemException
SystemException
public List<DLFolder> getFolders(long groupId, long parentFolderId, int start, int end, OrderByComparator obc) throws SystemException
SystemException
public List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId, long folderId, int status, boolean includeMountFolders, int start, int end, OrderByComparator obc) throws SystemException
getFoldersAndFileEntriesAndFileShortcuts(long, long,
String[], boolean, QueryDefinition)
SystemException
public List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId, long folderId, int status, String[] mimeTypes, boolean includeMountFolders, int start, int end, OrderByComparator obc) throws SystemException
getFoldersAndFileEntriesAndFileShortcutsCount(long, long,
String[], boolean, QueryDefinition)
SystemException
public List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId, long folderId, String[] mimeTypes, boolean includeMountFolders, QueryDefinition queryDefinition) throws SystemException
SystemException
public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId, long folderId, int status, boolean includeMountFolders) throws SystemException
getFoldersAndFileEntriesAndFileShortcutsCount(long, long,
String[], boolean, QueryDefinition)
SystemException
public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId, long folderId, int status, String[] mimeTypes, boolean includeMountFolders) throws SystemException
getFoldersAndFileEntriesAndFileShortcutsCount(long, long,
String[], boolean, QueryDefinition)
SystemException
public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId, long folderId, String[] mimeTypes, boolean includeMountFolders, QueryDefinition queryDefinition) throws SystemException
SystemException
public int getFoldersCount(long groupId, long parentFolderId) throws SystemException
SystemException
public int getFoldersCount(long groupId, long parentFolderId, boolean includeMountfolders) throws SystemException
SystemException
public int getFoldersCount(long groupId, long parentFolderId, int status, boolean includeMountfolders) throws SystemException
SystemException
public DLFolder getMountFolder(long repositoryId) throws PortalException, SystemException
PortalException
SystemException
public List<DLFolder> getMountFolders(long groupId, long parentFolderId, int start, int end, OrderByComparator obc) throws SystemException
SystemException
public int getMountFoldersCount(long groupId, long parentFolderId) throws SystemException
SystemException
public List<DLFolder> getNoAssetFolders() throws SystemException
SystemException
public void getSubfolderIds(List<Long> folderIds, long groupId, long folderId) throws SystemException
SystemException
public boolean hasFolderLock(long userId, long folderId) throws SystemException
SystemException
public Lock lockFolder(long userId, long folderId) throws PortalException, SystemException
PortalException
SystemException
public Lock lockFolder(long userId, long folderId, String owner, boolean inheritable, long expirationTime) throws PortalException, SystemException
PortalException
SystemException
@Indexable(type=REINDEX) public DLFolder moveFolder(long userId, long folderId, long parentFolderId, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public void rebuildTree(long companyId) throws PortalException, SystemException
PortalException
SystemException
public void rebuildTree(long companyId, long parentFolderId, String parentTreePath, boolean reindex) throws PortalException, SystemException
PortalException
SystemException
public void unlockFolder(long groupId, long parentFolderId, String name, String lockUuid) throws PortalException, SystemException
PortalException
SystemException
public void unlockFolder(long folderId, String lockUuid) throws PortalException, SystemException
PortalException
SystemException
@Indexable(type=REINDEX) public DLFolder updateFolder(long folderId, long parentFolderId, String name, String description, long defaultFileEntryTypeId, List<Long> fileEntryTypeIds, boolean overrideFileEntryTypes, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
@Indexable(type=REINDEX) public DLFolder updateFolder(long folderId, String name, String description, long defaultFileEntryTypeId, List<Long> fileEntryTypeIds, boolean overrideFileEntryTypes, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public DLFolder updateFolderAndFileEntryTypes(long userId, long folderId, long parentFolderId, String name, String description, long defaultFileEntryTypeId, List<Long> fileEntryTypeIds, boolean overrideFileEntryTypes, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
@BufferedIncrement(configuration="DLFolderEntry", incrementClass=DateOverrideIncrement.class) public void updateLastPostDate(long folderId, Date lastPostDate) throws PortalException, SystemException
PortalException
SystemException
public DLFolder updateStatus(long userId, long folderId, int status, Map<String,Serializable> workflowContext, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
protected void addFolderResources(DLFolder dlFolder, boolean addGroupPermissions, boolean addGuestPermissions) throws PortalException, SystemException
PortalException
SystemException
protected void addFolderResources(DLFolder dlFolder, String[] groupPermissions, String[] guestPermissions) throws PortalException, SystemException
PortalException
SystemException
protected void addFolderResources(long folderId, boolean addGroupPermissions, boolean addGuestPermissions) throws PortalException, SystemException
PortalException
SystemException
protected void addFolderResources(long folderId, String[] groupPermissions, String[] guestPermissions) throws PortalException, SystemException
PortalException
SystemException
protected long getParentFolderId(DLFolder dlFolder, long parentFolderId) throws PortalException, SystemException
PortalException
SystemException
protected long getParentFolderId(long groupId, long repositoryId, long parentFolderId) throws PortalException, SystemException
PortalException
SystemException
protected void validateFolder(long folderId, long groupId, long parentFolderId, String name) throws PortalException, SystemException
PortalException
SystemException
protected void validateFolder(long groupId, long parentFolderId, String name) throws PortalException, SystemException
PortalException
SystemException
protected void validateFolderName(String folderName) throws PortalException
PortalException
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |