@ProviderType 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 DLFileShortcutLocalService
dlFileShortcut
- the document library file shortcutpublic DLFileShortcut addFileShortcut(long userId, long groupId, long repositoryId, long folderId, long toFileEntryId, ServiceContext serviceContext) throws PortalException
addFileShortcut
in interface DLFileShortcutLocalService
PortalException
public void addFileShortcutResources(DLFileShortcut fileShortcut, boolean addGroupPermissions, boolean addGuestPermissions) throws PortalException
addFileShortcutResources
in interface DLFileShortcutLocalService
PortalException
public void addFileShortcutResources(DLFileShortcut fileShortcut, ModelPermissions modelPermissions) throws PortalException
addFileShortcutResources
in interface DLFileShortcutLocalService
PortalException
public void addFileShortcutResources(long fileShortcutId, boolean addGroupPermissions, boolean addGuestPermissions) throws PortalException
addFileShortcutResources
in interface DLFileShortcutLocalService
PortalException
public void addFileShortcutResources(long fileShortcutId, ModelPermissions modelPermissions) throws PortalException
addFileShortcutResources
in interface DLFileShortcutLocalService
PortalException
public DLFileShortcut createDLFileShortcut(long fileShortcutId)
createDLFileShortcut
in interface DLFileShortcutLocalService
fileShortcutId
- the primary key for the new document library file shortcutpublic DLFileShortcut deleteDLFileShortcut(DLFileShortcut dlFileShortcut)
deleteDLFileShortcut
in interface DLFileShortcutLocalService
dlFileShortcut
- the document library file shortcutpublic DLFileShortcut deleteDLFileShortcut(long fileShortcutId) throws PortalException
deleteDLFileShortcut
in interface DLFileShortcutLocalService
fileShortcutId
- 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 DLFileShortcutLocalService
PortalException
public void deleteFileShortcut(long fileShortcutId) throws PortalException
deleteFileShortcut
in interface DLFileShortcutLocalService
PortalException
public void deleteFileShortcuts(long toFileEntryId) throws PortalException
deleteFileShortcuts
in interface DLFileShortcutLocalService
PortalException
public void deleteFileShortcuts(long groupId, long folderId) throws PortalException
deleteFileShortcuts
in interface DLFileShortcutLocalService
PortalException
public void deleteFileShortcuts(long groupId, long folderId, boolean includeTrashedEntries) throws PortalException
deleteFileShortcuts
in interface DLFileShortcutLocalService
PortalException
public PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel
in interface DLFileShortcutLocalService
deletePersistedModel
in interface PersistedModelLocalService
PortalException
public void deleteRepositoryFileShortcuts(long repositoryId) throws PortalException
deleteRepositoryFileShortcuts
in interface DLFileShortcutLocalService
PortalException
public void disableFileShortcuts(long toFileEntryId)
disableFileShortcuts
in interface DLFileShortcutLocalService
public DynamicQuery dynamicQuery()
dynamicQuery
in interface DLFileShortcutLocalService
public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery
in interface DLFileShortcutLocalService
dynamicQuery
- 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 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 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 DLFileShortcutLocalService
dynamicQuery
- 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 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 DLFileShortcutLocalService
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
)public long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQueryCount
in interface DLFileShortcutLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQueryCount
in interface DLFileShortcutLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic void enableFileShortcuts(long toFileEntryId)
enableFileShortcuts
in interface DLFileShortcutLocalService
public DLFileShortcut fetchDLFileShortcut(long fileShortcutId)
fetchDLFileShortcut
in interface DLFileShortcutLocalService
public DLFileShortcut fetchDLFileShortcutByUuidAndGroupId(String uuid, long groupId)
fetchDLFileShortcutByUuidAndGroupId
in interface DLFileShortcutLocalService
uuid
- 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 DLFileShortcutLocalService
public DLFileShortcut getDLFileShortcut(long fileShortcutId) throws PortalException
getDLFileShortcut
in interface DLFileShortcutLocalService
fileShortcutId
- 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 DLFileShortcutLocalService
uuid
- 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 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 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 DLFileShortcutLocalService
start
- 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 DLFileShortcutLocalService
uuid
- 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 DLFileShortcutLocalService
uuid
- 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 DLFileShortcutLocalService
public ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
getExportActionableDynamicQuery
in interface DLFileShortcutLocalService
public DLFileShortcut getFileShortcut(long fileShortcutId) throws PortalException
getFileShortcut
in interface DLFileShortcutLocalService
PortalException
public List<DLFileShortcut> getFileShortcuts(long toFileEntryId)
getFileShortcuts
in interface DLFileShortcutLocalService
public List<DLFileShortcut> getFileShortcuts(long groupId, long folderId, boolean active, int status, int start, int end)
getFileShortcuts
in interface DLFileShortcutLocalService
public int getFileShortcutsCount(long groupId, long folderId, boolean active, int status)
getFileShortcutsCount
in interface DLFileShortcutLocalService
public IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface DLFileShortcutLocalService
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface DLFileShortcutLocalService
public PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException
getPersistedModel
in interface DLFileShortcutLocalService
getPersistedModel
in interface PersistedModelLocalService
PortalException
public void rebuildTree(long companyId) throws PortalException
rebuildTree
in interface DLFileShortcutLocalService
PortalException
public void setTreePaths(long folderId, String treePath) throws PortalException
setTreePaths
in interface DLFileShortcutLocalService
PortalException
public void updateAsset(long userId, DLFileShortcut fileShortcut, long[] assetCategoryIds, String[] assetTagNames) throws PortalException
updateAsset
in interface DLFileShortcutLocalService
PortalException
public DLFileShortcut updateDLFileShortcut(DLFileShortcut dlFileShortcut)
updateDLFileShortcut
in interface DLFileShortcutLocalService
dlFileShortcut
- the document library file shortcutpublic DLFileShortcut updateFileShortcut(long userId, long fileShortcutId, long repositoryId, long folderId, long toFileEntryId, ServiceContext serviceContext) throws PortalException
updateFileShortcut
in interface DLFileShortcutLocalService
PortalException
public void updateFileShortcuts(long oldToFileEntryId, long newToFileEntryId)
updateFileShortcuts
in interface DLFileShortcutLocalService
public void updateFileShortcutsActive(long toFileEntryId, boolean active)
updateFileShortcutsActive
in interface DLFileShortcutLocalService
public DLFileShortcut updateStatus(long userId, long fileShortcutId, int status, ServiceContext serviceContext) throws PortalException
updateStatus
in interface DLFileShortcutLocalService
PortalException
public DLFileShortcutLocalService getWrappedService()
getWrappedService
in interface ServiceWrapper<DLFileShortcutLocalService>
public void setWrappedService(DLFileShortcutLocalService dlFileShortcutLocalService)
setWrappedService
in interface ServiceWrapper<DLFileShortcutLocalService>