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(long groupId,
long repositoryId,
long folderId,
long toFileEntryId,
ServiceContext serviceContext)
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
static void |
deleteFileShortcut(long fileShortcutId) |
static DLFileShortcut |
getFileShortcut(long fileShortcutId) |
static String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static DLFileShortcutService |
getService() |
static DLFileShortcut |
updateFileShortcut(long fileShortcutId,
long repositoryId,
long folderId,
long toFileEntryId,
ServiceContext serviceContext) |
static void |
updateFileShortcuts(long oldToFileEntryId,
long newToFileEntryId) |
public static DLFileShortcut addFileShortcut(long groupId, long repositoryId, long folderId, long toFileEntryId, ServiceContext serviceContext) throws PortalException
DLFileShortcutServiceUtil to access the document library file shortcut remote service. Add custom service methods to com.liferay.portlet.documentlibrary.service.impl.DLFileShortcutServiceImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.PortalExceptionpublic static void deleteFileShortcut(long fileShortcutId)
throws PortalException
PortalExceptionpublic static DLFileShortcut getFileShortcut(long fileShortcutId) throws PortalException
PortalExceptionpublic 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()