com.liferay.portlet.documentlibrary.service.impl
Class DLFolderLocalServiceImpl
java.lang.Object
com.liferay.portlet.documentlibrary.service.base.DLFolderLocalServiceBaseImpl
com.liferay.portlet.documentlibrary.service.impl.DLFolderLocalServiceImpl
- All Implemented Interfaces:
- com.liferay.portlet.documentlibrary.service.DLFolderLocalService
- public class DLFolderLocalServiceImpl
- extends DLFolderLocalServiceBaseImpl
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
com.liferay.portlet.documentlibrary.model.DLFolder |
addFolder(long userId,
long plid,
long parentFolderId,
java.lang.String name,
java.lang.String description,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
com.liferay.portlet.documentlibrary.model.DLFolder |
addFolder(long userId,
long plid,
long parentFolderId,
java.lang.String name,
java.lang.String description,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
com.liferay.portlet.documentlibrary.model.DLFolder |
addFolder(long userId,
long plid,
long parentFolderId,
java.lang.String name,
java.lang.String description,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
addFolderResources(com.liferay.portlet.documentlibrary.model.DLFolder folder,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addFolderResources(com.liferay.portlet.documentlibrary.model.DLFolder folder,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
addFolderResources(long folderId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addFolderResources(long folderId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
com.liferay.portlet.documentlibrary.model.DLFolder |
addFolderToGroup(long userId,
long groupId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
deleteFolder(com.liferay.portlet.documentlibrary.model.DLFolder folder)
|
void |
deleteFolder(long folderId)
|
void |
deleteFolders(long groupId)
|
com.liferay.portlet.documentlibrary.model.DLFolder |
getFolder(long folderId)
|
com.liferay.portlet.documentlibrary.model.DLFolder |
getFolder(long parentFolderId,
java.lang.String name)
|
java.util.List |
getFolders(long companyId)
|
java.util.List |
getFolders(long groupId,
long parentFolderId)
|
java.util.List |
getFolders(long groupId,
long parentFolderId,
int begin,
int end)
|
int |
getFoldersCount(long groupId,
long parentFolderId)
|
protected long |
getParentFolderId(com.liferay.portlet.documentlibrary.model.DLFolder folder,
long parentFolderId)
|
protected long |
getParentFolderId(long groupId,
long parentFolderId)
|
void |
getSubfolderIds(java.util.List folderIds,
long groupId,
long folderId)
|
void |
reIndex(java.lang.String[] ids)
|
com.liferay.portal.kernel.search.Hits |
search(long companyId,
long groupId,
long[] folderIds,
java.lang.String keywords)
|
com.liferay.portlet.documentlibrary.model.DLFolder |
updateFolder(long folderId,
long parentFolderId,
java.lang.String name,
java.lang.String description)
|
protected void |
validate(java.lang.String name)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DLFolderLocalServiceImpl
public DLFolderLocalServiceImpl()
addFolder
public com.liferay.portlet.documentlibrary.model.DLFolder addFolder(long userId,
long plid,
long parentFolderId,
java.lang.String name,
java.lang.String description,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addFolder
public com.liferay.portlet.documentlibrary.model.DLFolder addFolder(long userId,
long plid,
long parentFolderId,
java.lang.String name,
java.lang.String description,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addFolder
public com.liferay.portlet.documentlibrary.model.DLFolder addFolder(long userId,
long plid,
long parentFolderId,
java.lang.String name,
java.lang.String description,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addFolderToGroup
public com.liferay.portlet.documentlibrary.model.DLFolder addFolderToGroup(long userId,
long groupId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addFolderResources
public void addFolderResources(long folderId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addFolderResources
public void addFolderResources(com.liferay.portlet.documentlibrary.model.DLFolder folder,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addFolderResources
public void addFolderResources(long folderId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addFolderResources
public void addFolderResources(com.liferay.portlet.documentlibrary.model.DLFolder folder,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteFolder
public void deleteFolder(long folderId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteFolder
public void deleteFolder(com.liferay.portlet.documentlibrary.model.DLFolder folder)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteFolders
public void deleteFolders(long groupId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getFolder
public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(long folderId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getFolder
public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(long parentFolderId,
java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getFolders
public java.util.List getFolders(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFolders
public java.util.List getFolders(long groupId,
long parentFolderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFolders
public java.util.List getFolders(long groupId,
long parentFolderId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFoldersCount
public int getFoldersCount(long groupId,
long parentFolderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSubfolderIds
public void getSubfolderIds(java.util.List folderIds,
long groupId,
long folderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
reIndex
public void reIndex(java.lang.String[] ids)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
search
public com.liferay.portal.kernel.search.Hits search(long companyId,
long groupId,
long[] folderIds,
java.lang.String keywords)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateFolder
public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(long folderId,
long parentFolderId,
java.lang.String name,
java.lang.String description)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getParentFolderId
protected long getParentFolderId(long groupId,
long parentFolderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getParentFolderId
protected long getParentFolderId(com.liferay.portlet.documentlibrary.model.DLFolder folder,
long parentFolderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
validate
protected void validate(java.lang.String name)
throws com.liferay.portal.PortalException
- Throws:
com.liferay.portal.PortalException