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) |
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
PortalExceptionpublic static List<DLFileVersion> getFileVersions(long fileEntryId, int status) throws PortalException
PortalExceptionpublic static int getFileVersionsCount(long fileEntryId,
int status)
throws PortalException
PortalExceptionpublic static DLFileVersion getLatestFileVersion(long fileEntryId) throws PortalException
PortalExceptionpublic static DLFileVersion getLatestFileVersion(long fileEntryId, boolean excludeWorkingCopy) throws PortalException
PortalExceptionpublic static String getOSGiServiceIdentifier()
public static DLFileVersionService getService()