Liferay 7.0-ce-b4

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 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, DLFileVersionServiceBaseImpl, DLFileVersionServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
DLFileVersionServiceUtil()
           
 
Method Summary
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 DLFileVersion getLatestFileVersion(long fileEntryId, boolean excludeWorkingCopy)
           
static String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
static DLFileVersionService getService()
           
 
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

getFileVersion

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

getFileVersions

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

getFileVersionsCount

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

getLatestFileVersion

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

getLatestFileVersion

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

getOSGiServiceIdentifier

public static String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

getService

public static DLFileVersionService getService()

Liferay 7.0-ce-b4