@AccessControlled @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface DLFileVersionService extends BaseService
DLFileVersionServiceUtil
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.
|
@Transactional(propagation=SUPPORTS, readOnly=true) 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.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<DLFileVersion> getFileVersions(long fileEntryId, int status) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getFileVersionsCount(long fileEntryId, int status) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) DLFileVersion getLatestFileVersion(long fileEntryId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) DLFileVersion getLatestFileVersion(long fileEntryId, boolean excludeWorkingCopy) throws PortalException
PortalException
String getOSGiServiceIdentifier()