|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.documentlibrary.service.DLFileShortcutLocalServiceWrapper
@ProviderType public class DLFileShortcutLocalServiceWrapper
Provides a wrapper for DLFileShortcutLocalService.
DLFileShortcutLocalService| Constructor Summary | |
|---|---|
DLFileShortcutLocalServiceWrapper(DLFileShortcutLocalService dlFileShortcutLocalService)
|
|
| Method Summary | ||
|---|---|---|
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 |
disableFileShortcuts(long toFileEntryId)
|
|
DynamicQuery |
dynamicQuery()
|
|
|
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
|
|
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
|
|
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)
|
|
void |
updateStatus(long userId,
long fileShortcutId,
int status,
ServiceContext serviceContext)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DLFileShortcutLocalServiceWrapper(DLFileShortcutLocalService dlFileShortcutLocalService)
| Method Detail |
|---|
public DLFileShortcut addDLFileShortcut(DLFileShortcut dlFileShortcut)
addDLFileShortcut in interface DLFileShortcutLocalServicedlFileShortcut - the document library file shortcut
public DLFileShortcut addFileShortcut(long userId,
long groupId,
long repositoryId,
long folderId,
long toFileEntryId,
ServiceContext serviceContext)
throws PortalException
addFileShortcut in interface DLFileShortcutLocalServicePortalException
public void addFileShortcutResources(DLFileShortcut fileShortcut,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException
addFileShortcutResources in interface DLFileShortcutLocalServicePortalException
public void addFileShortcutResources(DLFileShortcut fileShortcut,
ModelPermissions modelPermissions)
throws PortalException
addFileShortcutResources in interface DLFileShortcutLocalServicePortalException
public void addFileShortcutResources(long fileShortcutId,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException
addFileShortcutResources in interface DLFileShortcutLocalServicePortalException
public 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 shortcut
public DLFileShortcut deleteDLFileShortcut(DLFileShortcut dlFileShortcut)
deleteDLFileShortcut in interface DLFileShortcutLocalServicedlFileShortcut - the document library file shortcut
public DLFileShortcut deleteDLFileShortcut(long fileShortcutId)
throws PortalException
deleteDLFileShortcut in interface DLFileShortcutLocalServicefileShortcutId - the primary key of the document library file shortcut
PortalException - if a document library file shortcut with the primary key could not be found
public void deleteFileShortcut(DLFileShortcut fileShortcut)
throws PortalException
deleteFileShortcut in interface DLFileShortcutLocalServicePortalException
public void deleteFileShortcut(long fileShortcutId)
throws PortalException
deleteFileShortcut in interface DLFileShortcutLocalServicePortalException
public void deleteFileShortcuts(long groupId,
long folderId)
throws PortalException
deleteFileShortcuts in interface DLFileShortcutLocalServicePortalException
public void deleteFileShortcuts(long groupId,
long folderId,
boolean includeTrashedEntries)
throws PortalException
deleteFileShortcuts in interface DLFileShortcutLocalServicePortalException
public void deleteFileShortcuts(long toFileEntryId)
throws PortalException
deleteFileShortcuts in interface DLFileShortcutLocalServicePortalException
public PersistedModel deletePersistedModel(PersistedModel persistedModel)
throws PortalException
deletePersistedModel in interface PersistedModelLocalServicedeletePersistedModel 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 query
public <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 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 query
public long dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
dynamicQueryCount in interface DLFileShortcutLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the query
public void enableFileShortcuts(long toFileEntryId)
enableFileShortcuts in interface DLFileShortcutLocalServicepublic DLFileShortcut fetchDLFileShortcut(long fileShortcutId)
fetchDLFileShortcut in interface DLFileShortcutLocalService
public DLFileShortcut fetchDLFileShortcutByUuidAndGroupId(String uuid,
long groupId)
fetchDLFileShortcutByUuidAndGroupId in interface DLFileShortcutLocalServiceuuid - the document library file shortcut's UUIDgroupId - the primary key of the group
null if a matching document library file shortcut could not be foundpublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface DLFileShortcutLocalService
public DLFileShortcut getDLFileShortcut(long fileShortcutId)
throws PortalException
getDLFileShortcut in interface DLFileShortcutLocalServicefileShortcutId - the primary key of the document library file shortcut
PortalException - if a document library file shortcut with the primary key could not be found
public DLFileShortcut getDLFileShortcutByUuidAndGroupId(String uuid,
long groupId)
throws PortalException
getDLFileShortcutByUuidAndGroupId in interface DLFileShortcutLocalServiceuuid - the document library file shortcut's UUIDgroupId - the primary key of the group
PortalException - if a matching document library file shortcut could not be found
public 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 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 company
public 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 DLFileShortcutLocalService
public DLFileShortcut getFileShortcut(long fileShortcutId)
throws PortalException
getFileShortcut in interface DLFileShortcutLocalServicePortalException
public List<DLFileShortcut> getFileShortcuts(long groupId,
long folderId,
boolean active,
int status,
int start,
int end)
getFileShortcuts in interface DLFileShortcutLocalServicepublic List<DLFileShortcut> getFileShortcuts(long toFileEntryId)
getFileShortcuts in interface DLFileShortcutLocalService
public 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 DLFileShortcutLocalService
public PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface DLFileShortcutLocalServicePortalException
public void rebuildTree(long companyId)
throws PortalException
rebuildTree in interface DLFileShortcutLocalServicePortalException
public void setTreePaths(long folderId,
String treePath)
throws PortalException
setTreePaths in interface DLFileShortcutLocalServicePortalException
public 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 shortcut
public DLFileShortcut updateFileShortcut(long userId,
long fileShortcutId,
long repositoryId,
long folderId,
long toFileEntryId,
ServiceContext serviceContext)
throws PortalException
updateFileShortcut in interface DLFileShortcutLocalServicePortalException
public void updateFileShortcuts(long oldToFileEntryId,
long newToFileEntryId)
updateFileShortcuts in interface DLFileShortcutLocalService
public void updateFileShortcutsActive(long toFileEntryId,
boolean active)
updateFileShortcutsActive in interface DLFileShortcutLocalService
public void 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>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||