Liferay 7.0-ce-b4

com.liferay.portlet.documentlibrary.service
Interface DLFileVersionService

All Superinterfaces:
BaseService
All Known Implementing Classes:
DLFileVersionServiceWrapper

@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface DLFileVersionService
extends BaseService

Provides the remote service interface for DLFileVersion. 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:
DLFileVersionServiceUtil, com.liferay.portlet.documentlibrary.service.base.DLFileVersionServiceBaseImpl, com.liferay.portlet.documentlibrary.service.impl.DLFileVersionServiceImpl

Method Summary
 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.
 

Method Detail

getFileVersion

@Transactional(propagation=SUPPORTS,
               readOnly=true)
DLFileVersion getFileVersion(long fileVersionId)
                             throws PortalException
Throws:
PortalException

getFileVersions

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<DLFileVersion> getFileVersions(long fileEntryId,
                                                                             int status)
                                    throws PortalException
Throws:
PortalException

getFileVersionsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getFileVersionsCount(long fileEntryId,
                                                                  int status)
                         throws PortalException
Throws:
PortalException

getLatestFileVersion

@Transactional(propagation=SUPPORTS,
               readOnly=true)
DLFileVersion getLatestFileVersion(long fileEntryId)
                                   throws PortalException
Throws:
PortalException

getLatestFileVersion

@Transactional(propagation=SUPPORTS,
               readOnly=true)
DLFileVersion getLatestFileVersion(long fileEntryId,
                                                                            boolean excludeWorkingCopy)
                                   throws PortalException
Throws:
PortalException

getOSGiServiceIdentifier

String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

Liferay 7.0-ce-b4