public class DLFileShortcutServiceUtil
extends Object
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.DLFileShortcutService| Constructor and Description |
|---|
DLFileShortcutServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static 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 |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static DLFileShortcutService |
getService() |
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) |
public static DLFileShortcut addFileShortcut(String externalReferenceCode, long groupId, long repositoryId, long folderId, long toFileEntryId, ServiceContext serviceContext) throws PortalException
PortalExceptionpublic static void deleteFileShortcut(long fileShortcutId)
throws PortalException
PortalExceptionpublic static void deleteFileShortcut(String externalReferenceCode,
long groupId)
throws PortalException
PortalExceptionpublic static DLFileShortcut getDLFileShortcutByExternalReferenceCode(String externalReferenceCode, long groupId) throws PortalException
PortalExceptionpublic static DLFileShortcut getFileShortcut(long fileShortcutId) throws PortalException
PortalExceptionpublic static List<DLFileShortcut> getGroupFileShortcuts(long groupId)
public static List<DLFileShortcut> getGroupFileShortcuts(long groupId, int start, int end)
public static long getGroupFileShortcutsCount(long groupId)
public static String getOSGiServiceIdentifier()
public static DLFileShortcut updateFileShortcut(long fileShortcutId, long repositoryId, long folderId, long toFileEntryId, ServiceContext serviceContext) throws PortalException
PortalExceptionpublic static void updateFileShortcuts(long oldToFileEntryId,
long newToFileEntryId)
throws PortalException
PortalExceptionpublic static DLFileShortcutService getService()
public static void setService(DLFileShortcutService service)