Interface DLFileShortcutService
- All Superinterfaces:
BaseService
- All Known Implementing Classes:
DLFileShortcutServiceWrapper
@AccessControlled
@CTAware
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface DLFileShortcutService
extends BaseService
Provides the remote service interface for DLFileShortcut. Methods of this
service are expected to have security checks based on the propagated JAAS
credentials because this service can be accessed remotely.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionaddFileShortcut(String externalReferenceCode, long groupId, long repositoryId, long folderId, long toFileEntryId, ServiceContext serviceContext) voiddeleteFileShortcut(long fileShortcutId) voiddeleteFileShortcut(String externalReferenceCode, long groupId) getDLFileShortcutByExternalReferenceCode(String externalReferenceCode, long groupId) getFileShortcut(long fileShortcutId) getGroupFileShortcuts(long groupId) getGroupFileShortcuts(long groupId, int start, int end) longgetGroupFileShortcutsCount(long groupId) Returns the OSGi service identifier.updateFileShortcut(long fileShortcutId, long repositoryId, long folderId, long toFileEntryId, ServiceContext serviceContext) voidupdateFileShortcuts(long oldToFileEntryId, long newToFileEntryId)
-
Method Details
-
addFileShortcut
DLFileShortcut addFileShortcut(String externalReferenceCode, long groupId, long repositoryId, long folderId, long toFileEntryId, ServiceContext serviceContext) throws PortalException - Throws:
PortalException
-
deleteFileShortcut
- Throws:
PortalException
-
deleteFileShortcut
- Throws:
PortalException
-
getDLFileShortcutByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) DLFileShortcut getDLFileShortcutByExternalReferenceCode(String externalReferenceCode, long groupId) throws PortalException - Throws:
PortalException
-
getFileShortcut
@Transactional(propagation=SUPPORTS, readOnly=true) DLFileShortcut getFileShortcut(long fileShortcutId) throws PortalException - Throws:
PortalException
-
getGroupFileShortcuts
@Transactional(propagation=SUPPORTS, readOnly=true) List<DLFileShortcut> getGroupFileShortcuts(long groupId) -
getGroupFileShortcuts
@Transactional(propagation=SUPPORTS, readOnly=true) List<DLFileShortcut> getGroupFileShortcuts(long groupId, int start, int end) -
getGroupFileShortcutsCount
-
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
updateFileShortcut
DLFileShortcut updateFileShortcut(long fileShortcutId, long repositoryId, long folderId, long toFileEntryId, ServiceContext serviceContext) throws PortalException - Throws:
PortalException
-
updateFileShortcuts
- Throws:
PortalException
-