com.liferay.portlet.dynamicdatamapping.service
Interface DDMTemplateService
- All Known Implementing Classes:
- DDMTemplateServiceWrapper
@JSONWebService
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface DDMTemplateService
The interface for the d d m template remote service.
This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
- Author:
- Brian Wing Shun Chan
- See Also:
DDMTemplateServiceUtil,
com.liferay.portlet.dynamicdatamapping.service.base.DDMTemplateServiceBaseImpl,
com.liferay.portlet.dynamicdatamapping.service.impl.DDMTemplateServiceImpl- Generated:
|
Method Summary |
DDMTemplate |
addTemplate(long groupId,
long structureId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String type,
java.lang.String mode,
java.lang.String language,
java.lang.String script,
ServiceContext serviceContext)
|
java.util.List<DDMTemplate> |
copyTemplates(long structureId,
long newStructureId,
java.lang.String type,
ServiceContext serviceContext)
|
void |
deleteTemplate(long templateId)
|
DDMTemplate |
getTemplate(long templateId)
|
java.util.List<DDMTemplate> |
getTemplates(long structureId,
java.lang.String type,
java.lang.String mode)
|
DDMTemplate |
updateTemplate(long templateId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String type,
java.lang.String mode,
java.lang.String language,
java.lang.String script,
ServiceContext serviceContext)
|
addTemplate
DDMTemplate addTemplate(long groupId,
long structureId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String type,
java.lang.String mode,
java.lang.String language,
java.lang.String script,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
copyTemplates
java.util.List<DDMTemplate> copyTemplates(long structureId,
long newStructureId,
java.lang.String type,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteTemplate
void deleteTemplate(long templateId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getTemplate
@Transactional(propagation=SUPPORTS,
readOnly=true)
DDMTemplate getTemplate(long templateId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getTemplates
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<DDMTemplate> getTemplates(long structureId,
java.lang.String type,
java.lang.String mode)
throws SystemException
- Throws:
SystemException
updateTemplate
DDMTemplate updateTemplate(long templateId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String type,
java.lang.String mode,
java.lang.String language,
java.lang.String script,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException