Liferay 6.1.2-ce-ga3

com.liferay.portlet.documentlibrary.service
Class DLSyncServiceUtil

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

public class DLSyncServiceUtil
extends Object

The utility for the d l sync remote service. This utility wraps com.liferay.portlet.documentlibrary.service.impl.DLSyncServiceImpl and is the primary access point for service operations in application layer code running on a remote server.

This is a remote service. 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:
DLSyncService, com.liferay.portlet.documentlibrary.service.base.DLSyncServiceBaseImpl, com.liferay.portlet.documentlibrary.service.impl.DLSyncServiceImpl

Constructor Summary
DLSyncServiceUtil()
           
 
Method Summary
static String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
static DLSyncUpdate getDLSyncUpdate(long companyId, long repositoryId, Date lastAccessDate)
           
static InputStream getFileDeltaAsStream(long fileEntryId, String sourceVersion, String destinationVersion)
           
static DLSyncService getService()
           
static void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setService(DLSyncService service)
          Deprecated.  
static FileEntry updateFileEntry(long fileEntryId, String sourceFileName, String mimeType, String title, String description, String changeLog, boolean majorVersion, InputStream deltaInputStream, long size, ServiceContext serviceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLSyncServiceUtil

public DLSyncServiceUtil()
Method Detail

getBeanIdentifier

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

Returns:
the Spring bean ID for this bean

setBeanIdentifier

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

Parameters:
beanIdentifier - the Spring bean ID for this bean

getDLSyncUpdate

public static DLSyncUpdate getDLSyncUpdate(long companyId,
                                           long repositoryId,
                                           Date lastAccessDate)
                                    throws PortalException,
                                           SystemException
Throws:
PortalException
SystemException

getFileDeltaAsStream

public static InputStream getFileDeltaAsStream(long fileEntryId,
                                               String sourceVersion,
                                               String destinationVersion)
                                        throws PortalException,
                                               SystemException
Throws:
PortalException
SystemException

updateFileEntry

public static FileEntry updateFileEntry(long fileEntryId,
                                        String sourceFileName,
                                        String mimeType,
                                        String title,
                                        String description,
                                        String changeLog,
                                        boolean majorVersion,
                                        InputStream deltaInputStream,
                                        long size,
                                        ServiceContext serviceContext)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

getService

public static DLSyncService getService()

setService

public void setService(DLSyncService service)
Deprecated. 


Liferay 6.1.2-ce-ga3