public class DLFileShortcutLocalServiceWrapper extends Object implements DLFileShortcutLocalService, ServiceWrapper<DLFileShortcutLocalService>
DLFileShortcutLocalService.DLFileShortcutLocalService| Constructor and Description |
|---|
DLFileShortcutLocalServiceWrapper(DLFileShortcutLocalService dlFileShortcutLocalService) |
| Modifier and Type | Method and Description |
|---|---|
DLFileShortcut |
addDLFileShortcut(DLFileShortcut dlFileShortcut)
Adds the document library file shortcut to the database.
|
DLFileShortcut |
addFileShortcut(long userId,
long groupId,
long repositoryId,
long folderId,
long toFileEntryId,
ServiceContext serviceContext) |
void |
addFileShortcutResources(DLFileShortcut fileShortcut,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addFileShortcutResources(DLFileShortcut fileShortcut,
ModelPermissions modelPermissions) |
void |
addFileShortcutResources(long fileShortcutId,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addFileShortcutResources(long fileShortcutId,
ModelPermissions modelPermissions) |
DLFileShortcut |
createDLFileShortcut(long fileShortcutId)
Creates a new document library file shortcut with the primary key.
|
DLFileShortcut |
deleteDLFileShortcut(DLFileShortcut dlFileShortcut)
Deletes the document library file shortcut from the database.
|
DLFileShortcut |
deleteDLFileShortcut(long fileShortcutId)
Deletes the document library file shortcut with the primary key from the database.
|
void |
deleteFileShortcut(DLFileShortcut fileShortcut) |
void |
deleteFileShortcut(long fileShortcutId) |
void |
deleteFileShortcuts(long toFileEntryId) |
void |
deleteFileShortcuts(long groupId,
long folderId) |
void |
deleteFileShortcuts(long groupId,
long folderId,
boolean includeTrashedEntries) |
PersistedModel |
deletePersistedModel(PersistedModel persistedModel) |
void |
deleteRepositoryFileShortcuts(long repositoryId) |
void |
disableFileShortcuts(long toFileEntryId) |
DynamicQuery |
dynamicQuery() |
<T> List<T> |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> List<T> |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
<T> List<T> |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> 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 matching the dynamic query.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows matching the dynamic query.
|
void |
enableFileShortcuts(long toFileEntryId) |
DLFileShortcut |
fetchDLFileShortcut(long fileShortcutId) |
DLFileShortcut |
fetchDLFileShortcutByUuidAndGroupId(String uuid,
long groupId)
Returns the document library file shortcut matching the UUID and group.
|
ActionableDynamicQuery |
getActionableDynamicQuery() |
DLFileShortcut |
getDLFileShortcut(long fileShortcutId)
Returns the document library file shortcut with the primary key.
|
DLFileShortcut |
getDLFileShortcutByUuidAndGroupId(String uuid,
long groupId)
Returns the document library file shortcut matching the UUID and group.
|
List<DLFileShortcut> |
getDLFileShortcuts(int start,
int end)
Returns a range of all the document library file shortcuts.
|
List<DLFileShortcut> |
getDLFileShortcutsByUuidAndCompanyId(String uuid,
long companyId)
Returns all the document library file shortcuts matching the UUID and company.
|
List<DLFileShortcut> |
getDLFileShortcutsByUuidAndCompanyId(String uuid,
long companyId,
int start,
int end,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns a range of document library file shortcuts matching the UUID and company.
|
int |
getDLFileShortcutsCount()
Returns the number of document library file shortcuts.
|
ExportActionableDynamicQuery |
getExportActionableDynamicQuery(PortletDataContext portletDataContext) |
DLFileShortcut |
getFileShortcut(long fileShortcutId) |
List<DLFileShortcut> |
getFileShortcuts(long toFileEntryId) |
List<DLFileShortcut> |
getFileShortcuts(long groupId,
long folderId,
boolean active,
int status,
int start,
int end) |
int |
getFileShortcutsCount(long groupId,
long folderId,
boolean active,
int status) |
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj) |
DLFileShortcutLocalService |
getWrappedService() |
void |
rebuildTree(long companyId) |
void |
setTreePaths(long folderId,
String treePath) |
void |
setWrappedService(DLFileShortcutLocalService dlFileShortcutLocalService) |
void |
updateAsset(long userId,
DLFileShortcut fileShortcut,
long[] assetCategoryIds,
String[] assetTagNames) |
DLFileShortcut |
updateDLFileShortcut(DLFileShortcut dlFileShortcut)
Updates the document library file shortcut in the database or adds it if it does not yet exist.
|
DLFileShortcut |
updateFileShortcut(long userId,
long fileShortcutId,
long repositoryId,
long folderId,
long toFileEntryId,
ServiceContext serviceContext) |
void |
updateFileShortcuts(long oldToFileEntryId,
long newToFileEntryId) |
void |
updateFileShortcutsActive(long toFileEntryId,
boolean active) |
DLFileShortcut |
updateStatus(long userId,
long fileShortcutId,
int status,
ServiceContext serviceContext) |
public DLFileShortcutLocalServiceWrapper(DLFileShortcutLocalService dlFileShortcutLocalService)
public DLFileShortcut addDLFileShortcut(DLFileShortcut dlFileShortcut)
addDLFileShortcut in interface DLFileShortcutLocalServicedlFileShortcut - the document library file shortcutpublic DLFileShortcut addFileShortcut(long userId, long groupId, long repositoryId, long folderId, long toFileEntryId, ServiceContext serviceContext) throws PortalException
addFileShortcut in interface DLFileShortcutLocalServicePortalExceptionpublic void addFileShortcutResources(DLFileShortcut fileShortcut, boolean addGroupPermissions, boolean addGuestPermissions) throws PortalException
addFileShortcutResources in interface DLFileShortcutLocalServicePortalExceptionpublic void addFileShortcutResources(DLFileShortcut fileShortcut, ModelPermissions modelPermissions) throws PortalException
addFileShortcutResources in interface DLFileShortcutLocalServicePortalExceptionpublic void addFileShortcutResources(long fileShortcutId,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException
addFileShortcutResources in interface DLFileShortcutLocalServicePortalExceptionpublic void addFileShortcutResources(long fileShortcutId,
ModelPermissions modelPermissions)
throws PortalException
addFileShortcutResources in interface DLFileShortcutLocalServicePortalExceptionpublic DLFileShortcut createDLFileShortcut(long fileShortcutId)
createDLFileShortcut in interface DLFileShortcutLocalServicefileShortcutId - the primary key for the new document library file shortcutpublic DLFileShortcut deleteDLFileShortcut(DLFileShortcut dlFileShortcut)
deleteDLFileShortcut in interface DLFileShortcutLocalServicedlFileShortcut - the document library file shortcutpublic DLFileShortcut deleteDLFileShortcut(long fileShortcutId) throws PortalException
deleteDLFileShortcut in interface DLFileShortcutLocalServicefileShortcutId - the primary key of the document library file shortcutPortalException - if a document library file shortcut with the primary key could not be foundpublic void deleteFileShortcut(DLFileShortcut fileShortcut) throws PortalException
deleteFileShortcut in interface DLFileShortcutLocalServicePortalExceptionpublic void deleteFileShortcut(long fileShortcutId)
throws PortalException
deleteFileShortcut in interface DLFileShortcutLocalServicePortalExceptionpublic void deleteFileShortcuts(long toFileEntryId)
throws PortalException
deleteFileShortcuts in interface DLFileShortcutLocalServicePortalExceptionpublic void deleteFileShortcuts(long groupId,
long folderId)
throws PortalException
deleteFileShortcuts in interface DLFileShortcutLocalServicePortalExceptionpublic void deleteFileShortcuts(long groupId,
long folderId,
boolean includeTrashedEntries)
throws PortalException
deleteFileShortcuts in interface DLFileShortcutLocalServicePortalExceptionpublic PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel in interface DLFileShortcutLocalServicedeletePersistedModel in interface PersistedModelLocalServicePortalExceptionpublic void deleteRepositoryFileShortcuts(long repositoryId)
throws PortalException
deleteRepositoryFileShortcuts in interface DLFileShortcutLocalServicePortalExceptionpublic void disableFileShortcuts(long toFileEntryId)
disableFileShortcuts in interface DLFileShortcutLocalServicepublic DynamicQuery dynamicQuery()
dynamicQuery in interface DLFileShortcutLocalServicepublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface DLFileShortcutLocalServicedynamicQuery - the dynamic querypublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.
dynamicQuery in interface DLFileShortcutLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator)
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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.
dynamicQuery in interface DLFileShortcutLocalServicedynamicQuery - 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)public long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQueryCount in interface DLFileShortcutLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQueryCount in interface DLFileShortcutLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic void enableFileShortcuts(long toFileEntryId)
enableFileShortcuts in interface DLFileShortcutLocalServicepublic DLFileShortcut fetchDLFileShortcut(long fileShortcutId)
fetchDLFileShortcut in interface DLFileShortcutLocalServicepublic DLFileShortcut fetchDLFileShortcutByUuidAndGroupId(String uuid, long groupId)
fetchDLFileShortcutByUuidAndGroupId in interface DLFileShortcutLocalServiceuuid - the document library file shortcut's UUIDgroupId - the primary key of the groupnull if a matching document library file shortcut could not be foundpublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface DLFileShortcutLocalServicepublic DLFileShortcut getDLFileShortcut(long fileShortcutId) throws PortalException
getDLFileShortcut in interface DLFileShortcutLocalServicefileShortcutId - the primary key of the document library file shortcutPortalException - if a document library file shortcut with the primary key could not be foundpublic DLFileShortcut getDLFileShortcutByUuidAndGroupId(String uuid, long groupId) throws PortalException
getDLFileShortcutByUuidAndGroupId in interface DLFileShortcutLocalServiceuuid - the document library file shortcut's UUIDgroupId - the primary key of the groupPortalException - if a matching document library file shortcut could not be foundpublic List<DLFileShortcut> getDLFileShortcuts(int start, int end)
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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.
getDLFileShortcuts in interface DLFileShortcutLocalServicestart - the lower bound of the range of document library file shortcutsend - the upper bound of the range of document library file shortcuts (not inclusive)public List<DLFileShortcut> getDLFileShortcutsByUuidAndCompanyId(String uuid, long companyId)
getDLFileShortcutsByUuidAndCompanyId in interface DLFileShortcutLocalServiceuuid - the UUID of the document library file shortcutscompanyId - the primary key of the companypublic List<DLFileShortcut> getDLFileShortcutsByUuidAndCompanyId(String uuid, long companyId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator)
getDLFileShortcutsByUuidAndCompanyId in interface DLFileShortcutLocalServiceuuid - the UUID of the document library file shortcutscompanyId - the primary key of the companystart - the lower bound of the range of document library file shortcutsend - the upper bound of the range of document library file shortcuts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public int getDLFileShortcutsCount()
getDLFileShortcutsCount in interface DLFileShortcutLocalServicepublic ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface DLFileShortcutLocalServicepublic DLFileShortcut getFileShortcut(long fileShortcutId) throws PortalException
getFileShortcut in interface DLFileShortcutLocalServicePortalExceptionpublic List<DLFileShortcut> getFileShortcuts(long toFileEntryId)
getFileShortcuts in interface DLFileShortcutLocalServicepublic List<DLFileShortcut> getFileShortcuts(long groupId, long folderId, boolean active, int status, int start, int end)
getFileShortcuts in interface DLFileShortcutLocalServicepublic int getFileShortcutsCount(long groupId,
long folderId,
boolean active,
int status)
getFileShortcutsCount in interface DLFileShortcutLocalServicepublic IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface DLFileShortcutLocalServicepublic String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface DLFileShortcutLocalServicepublic PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException
getPersistedModel in interface DLFileShortcutLocalServicegetPersistedModel in interface PersistedModelLocalServicePortalExceptionpublic void rebuildTree(long companyId)
throws PortalException
rebuildTree in interface DLFileShortcutLocalServicePortalExceptionpublic void setTreePaths(long folderId,
String treePath)
throws PortalException
setTreePaths in interface DLFileShortcutLocalServicePortalExceptionpublic void updateAsset(long userId,
DLFileShortcut fileShortcut,
long[] assetCategoryIds,
String[] assetTagNames)
throws PortalException
updateAsset in interface DLFileShortcutLocalServicePortalExceptionpublic DLFileShortcut updateDLFileShortcut(DLFileShortcut dlFileShortcut)
updateDLFileShortcut in interface DLFileShortcutLocalServicedlFileShortcut - the document library file shortcutpublic DLFileShortcut updateFileShortcut(long userId, long fileShortcutId, long repositoryId, long folderId, long toFileEntryId, ServiceContext serviceContext) throws PortalException
updateFileShortcut in interface DLFileShortcutLocalServicePortalExceptionpublic void updateFileShortcuts(long oldToFileEntryId,
long newToFileEntryId)
updateFileShortcuts in interface DLFileShortcutLocalServicepublic void updateFileShortcutsActive(long toFileEntryId,
boolean active)
updateFileShortcutsActive in interface DLFileShortcutLocalServicepublic DLFileShortcut updateStatus(long userId, long fileShortcutId, int status, ServiceContext serviceContext) throws PortalException
updateStatus in interface DLFileShortcutLocalServicePortalExceptionpublic DLFileShortcutLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<DLFileShortcutLocalService>public void setWrappedService(DLFileShortcutLocalService dlFileShortcutLocalService)
setWrappedService in interface ServiceWrapper<DLFileShortcutLocalService>