Liferay 7.0-ce-b4

com.liferay.portlet.documentlibrary.service
Class DLFileShortcutServiceUtil

java.lang.Object
  extended by com.liferay.portlet.documentlibrary.service.DLFileShortcutServiceUtil

@ProviderType
public class DLFileShortcutServiceUtil
extends Object

Provides the remote service utility for DLFileShortcut. This utility wraps com.liferay.portlet.documentlibrary.service.impl.DLFileShortcutServiceImpl and is the primary 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.

See Also:
DLFileShortcutService, com.liferay.portlet.documentlibrary.service.base.DLFileShortcutServiceBaseImpl, com.liferay.portlet.documentlibrary.service.impl.DLFileShortcutServiceImpl

Constructor Summary
DLFileShortcutServiceUtil()
           
 
Method Summary
static DLFileShortcut addFileShortcut(long groupId, long repositoryId, long folderId, long toFileEntryId, ServiceContext serviceContext)
           
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLFileShortcutServiceUtil

public DLFileShortcutServiceUtil()
Method Detail

addFileShortcut

public static DLFileShortcut addFileShortcut(long groupId,
                                             long repositoryId,
                                             long folderId,
                                             long toFileEntryId,
                                             ServiceContext serviceContext)
                                      throws PortalException
Throws:
PortalException

deleteFileShortcut

public static void deleteFileShortcut(long fileShortcutId)
                               throws PortalException
Throws:
PortalException

getFileShortcut

public static DLFileShortcut getFileShortcut(long fileShortcutId)
                                      throws PortalException
Throws:
PortalException

getOSGiServiceIdentifier

public static String 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

public static DLFileShortcutService getService()

Liferay 7.0-ce-b4