Liferay 7.0-ce-a2

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 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
static DLFileShortcut getFileShortcut(long fileShortcutId)
           
static DLFileShortcutService getService()
           
static void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setService(DLFileShortcutService service)
          Deprecated. As of 6.2.0
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

getBeanIdentifier

public static String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

getFileShortcut

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

setBeanIdentifier

public static void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

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()

setService

@Deprecated
public void setService(DLFileShortcutService service)
Deprecated. As of 6.2.0


Liferay 7.0-ce-a2