Liferay 7.0-ce-m3

com.liferay.portlet.dynamicdatalists.service
Interface DDLRecordVersionService

All Superinterfaces:
BaseService
All Known Implementing Classes:
DDLRecordVersionServiceWrapper

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

Provides the remote service interface for DDLRecordVersion. 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:
DDLRecordVersionServiceUtil, com.liferay.portlet.dynamicdatalists.service.base.DDLRecordVersionServiceBaseImpl, com.liferay.portlet.dynamicdatalists.service.impl.DDLRecordVersionServiceImpl

Method Summary
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 DDLRecordVersion getRecordVersion(long recordVersionId)
           
 DDLRecordVersion getRecordVersion(long recordId, String version)
           
 List<DDLRecordVersion> getRecordVersions(long recordId, int start, int end, OrderByComparator<DDLRecordVersion> orderByComparator)
           
 int getRecordVersionsCount(long recordId)
           
 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

getRecordVersion

@Transactional(propagation=SUPPORTS,
               readOnly=true)
DDLRecordVersion getRecordVersion(long recordId,
                                                                           String version)
                                  throws PortalException
Throws:
PortalException

getRecordVersion

@Transactional(propagation=SUPPORTS,
               readOnly=true)
DDLRecordVersion getRecordVersion(long recordVersionId)
                                  throws PortalException
Throws:
PortalException

getRecordVersions

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<DDLRecordVersion> getRecordVersions(long recordId,
                                                                                  int start,
                                                                                  int end,
                                                                                  OrderByComparator<DDLRecordVersion> orderByComparator)
                                         throws PortalException
Throws:
PortalException

getRecordVersionsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getRecordVersionsCount(long recordId)
                           throws PortalException
Throws:
PortalException

setBeanIdentifier

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

Parameters:
beanIdentifier - the Spring bean ID for this bean

Liferay 7.0-ce-m3