@ProviderType
public class DLFileVersionServiceUtil
extends java.lang.Object
com.liferay.portlet.documentlibrary.service.impl.DLFileVersionServiceImpl
and is an
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.DLFileVersionService
Constructor and Description |
---|
DLFileVersionServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static DLFileVersion |
getFileVersion(long fileVersionId) |
static java.util.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 java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static DLFileVersionService |
getService() |
public static DLFileVersion getFileVersion(long fileVersionId) throws PortalException
PortalException
public static java.util.List<DLFileVersion> getFileVersions(long fileEntryId, int status) throws PortalException
PortalException
public static int getFileVersionsCount(long fileEntryId, int status) throws PortalException
PortalException
public static DLFileVersion getLatestFileVersion(long fileEntryId) throws PortalException
PortalException
public static DLFileVersion getLatestFileVersion(long fileEntryId, boolean excludeWorkingCopy) throws PortalException
PortalException
public static java.lang.String getOSGiServiceIdentifier()
public static DLFileVersionService getService()