public class DLFileVersionServiceWrapper extends Object implements DLFileVersionService, ServiceWrapper<DLFileVersionService>
DLFileVersionService.DLFileVersionService| Constructor and Description |
|---|
DLFileVersionServiceWrapper(DLFileVersionService dlFileVersionService) |
| Modifier and Type | Method and Description |
|---|---|
DLFileVersion |
getFileVersion(long fileVersionId)
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
List<DLFileVersion> |
getFileVersions(long fileEntryId,
int status) |
int |
getFileVersionsCount(long fileEntryId,
int status) |
DLFileVersion |
getLatestFileVersion(long fileEntryId) |
DLFileVersion |
getLatestFileVersion(long fileEntryId,
boolean excludeWorkingCopy) |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
DLFileVersionService |
getWrappedService() |
void |
setWrappedService(DLFileVersionService dlFileVersionService) |
public DLFileVersionServiceWrapper(DLFileVersionService dlFileVersionService)
public 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.getFileVersion in interface DLFileVersionServicePortalExceptionpublic List<DLFileVersion> getFileVersions(long fileEntryId, int status) throws PortalException
getFileVersions in interface DLFileVersionServicePortalExceptionpublic int getFileVersionsCount(long fileEntryId,
int status)
throws PortalException
getFileVersionsCount in interface DLFileVersionServicePortalExceptionpublic DLFileVersion getLatestFileVersion(long fileEntryId) throws PortalException
getLatestFileVersion in interface DLFileVersionServicePortalExceptionpublic DLFileVersion getLatestFileVersion(long fileEntryId, boolean excludeWorkingCopy) throws PortalException
getLatestFileVersion in interface DLFileVersionServicePortalExceptionpublic String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface DLFileVersionServicepublic DLFileVersionService getWrappedService()
getWrappedService in interface ServiceWrapper<DLFileVersionService>public void setWrappedService(DLFileVersionService dlFileVersionService)
setWrappedService in interface ServiceWrapper<DLFileVersionService>