Class DLFileVersionServiceUtil
Object
com.liferay.document.library.kernel.service.DLFileVersionServiceUtil
Provides the remote service utility for DLFileVersion. This utility wraps
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.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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
Returns the OSGi service identifier.static DLFileVersionService
static void
setService
(DLFileVersionService service)
-
Constructor Details
-
DLFileVersionServiceUtil
public DLFileVersionServiceUtil()
-
-
Method Details
-
getFileVersion
- Throws:
PortalException
-
getFileVersions
public static List<DLFileVersion> getFileVersions(long fileEntryId, int status) throws PortalException - Throws:
PortalException
-
getFileVersionsCount
- Throws:
PortalException
-
getLatestFileVersion
- Throws:
PortalException
-
getLatestFileVersion
public static DLFileVersion getLatestFileVersion(long fileEntryId, boolean excludeWorkingCopy) throws PortalException - Throws:
PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getService
-
setService
-