public class DLFileVersionServiceUtil
extends 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)
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
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() |
public static DLFileVersion getFileVersion(long fileVersionId) throws PortalException
DLFileVersionServiceUtil
to access the document library file version remote service. Add custom service methods to com.liferay.portlet.documentlibrary.service.impl.DLFileVersionServiceImpl
and rerun ServiceBuilder to automatically copy the method declarations to this interface.PortalException
public static 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 String getOSGiServiceIdentifier()
public static DLFileVersionService getService()