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 DLFileShortcut
addFileShortcut
(String externalReferenceCode, long groupId, long repositoryId, long folderId, long toFileEntryId, ServiceContext serviceContext) static void
deleteFileShortcut
(long fileShortcutId) static void
deleteFileShortcut
(String externalReferenceCode, long groupId) static DLFileShortcut
getDLFileShortcutByExternalReferenceCode
(String externalReferenceCode, long groupId) static DLFileShortcut
getFileShortcut
(long fileShortcutId) static List<DLFileShortcut>
getGroupFileShortcuts
(long groupId) static List<DLFileShortcut>
getGroupFileShortcuts
(long groupId, int start, int end) static long
getGroupFileShortcutsCount
(long groupId) static String
Returns the OSGi service identifier.static DLFileShortcutService
static void
setService
(DLFileShortcutService service) static DLFileShortcut
updateFileShortcut
(long fileShortcutId, long repositoryId, long folderId, long toFileEntryId, ServiceContext serviceContext) static void
updateFileShortcuts
(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
-