public class DLFileVersionServiceWrapper extends Object implements DLFileVersionService, ServiceWrapper<DLFileVersionService>
DLFileVersionService
.DLFileVersionService
Constructor and Description |
---|
DLFileVersionServiceWrapper() |
DLFileVersionServiceWrapper(DLFileVersionService dlFileVersionService) |
Modifier and Type | Method and Description |
---|---|
DLFileVersion |
getFileVersion(long fileVersionId) |
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()
public DLFileVersionServiceWrapper(DLFileVersionService dlFileVersionService)
public DLFileVersion getFileVersion(long fileVersionId) throws PortalException
getFileVersion
in interface DLFileVersionService
PortalException
public List<DLFileVersion> getFileVersions(long fileEntryId, int status) throws PortalException
getFileVersions
in interface DLFileVersionService
PortalException
public int getFileVersionsCount(long fileEntryId, int status) throws PortalException
getFileVersionsCount
in interface DLFileVersionService
PortalException
public DLFileVersion getLatestFileVersion(long fileEntryId) throws PortalException
getLatestFileVersion
in interface DLFileVersionService
PortalException
public DLFileVersion getLatestFileVersion(long fileEntryId, boolean excludeWorkingCopy) throws PortalException
getLatestFileVersion
in interface DLFileVersionService
PortalException
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface DLFileVersionService
public DLFileVersionService getWrappedService()
getWrappedService
in interface ServiceWrapper<DLFileVersionService>
public void setWrappedService(DLFileVersionService dlFileVersionService)
setWrappedService
in interface ServiceWrapper<DLFileVersionService>