com.liferay.portlet.dynamicdatamapping.service
Class DDMTemplateServiceUtil
java.lang.Object
com.liferay.portlet.dynamicdatamapping.service.DDMTemplateServiceUtil
public class DDMTemplateServiceUtil
- extends java.lang.Object
The utility for the d d m template remote service. This utility wraps com.liferay.portlet.dynamicdatamapping.service.impl.DDMTemplateServiceImpl and is the primary access point for service operations in application layer code running on a remote server.
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:
DDMTemplateService,
com.liferay.portlet.dynamicdatamapping.service.base.DDMTemplateServiceBaseImpl,
com.liferay.portlet.dynamicdatamapping.service.impl.DDMTemplateServiceImpl- Generated:
|
Method Summary |
static 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)
|
static java.util.List<DDMTemplate> |
copyTemplates(long structureId,
long newStructureId,
java.lang.String type,
ServiceContext serviceContext)
|
static void |
deleteTemplate(long templateId)
|
static DDMTemplateService |
getService()
|
static DDMTemplate |
getTemplate(long templateId)
|
static java.util.List<DDMTemplate> |
getTemplates(long structureId,
java.lang.String type,
java.lang.String mode)
|
void |
setService(DDMTemplateService service)
|
static 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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DDMTemplateServiceUtil
public DDMTemplateServiceUtil()
addTemplate
public static 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
public static java.util.List<DDMTemplate> copyTemplates(long structureId,
long newStructureId,
java.lang.String type,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteTemplate
public static void deleteTemplate(long templateId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getTemplate
public static DDMTemplate getTemplate(long templateId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getTemplates
public static java.util.List<DDMTemplate> getTemplates(long structureId,
java.lang.String type,
java.lang.String mode)
throws SystemException
- Throws:
SystemException
updateTemplate
public static 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
getService
public static DDMTemplateService getService()
setService
public void setService(DDMTemplateService service)