Liferay 6.2-ce-ga5

com.liferay.portlet.documentlibrary.service
Interface DLFileVersionService

All Superinterfaces:
BaseService
All Known Implementing Classes:
DLFileVersionServiceWrapper

@ProviderType
@AccessControlled
@JSONWebService
@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
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 DLFileVersion getFileVersion(long fileVersionId)
           
 List<DLFileVersion> getFileVersions(long fileEntryId, int status)
           
 int getFileVersionsCount(long fileEntryId, int status)
           
 DLFileVersion getLatestFileVersion(long fileEntryId)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 

Method Detail

getBeanIdentifier

String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

setBeanIdentifier

void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

getFileVersion

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

getFileVersions

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

getFileVersionsCount

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

getLatestFileVersion

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

Liferay 6.2-ce-ga5