Interface DDMTemplateVersionService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
- All Known Implementing Classes:
DDMTemplateVersionServiceWrapper
@AccessControlled
@CTAware
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface DDMTemplateVersionService
extends com.liferay.portal.kernel.service.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:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptiongetLatestTemplateVersion
(long templateId) Returns the OSGi service identifier.getTemplateVersion
(long templateVersionId) getTemplateVersions
(long templateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplateVersion> orderByComparator) int
getTemplateVersionsCount
(long templateId)
-
Method Details
-
getLatestTemplateVersion
@Transactional(propagation=SUPPORTS, readOnly=true) DDMTemplateVersion getLatestTemplateVersion(long templateId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getTemplateVersion
@Transactional(propagation=SUPPORTS, readOnly=true) DDMTemplateVersion getTemplateVersion(long templateVersionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getTemplateVersions
@Transactional(propagation=SUPPORTS, readOnly=true) List<DDMTemplateVersion> getTemplateVersions(long templateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplateVersion> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getTemplateVersionsCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getTemplateVersionsCount(long templateId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-