|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.documentlibrary.service.DLFolderLocalServiceWrapper
public class DLFolderLocalServiceWrapper
This class is a wrapper for DLFolderLocalService
.
DLFolderLocalService
Constructor Summary | |
---|---|
DLFolderLocalServiceWrapper(DLFolderLocalService dlFolderLocalService)
|
Method Summary | |
---|---|
void |
addDLFileEntryTypeDLFolder(long fileEntryTypeId,
DLFolder dlFolder)
|
void |
addDLFileEntryTypeDLFolder(long fileEntryTypeId,
long folderId)
|
void |
addDLFileEntryTypeDLFolders(long fileEntryTypeId,
List<DLFolder> DLFolders)
|
void |
addDLFileEntryTypeDLFolders(long fileEntryTypeId,
long[] folderIds)
|
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)
|
void |
clearDLFileEntryTypeDLFolders(long fileEntryTypeId)
|
DLFolder |
createDLFolder(long folderId)
Creates a new document library folder with the primary key. |
void |
deleteAll(long groupId)
|
void |
deleteDLFileEntryTypeDLFolder(long fileEntryTypeId,
DLFolder dlFolder)
|
void |
deleteDLFileEntryTypeDLFolder(long fileEntryTypeId,
long folderId)
|
void |
deleteDLFileEntryTypeDLFolders(long fileEntryTypeId,
List<DLFolder> DLFolders)
|
void |
deleteDLFileEntryTypeDLFolders(long fileEntryTypeId,
long[] folderIds)
|
DLFolder |
deleteDLFolder(DLFolder dlFolder)
Deletes the document library folder from the database. |
DLFolder |
deleteDLFolder(long folderId)
Deletes the document library folder with the primary key from the database. |
void |
deleteFolder(long folderId)
|
DynamicQuery |
dynamicQuery()
|
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 |
fetchDLFolder(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)
|
List<DLFolder> |
getDLFileEntryTypeDLFolders(long fileEntryTypeId)
|
List<DLFolder> |
getDLFileEntryTypeDLFolders(long fileEntryTypeId,
int start,
int end)
|
List<DLFolder> |
getDLFileEntryTypeDLFolders(long fileEntryTypeId,
int start,
int end,
OrderByComparator orderByComparator)
|
int |
getDLFileEntryTypeDLFoldersCount(long fileEntryTypeId)
|
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()
Deprecated. Renamed to getWrappedService() |
DLFolderLocalService |
getWrappedService()
|
boolean |
hasDLFileEntryTypeDLFolder(long fileEntryTypeId,
long folderId)
|
boolean |
hasDLFileEntryTypeDLFolders(long fileEntryTypeId)
|
DLFolder |
moveFolder(long folderId,
long parentFolderId,
ServiceContext serviceContext)
|
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setDLFileEntryTypeDLFolders(long fileEntryTypeId,
long[] folderIds)
|
void |
setWrappedDLFolderLocalService(DLFolderLocalService dlFolderLocalService)
Deprecated. Renamed to setWrappedService(com.liferay.portlet.documentlibrary.service.DLFolderLocalService) |
void |
setWrappedService(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)
Deprecated. |
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 DLFolderLocalService
dlFolder
- the document library folder
SystemException
- if a system exception occurredpublic DLFolder createDLFolder(long folderId)
createDLFolder
in interface DLFolderLocalService
folderId
- the primary key for the new document library folder
public DLFolder deleteDLFolder(long folderId) throws PortalException, SystemException
deleteDLFolder
in interface DLFolderLocalService
folderId
- 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 occurredpublic DLFolder deleteDLFolder(DLFolder dlFolder) throws SystemException
deleteDLFolder
in interface DLFolderLocalService
dlFolder
- the document library folder
SystemException
- if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery
in interface DLFolderLocalService
public List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
in interface DLFolderLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic 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 DLFolderLocalService
dynamicQuery
- 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 occurredpublic 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 DLFolderLocalService
dynamicQuery
- 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 occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQueryCount
in interface DLFolderLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic DLFolder fetchDLFolder(long folderId) throws SystemException
fetchDLFolder
in interface DLFolderLocalService
SystemException
public DLFolder getDLFolder(long folderId) throws PortalException, SystemException
getDLFolder
in interface DLFolderLocalService
folderId
- 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 occurredpublic PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel
in interface PersistedModelLocalService
getPersistedModel
in interface DLFolderLocalService
PortalException
SystemException
public DLFolder getDLFolderByUuidAndGroupId(String uuid, long groupId) throws PortalException, SystemException
getDLFolderByUuidAndGroupId
in interface DLFolderLocalService
uuid
- 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 occurredpublic 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 DLFolderLocalService
start
- 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 occurredpublic int getDLFoldersCount() throws SystemException
getDLFoldersCount
in interface DLFolderLocalService
SystemException
- if a system exception occurredpublic DLFolder updateDLFolder(DLFolder dlFolder) throws SystemException
updateDLFolder
in interface DLFolderLocalService
dlFolder
- the document library folder
SystemException
- if a system exception occurredpublic DLFolder updateDLFolder(DLFolder dlFolder, boolean merge) throws SystemException
updateDLFolder
in interface DLFolderLocalService
dlFolder
- 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 void addDLFileEntryTypeDLFolder(long fileEntryTypeId, long folderId) throws SystemException
addDLFileEntryTypeDLFolder
in interface DLFolderLocalService
SystemException
- if a system exception occurredpublic void addDLFileEntryTypeDLFolder(long fileEntryTypeId, DLFolder dlFolder) throws SystemException
addDLFileEntryTypeDLFolder
in interface DLFolderLocalService
SystemException
- if a system exception occurredpublic void addDLFileEntryTypeDLFolders(long fileEntryTypeId, long[] folderIds) throws SystemException
addDLFileEntryTypeDLFolders
in interface DLFolderLocalService
SystemException
- if a system exception occurredpublic void addDLFileEntryTypeDLFolders(long fileEntryTypeId, List<DLFolder> DLFolders) throws SystemException
addDLFileEntryTypeDLFolders
in interface DLFolderLocalService
SystemException
- if a system exception occurredpublic void clearDLFileEntryTypeDLFolders(long fileEntryTypeId) throws SystemException
clearDLFileEntryTypeDLFolders
in interface DLFolderLocalService
SystemException
- if a system exception occurredpublic void deleteDLFileEntryTypeDLFolder(long fileEntryTypeId, long folderId) throws SystemException
deleteDLFileEntryTypeDLFolder
in interface DLFolderLocalService
SystemException
- if a system exception occurredpublic void deleteDLFileEntryTypeDLFolder(long fileEntryTypeId, DLFolder dlFolder) throws SystemException
deleteDLFileEntryTypeDLFolder
in interface DLFolderLocalService
SystemException
- if a system exception occurredpublic void deleteDLFileEntryTypeDLFolders(long fileEntryTypeId, long[] folderIds) throws SystemException
deleteDLFileEntryTypeDLFolders
in interface DLFolderLocalService
SystemException
- if a system exception occurredpublic void deleteDLFileEntryTypeDLFolders(long fileEntryTypeId, List<DLFolder> DLFolders) throws SystemException
deleteDLFileEntryTypeDLFolders
in interface DLFolderLocalService
SystemException
- if a system exception occurredpublic List<DLFolder> getDLFileEntryTypeDLFolders(long fileEntryTypeId) throws SystemException
getDLFileEntryTypeDLFolders
in interface DLFolderLocalService
SystemException
- if a system exception occurredpublic List<DLFolder> getDLFileEntryTypeDLFolders(long fileEntryTypeId, int start, int end) throws SystemException
getDLFileEntryTypeDLFolders
in interface DLFolderLocalService
SystemException
- if a system exception occurredpublic List<DLFolder> getDLFileEntryTypeDLFolders(long fileEntryTypeId, int start, int end, OrderByComparator orderByComparator) throws SystemException
getDLFileEntryTypeDLFolders
in interface DLFolderLocalService
SystemException
- if a system exception occurredpublic int getDLFileEntryTypeDLFoldersCount(long fileEntryTypeId) throws SystemException
getDLFileEntryTypeDLFoldersCount
in interface DLFolderLocalService
SystemException
- if a system exception occurredpublic boolean hasDLFileEntryTypeDLFolder(long fileEntryTypeId, long folderId) throws SystemException
hasDLFileEntryTypeDLFolder
in interface DLFolderLocalService
SystemException
- if a system exception occurredpublic boolean hasDLFileEntryTypeDLFolders(long fileEntryTypeId) throws SystemException
hasDLFileEntryTypeDLFolders
in interface DLFolderLocalService
SystemException
- if a system exception occurredpublic void setDLFileEntryTypeDLFolders(long fileEntryTypeId, long[] folderIds) throws SystemException
setDLFileEntryTypeDLFolders
in interface DLFolderLocalService
SystemException
- if a system exception occurredpublic String getBeanIdentifier()
getBeanIdentifier
in interface DLFolderLocalService
public void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier
in interface DLFolderLocalService
beanIdentifier
- the Spring bean ID for this beanpublic DLFolder addFolder(long userId, long groupId, long repositoryId, boolean mountPoint, long parentFolderId, String name, String description, ServiceContext serviceContext) throws PortalException, SystemException
addFolder
in interface DLFolderLocalService
PortalException
SystemException
public void deleteAll(long groupId) throws PortalException, SystemException
deleteAll
in interface DLFolderLocalService
PortalException
SystemException
public void deleteFolder(long folderId) throws PortalException, SystemException
deleteFolder
in interface DLFolderLocalService
PortalException
SystemException
public List<DLFolder> getCompanyFolders(long companyId, int start, int end) throws SystemException
getCompanyFolders
in interface DLFolderLocalService
SystemException
public int getCompanyFoldersCount(long companyId) throws SystemException
getCompanyFoldersCount
in interface DLFolderLocalService
SystemException
public List<Object> getFileEntriesAndFileShortcuts(long groupId, long folderId, int status, int start, int end) throws SystemException
getFileEntriesAndFileShortcuts
in interface DLFolderLocalService
SystemException
public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId, int status) throws SystemException
getFileEntriesAndFileShortcutsCount
in interface DLFolderLocalService
SystemException
public DLFolder getFolder(long folderId) throws PortalException, SystemException
getFolder
in interface DLFolderLocalService
PortalException
SystemException
public DLFolder getFolder(long groupId, long parentFolderId, String name) throws PortalException, SystemException
getFolder
in interface DLFolderLocalService
PortalException
SystemException
public long getFolderId(long companyId, long folderId) throws SystemException
getFolderId
in interface DLFolderLocalService
SystemException
public List<DLFolder> getFolders(long groupId, long parentFolderId) throws SystemException
getFolders
in interface DLFolderLocalService
SystemException
public List<DLFolder> getFolders(long groupId, long parentFolderId, boolean includeMountfolders) throws SystemException
getFolders
in interface DLFolderLocalService
SystemException
public List<DLFolder> getFolders(long groupId, long parentFolderId, boolean includeMountfolders, int start, int end, OrderByComparator obc) throws SystemException
getFolders
in interface DLFolderLocalService
SystemException
public List<DLFolder> getFolders(long groupId, long parentFolderId, int start, int end, OrderByComparator obc) throws SystemException
getFolders
in interface DLFolderLocalService
SystemException
public List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId, long folderId, int status, boolean includeMountFolders, int start, int end, OrderByComparator obc) throws SystemException
getFoldersAndFileEntriesAndFileShortcuts
in interface DLFolderLocalService
SystemException
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 DLFolderLocalService
SystemException
public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId, long folderId, int status, boolean includeMountFolders) throws SystemException
getFoldersAndFileEntriesAndFileShortcutsCount
in interface DLFolderLocalService
SystemException
public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId, long folderId, int status, String[] mimeTypes, boolean includeMountFolders) throws SystemException
getFoldersAndFileEntriesAndFileShortcutsCount
in interface DLFolderLocalService
SystemException
public int getFoldersCount(long groupId, long parentFolderId) throws SystemException
getFoldersCount
in interface DLFolderLocalService
SystemException
public int getFoldersCount(long groupId, long parentFolderId, boolean includeMountfolders) throws SystemException
getFoldersCount
in interface DLFolderLocalService
SystemException
public int getFoldersFileEntriesCount(long groupId, List<Long> folderIds, int status) throws SystemException
getFoldersFileEntriesCount
in interface DLFolderLocalService
SystemException
public DLFolder getMountFolder(long repositoryId) throws PortalException, SystemException
getMountFolder
in interface DLFolderLocalService
PortalException
SystemException
public List<DLFolder> getMountFolders(long groupId, long parentFolderId, int start, int end, OrderByComparator obc) throws SystemException
getMountFolders
in interface DLFolderLocalService
SystemException
public int getMountFoldersCount(long groupId, long parentFolderId) throws SystemException
getMountFoldersCount
in interface DLFolderLocalService
SystemException
public void getSubfolderIds(List<Long> folderIds, long groupId, long folderId) throws SystemException
getSubfolderIds
in interface DLFolderLocalService
SystemException
public DLFolder moveFolder(long folderId, long parentFolderId, ServiceContext serviceContext) throws PortalException, SystemException
moveFolder
in interface DLFolderLocalService
PortalException
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 DLFolderLocalService
PortalException
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 DLFolderLocalService
PortalException
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 DLFolderLocalService
PortalException
SystemException
public void updateLastPostDate(long folderId, Date lastPostDate) throws PortalException, SystemException
updateLastPostDate
in interface DLFolderLocalService
PortalException
SystemException
public DLFolderLocalService getWrappedDLFolderLocalService()
getWrappedService()
public void setWrappedDLFolderLocalService(DLFolderLocalService dlFolderLocalService)
setWrappedService(com.liferay.portlet.documentlibrary.service.DLFolderLocalService)
public DLFolderLocalService getWrappedService()
getWrappedService
in interface ServiceWrapper<DLFolderLocalService>
public void setWrappedService(DLFolderLocalService dlFolderLocalService)
setWrappedService
in interface ServiceWrapper<DLFolderLocalService>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |