Class DLFileShortcutServiceWrapper
Object
com.liferay.document.library.kernel.service.DLFileShortcutServiceWrapper
- All Implemented Interfaces:
DLFileShortcutService
,BaseService
,ServiceWrapper<DLFileShortcutService>
public class DLFileShortcutServiceWrapper
extends Object
implements DLFileShortcutService, ServiceWrapper<DLFileShortcutService>
Provides a wrapper for
DLFileShortcutService
.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddFileShortcut
(String externalReferenceCode, long groupId, long repositoryId, long folderId, long toFileEntryId, ServiceContext serviceContext) void
deleteFileShortcut
(long fileShortcutId) void
deleteFileShortcut
(String externalReferenceCode, long groupId) getDLFileShortcutByExternalReferenceCode
(String externalReferenceCode, long groupId) getFileShortcut
(long fileShortcutId) getGroupFileShortcuts
(long groupId) getGroupFileShortcuts
(long groupId, int start, int end) long
getGroupFileShortcutsCount
(long groupId) Returns the OSGi service identifier.void
setWrappedService
(DLFileShortcutService dlFileShortcutService) updateFileShortcut
(long fileShortcutId, long repositoryId, long folderId, long toFileEntryId, ServiceContext serviceContext) void
updateFileShortcuts
(long oldToFileEntryId, long newToFileEntryId)
-
Constructor Details
-
DLFileShortcutServiceWrapper
public DLFileShortcutServiceWrapper() -
DLFileShortcutServiceWrapper
-
-
Method Details
-
addFileShortcut
public DLFileShortcut addFileShortcut(String externalReferenceCode, long groupId, long repositoryId, long folderId, long toFileEntryId, ServiceContext serviceContext) throws PortalException - Specified by:
addFileShortcut
in interfaceDLFileShortcutService
- Throws:
PortalException
-
deleteFileShortcut
- Specified by:
deleteFileShortcut
in interfaceDLFileShortcutService
- Throws:
PortalException
-
deleteFileShortcut
- Specified by:
deleteFileShortcut
in interfaceDLFileShortcutService
- Throws:
PortalException
-
getDLFileShortcutByExternalReferenceCode
public DLFileShortcut getDLFileShortcutByExternalReferenceCode(String externalReferenceCode, long groupId) throws PortalException - Specified by:
getDLFileShortcutByExternalReferenceCode
in interfaceDLFileShortcutService
- Throws:
PortalException
-
getFileShortcut
- Specified by:
getFileShortcut
in interfaceDLFileShortcutService
- Throws:
PortalException
-
getGroupFileShortcuts
- Specified by:
getGroupFileShortcuts
in interfaceDLFileShortcutService
-
getGroupFileShortcuts
- Specified by:
getGroupFileShortcuts
in interfaceDLFileShortcutService
-
getGroupFileShortcutsCount
public long getGroupFileShortcutsCount(long groupId) - Specified by:
getGroupFileShortcutsCount
in interfaceDLFileShortcutService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceDLFileShortcutService
- Returns:
- the OSGi service identifier
-
updateFileShortcut
public DLFileShortcut updateFileShortcut(long fileShortcutId, long repositoryId, long folderId, long toFileEntryId, ServiceContext serviceContext) throws PortalException - Specified by:
updateFileShortcut
in interfaceDLFileShortcutService
- Throws:
PortalException
-
updateFileShortcuts
public void updateFileShortcuts(long oldToFileEntryId, long newToFileEntryId) throws PortalException - Specified by:
updateFileShortcuts
in interfaceDLFileShortcutService
- Throws:
PortalException
-
getWrappedService
- Specified by:
getWrappedService
in interfaceServiceWrapper<DLFileShortcutService>
-
setWrappedService
- Specified by:
setWrappedService
in interfaceServiceWrapper<DLFileShortcutService>
-