|
Liferay 6.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.documentlibrary.service.DLFolderLocalServiceWrapper
public class DLFolderLocalServiceWrapper
This class is a wrapper for DLFolderLocalService.
DLFolderLocalService| Constructor Summary | |
|---|---|
DLFolderLocalServiceWrapper(DLFolderLocalService dlFolderLocalService)
|
|
| Method Summary | |
|---|---|
DLFolder |
addDLFolder(DLFolder dlFolder)
Adds the document library folder to the database. |
DLFolder |
addFolder(long userId,
long groupId,
long repositoryId,
boolean mountPoint,
long parentFolderId,
String name,
String description,
ServiceContext serviceContext)
|
DLFolder |
createDLFolder(long folderId)
Creates a new document library folder with the primary key. |
void |
deleteAll(long groupId)
|
void |
deleteDLFolder(DLFolder dlFolder)
Deletes the document library folder from the database. |
void |
deleteDLFolder(long folderId)
Deletes the document library folder with the primary key from the database. |
void |
deleteFolder(long folderId)
|
List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows. |
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows that match the dynamic query. |
DLFolder |
fetchFolder(long folderId)
|
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
List<DLFolder> |
getCompanyFolders(long companyId,
int start,
int end)
|
int |
getCompanyFoldersCount(long companyId)
|
DLFolder |
getDLFolder(long folderId)
Returns the document library folder with the primary key. |
DLFolder |
getDLFolderByUuidAndGroupId(String uuid,
long groupId)
Returns the document library folder with the UUID in the group. |
List<DLFolder> |
getDLFolders(int start,
int end)
Returns a range of all the document library folders. |
int |
getDLFoldersCount()
Returns the number of document library folders. |
List<Object> |
getFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
int start,
int end)
|
int |
getFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status)
|
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)
|
List<Object> |
getFoldersAndFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
String[] mimeTypes,
boolean includeMountFolders,
int start,
int end,
OrderByComparator obc)
|
int |
getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status,
boolean includeMountFolders)
|
int |
getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status,
String[] mimeTypes,
boolean includeMountFolders)
|
int |
getFoldersCount(long groupId,
long parentFolderId)
|
int |
getFoldersCount(long groupId,
long parentFolderId,
boolean includeMountfolders)
|
int |
getFoldersFileEntriesCount(long groupId,
List<Long> folderIds,
int status)
|
DLFolder |
getMountFolder(long repositoryId)
|
List<DLFolder> |
getMountFolders(long groupId,
long parentFolderId,
int start,
int end,
OrderByComparator obc)
|
int |
getMountFoldersCount(long groupId,
long parentFolderId)
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
void |
getSubfolderIds(List<Long> folderIds,
long groupId,
long folderId)
|
DLFolderLocalService |
getWrappedDLFolderLocalService()
|
DLFolder |
moveFolder(long folderId,
long parentFolderId,
ServiceContext serviceContext)
|
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setWrappedDLFolderLocalService(DLFolderLocalService dlFolderLocalService)
|
DLFolder |
updateDLFolder(DLFolder dlFolder)
Updates the document library folder in the database or adds it if it does not yet exist. |
DLFolder |
updateDLFolder(DLFolder dlFolder,
boolean merge)
Updates the document library folder in the database or adds it if it does not yet exist. |
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 folderId,
long parentFolderId,
String name,
String description,
long defaultFileEntryTypeId,
List<Long> fileEntryTypeIds,
boolean overrideFileEntryTypes,
ServiceContext serviceContext)
|
void |
updateLastPostDate(long folderId,
Date lastPostDate)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DLFolderLocalServiceWrapper(DLFolderLocalService dlFolderLocalService)
| Method Detail |
|---|
public DLFolder addDLFolder(DLFolder dlFolder)
throws SystemException
addDLFolder in interface DLFolderLocalServicedlFolder - the document library folder
SystemException - if a system exception occurredpublic DLFolder createDLFolder(long folderId)
createDLFolder in interface DLFolderLocalServicefolderId - the primary key for the new document library folder
public void deleteDLFolder(long folderId)
throws PortalException,
SystemException
deleteDLFolder in interface DLFolderLocalServicefolderId - the primary key of the document library folder
PortalException - if a document library folder with the primary key could not be found
SystemException - if a system exception occurred
public void deleteDLFolder(DLFolder dlFolder)
throws SystemException
deleteDLFolder in interface DLFolderLocalServicedlFolder - the document library folder
SystemException - if a system exception occurred
public List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
dynamicQuery in interface DLFolderLocalServicedynamicQuery - the dynamic query
SystemException - if a system exception occurred
public List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
dynamicQuery in interface DLFolderLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)
SystemException - if a system exception occurred
public List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
dynamicQuery in interface DLFolderLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
dynamicQueryCount in interface DLFolderLocalServicedynamicQuery - the dynamic query
SystemException - if a system exception occurred
public DLFolder getDLFolder(long folderId)
throws PortalException,
SystemException
getDLFolder in interface DLFolderLocalServicefolderId - the primary key of the document library folder
PortalException - if a document library folder with the primary key could not be found
SystemException - if a system exception occurred
public PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException,
SystemException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface DLFolderLocalServicePortalException
SystemException
public DLFolder getDLFolderByUuidAndGroupId(String uuid,
long groupId)
throws PortalException,
SystemException
getDLFolderByUuidAndGroupId in interface DLFolderLocalServiceuuid - the UUID of document library foldergroupId - the group id of the document library folder
PortalException - if a document library folder with the UUID in the group could not be found
SystemException - if a system exception occurred
public List<DLFolder> getDLFolders(int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
getDLFolders in interface DLFolderLocalServicestart - the lower bound of the range of document library foldersend - the upper bound of the range of document library folders (not inclusive)
SystemException - if a system exception occurred
public int getDLFoldersCount()
throws SystemException
getDLFoldersCount in interface DLFolderLocalServiceSystemException - if a system exception occurred
public DLFolder updateDLFolder(DLFolder dlFolder)
throws SystemException
updateDLFolder in interface DLFolderLocalServicedlFolder - the document library folder
SystemException - if a system exception occurred
public DLFolder updateDLFolder(DLFolder dlFolder,
boolean merge)
throws SystemException
updateDLFolder in interface DLFolderLocalServicedlFolder - the document library foldermerge - whether to merge the document library folder with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean) for an explanation.
SystemException - if a system exception occurredpublic String getBeanIdentifier()
getBeanIdentifier in interface DLFolderLocalServicepublic void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier in interface DLFolderLocalServicebeanIdentifier - the Spring bean ID for this bean
public DLFolder addFolder(long userId,
long groupId,
long repositoryId,
boolean mountPoint,
long parentFolderId,
String name,
String description,
ServiceContext serviceContext)
throws PortalException,
SystemException
addFolder in interface DLFolderLocalServicePortalException
SystemException
public void deleteAll(long groupId)
throws PortalException,
SystemException
deleteAll in interface DLFolderLocalServicePortalException
SystemException
public void deleteFolder(long folderId)
throws PortalException,
SystemException
deleteFolder in interface DLFolderLocalServicePortalException
SystemException
public DLFolder fetchFolder(long folderId)
throws SystemException
fetchFolder in interface DLFolderLocalServiceSystemException
public List<DLFolder> getCompanyFolders(long companyId,
int start,
int end)
throws SystemException
getCompanyFolders in interface DLFolderLocalServiceSystemException
public int getCompanyFoldersCount(long companyId)
throws SystemException
getCompanyFoldersCount in interface DLFolderLocalServiceSystemException
public List<Object> getFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
int start,
int end)
throws SystemException
getFileEntriesAndFileShortcuts in interface DLFolderLocalServiceSystemException
public int getFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status)
throws SystemException
getFileEntriesAndFileShortcutsCount in interface DLFolderLocalServiceSystemException
public DLFolder getFolder(long folderId)
throws PortalException,
SystemException
getFolder in interface DLFolderLocalServicePortalException
SystemException
public DLFolder getFolder(long groupId,
long parentFolderId,
String name)
throws PortalException,
SystemException
getFolder in interface DLFolderLocalServicePortalException
SystemException
public long getFolderId(long companyId,
long folderId)
throws SystemException
getFolderId in interface DLFolderLocalServiceSystemException
public List<DLFolder> getFolders(long groupId,
long parentFolderId)
throws SystemException
getFolders in interface DLFolderLocalServiceSystemException
public List<DLFolder> getFolders(long groupId,
long parentFolderId,
boolean includeMountfolders)
throws SystemException
getFolders in interface DLFolderLocalServiceSystemException
public List<DLFolder> getFolders(long groupId,
long parentFolderId,
boolean includeMountfolders,
int start,
int end,
OrderByComparator obc)
throws SystemException
getFolders in interface DLFolderLocalServiceSystemException
public List<DLFolder> getFolders(long groupId,
long parentFolderId,
int start,
int end,
OrderByComparator obc)
throws SystemException
getFolders in interface DLFolderLocalServiceSystemException
public List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
boolean includeMountFolders,
int start,
int end,
OrderByComparator obc)
throws SystemException
getFoldersAndFileEntriesAndFileShortcuts in interface DLFolderLocalServiceSystemException
public List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
String[] mimeTypes,
boolean includeMountFolders,
int start,
int end,
OrderByComparator obc)
throws SystemException
getFoldersAndFileEntriesAndFileShortcuts in interface DLFolderLocalServiceSystemException
public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status,
boolean includeMountFolders)
throws SystemException
getFoldersAndFileEntriesAndFileShortcutsCount in interface DLFolderLocalServiceSystemException
public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status,
String[] mimeTypes,
boolean includeMountFolders)
throws SystemException
getFoldersAndFileEntriesAndFileShortcutsCount in interface DLFolderLocalServiceSystemException
public int getFoldersCount(long groupId,
long parentFolderId)
throws SystemException
getFoldersCount in interface DLFolderLocalServiceSystemException
public int getFoldersCount(long groupId,
long parentFolderId,
boolean includeMountfolders)
throws SystemException
getFoldersCount in interface DLFolderLocalServiceSystemException
public int getFoldersFileEntriesCount(long groupId,
List<Long> folderIds,
int status)
throws SystemException
getFoldersFileEntriesCount in interface DLFolderLocalServiceSystemException
public DLFolder getMountFolder(long repositoryId)
throws PortalException,
SystemException
getMountFolder in interface DLFolderLocalServicePortalException
SystemException
public List<DLFolder> getMountFolders(long groupId,
long parentFolderId,
int start,
int end,
OrderByComparator obc)
throws SystemException
getMountFolders in interface DLFolderLocalServiceSystemException
public int getMountFoldersCount(long groupId,
long parentFolderId)
throws SystemException
getMountFoldersCount in interface DLFolderLocalServiceSystemException
public void getSubfolderIds(List<Long> folderIds,
long groupId,
long folderId)
throws SystemException
getSubfolderIds in interface DLFolderLocalServiceSystemException
public DLFolder moveFolder(long folderId,
long parentFolderId,
ServiceContext serviceContext)
throws PortalException,
SystemException
moveFolder in interface DLFolderLocalServicePortalException
SystemException
public DLFolder updateFolder(long folderId,
long parentFolderId,
String name,
String description,
long defaultFileEntryTypeId,
List<Long> fileEntryTypeIds,
boolean overrideFileEntryTypes,
ServiceContext serviceContext)
throws PortalException,
SystemException
updateFolder in interface DLFolderLocalServicePortalException
SystemException
public DLFolder updateFolder(long folderId,
String name,
String description,
long defaultFileEntryTypeId,
List<Long> fileEntryTypeIds,
boolean overrideFileEntryTypes,
ServiceContext serviceContext)
throws PortalException,
SystemException
updateFolder in interface DLFolderLocalServicePortalException
SystemException
public DLFolder updateFolderAndFileEntryTypes(long folderId,
long parentFolderId,
String name,
String description,
long defaultFileEntryTypeId,
List<Long> fileEntryTypeIds,
boolean overrideFileEntryTypes,
ServiceContext serviceContext)
throws PortalException,
SystemException
updateFolderAndFileEntryTypes in interface DLFolderLocalServicePortalException
SystemException
public void updateLastPostDate(long folderId,
Date lastPostDate)
throws PortalException,
SystemException
updateLastPostDate in interface DLFolderLocalServicePortalException
SystemExceptionpublic DLFolderLocalService getWrappedDLFolderLocalService()
public void setWrappedDLFolderLocalService(DLFolderLocalService dlFolderLocalService)
|
Liferay 6.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||