@ProviderType
public class DLFileVersionServiceUtil
extends java.lang.Object
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.DLFileVersionService,
com.liferay.portlet.documentlibrary.service.base.DLFileVersionServiceBaseImpl,
com.liferay.portlet.documentlibrary.service.impl.DLFileVersionServiceImpl| 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() |
void |
setService(DLFileVersionService service)
Deprecated.
As of 6.2.0
|
public static DLFileVersion getFileVersion(long fileVersionId) throws PortalException
PortalExceptionpublic static java.util.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 java.lang.String getOSGiServiceIdentifier()
public static DLFileVersionService getService()
@Deprecated public void setService(DLFileVersionService service)