Class DLFileShortcutServiceUtil
Object
com.liferay.document.library.kernel.service.DLFileShortcutServiceUtil
Provides the remote service utility for DLFileShortcut. This utility wraps
com.liferay.portlet.documentlibrary.service.impl.DLFileShortcutServiceImpl and is an
access point for service operations in application layer code running on a
remote server. 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}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DLFileShortcutaddFileShortcut(String externalReferenceCode, long groupId, long repositoryId, long folderId, long toFileEntryId, ServiceContext serviceContext) static voiddeleteFileShortcut(long fileShortcutId) static voiddeleteFileShortcut(String externalReferenceCode, long groupId) static DLFileShortcutgetDLFileShortcutByExternalReferenceCode(String externalReferenceCode, long groupId) static DLFileShortcutgetFileShortcut(long fileShortcutId) static List<DLFileShortcut>getGroupFileShortcuts(long groupId) static List<DLFileShortcut>getGroupFileShortcuts(long groupId, int start, int end) static longgetGroupFileShortcutsCount(long groupId) static StringReturns the OSGi service identifier.static DLFileShortcutServicestatic voidsetService(DLFileShortcutService service) static DLFileShortcutupdateFileShortcut(long fileShortcutId, long repositoryId, long folderId, long toFileEntryId, ServiceContext serviceContext) static voidupdateFileShortcuts(long oldToFileEntryId, long newToFileEntryId)
-
Constructor Details
-
DLFileShortcutServiceUtil
public DLFileShortcutServiceUtil()
-
-
Method Details
-
addFileShortcut
public static DLFileShortcut addFileShortcut(String externalReferenceCode, long groupId, long repositoryId, long folderId, long toFileEntryId, ServiceContext serviceContext) throws PortalException - Throws:
PortalException
-
deleteFileShortcut
- Throws:
PortalException
-
deleteFileShortcut
public static void deleteFileShortcut(String externalReferenceCode, long groupId) throws PortalException - Throws:
PortalException
-
getDLFileShortcutByExternalReferenceCode
public static DLFileShortcut getDLFileShortcutByExternalReferenceCode(String externalReferenceCode, long groupId) throws PortalException - Throws:
PortalException
-
getFileShortcut
- Throws:
PortalException
-
getGroupFileShortcuts
-
getGroupFileShortcuts
-
getGroupFileShortcutsCount
public static long getGroupFileShortcutsCount(long groupId) -
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
updateFileShortcut
public static DLFileShortcut updateFileShortcut(long fileShortcutId, long repositoryId, long folderId, long toFileEntryId, ServiceContext serviceContext) throws PortalException - Throws:
PortalException
-
updateFileShortcuts
public static void updateFileShortcuts(long oldToFileEntryId, long newToFileEntryId) throws PortalException - Throws:
PortalException
-
getService
-
setService
-