Liferay 6.2-ce-ga5

com.liferay.portlet.documentlibrary.service
Class DLFileVersionServiceUtil

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

@ProviderType
public class DLFileVersionServiceUtil
extends Object

Provides the remote service utility for DLFileVersion. This utility wraps com.liferay.portlet.documentlibrary.service.impl.DLFileVersionServiceImpl 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:
DLFileVersionService, com.liferay.portlet.documentlibrary.service.base.DLFileVersionServiceBaseImpl, com.liferay.portlet.documentlibrary.service.impl.DLFileVersionServiceImpl

Constructor Summary
DLFileVersionServiceUtil()
           
 
Method Summary
static String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
static DLFileVersion getFileVersion(long fileVersionId)
           
static List<DLFileVersion> getFileVersions(long fileEntryId, int status)
           
static int getFileVersionsCount(long fileEntryId, int status)
           
static DLFileVersion getLatestFileVersion(long fileEntryId)
           
static DLFileVersionService getService()
           
static void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setService(DLFileVersionService service)
          Deprecated. As of 6.2.0
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLFileVersionServiceUtil

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

getFileVersion

public static DLFileVersion getFileVersion(long fileVersionId)
                                    throws PortalException,
                                           SystemException
Throws:
PortalException
SystemException

getFileVersions

public static List<DLFileVersion> getFileVersions(long fileEntryId,
                                                  int status)
                                           throws PortalException,
                                                  SystemException
Throws:
PortalException
SystemException

getFileVersionsCount

public static int getFileVersionsCount(long fileEntryId,
                                       int status)
                                throws PortalException,
                                       SystemException
Throws:
PortalException
SystemException

getLatestFileVersion

public static DLFileVersion getLatestFileVersion(long fileEntryId)
                                          throws PortalException,
                                                 SystemException
Throws:
PortalException
SystemException

getService

public static DLFileVersionService getService()

setService

public void setService(DLFileVersionService service)
Deprecated. As of 6.2.0


Liferay 6.2-ce-ga5