Liferay 7.0-ce-m3

com.liferay.portlet.dynamicdatamapping.service
Interface DDMTemplateVersionService

All Superinterfaces:
BaseService
All Known Implementing Classes:
DDMTemplateVersionServiceBaseImpl, DDMTemplateVersionServiceImpl, DDMTemplateVersionServiceWrapper

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

Provides the remote service interface for DDMTemplateVersion. 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:
DDMTemplateVersionServiceUtil, DDMTemplateVersionServiceBaseImpl, DDMTemplateVersionServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Method Summary
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 DDMTemplateVersion getLatestTemplateVersion(long templateId)
           
 DDMTemplateVersion getTemplateVersion(long templateVersionId)
           
 List<DDMTemplateVersion> getTemplateVersions(long templateId, int start, int end, OrderByComparator<DDMTemplateVersion> orderByComparator)
           
 int getTemplateVersionsCount(long templateId)
           
 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

getLatestTemplateVersion

@Transactional(propagation=SUPPORTS,
               readOnly=true)
DDMTemplateVersion getLatestTemplateVersion(long templateId)
                                            throws PortalException
Throws:
PortalException

getTemplateVersion

@Transactional(propagation=SUPPORTS,
               readOnly=true)
DDMTemplateVersion getTemplateVersion(long templateVersionId)
                                      throws PortalException
Throws:
PortalException

getTemplateVersions

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<DDMTemplateVersion> getTemplateVersions(long templateId,
                                                                                      int start,
                                                                                      int end,
                                                                                      OrderByComparator<DDMTemplateVersion> orderByComparator)
                                             throws PortalException
Throws:
PortalException

getTemplateVersionsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getTemplateVersionsCount(long templateId)
                             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