Liferay 6.1.0-ce-rc1

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.

See Also:
DDMTemplateServiceUtil, com.liferay.portlet.dynamicdatamapping.service.base.DDMTemplateServiceBaseImpl, com.liferay.portlet.dynamicdatamapping.service.impl.DDMTemplateServiceImpl

Method Summary
 DDMTemplate addTemplate(long groupId, long structureId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String type, String mode, String language, String script, ServiceContext serviceContext)
           
 List<DDMTemplate> copyTemplates(long structureId, long newStructureId, String type, ServiceContext serviceContext)
           
 void deleteTemplate(long templateId)
           
 DDMTemplate getTemplate(long templateId)
           
 List<DDMTemplate> getTemplates(long structureId, String type, String mode)
           
 DDMTemplate updateTemplate(long templateId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String type, String mode, String language, String script, ServiceContext serviceContext)
           
 

Method Detail

addTemplate

DDMTemplate addTemplate(long groupId,
                        long structureId,
                        Map<Locale,String> nameMap,
                        Map<Locale,String> descriptionMap,
                        String type,
                        String mode,
                        String language,
                        String script,
                        ServiceContext serviceContext)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

copyTemplates

List<DDMTemplate> copyTemplates(long structureId,
                                long newStructureId,
                                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)
List<DDMTemplate> getTemplates(long structureId,
                                                                        String type,
                                                                        String mode)
                               throws SystemException
Throws:
SystemException

updateTemplate

DDMTemplate updateTemplate(long templateId,
                           Map<Locale,String> nameMap,
                           Map<Locale,String> descriptionMap,
                           String type,
                           String mode,
                           String language,
                           String script,
                           ServiceContext serviceContext)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

Liferay 6.1.0-ce-rc1