com.liferay.portlet.documentlibrary.service
Class DLFileVersionServiceUtil
java.lang.Object
com.liferay.portlet.documentlibrary.service.DLFileVersionServiceUtil
@ProviderType
public class DLFileVersionServiceUtil
- extends Object
Provides the remote service utility for DLFileVersion. This utility wraps
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.
- See Also:
DLFileVersionService,
com.liferay.portlet.documentlibrary.service.base.DLFileVersionServiceBaseImpl,
com.liferay.portlet.documentlibrary.service.impl.DLFileVersionServiceImpl
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DLFileVersionServiceUtil
public DLFileVersionServiceUtil()
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()