com.liferay.portlet.dynamicdatamapping.service
Class DDMTemplateServiceUtil
java.lang.Object
com.liferay.portlet.dynamicdatamapping.service.DDMTemplateServiceUtil
public class DDMTemplateServiceUtil
- extends Object
The utility for the d d m template remote service. This utility wraps 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.
- See Also:
DDMTemplateService
,
DDMTemplateServiceBaseImpl
,
DDMTemplateServiceImpl
- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.
Method Summary |
static DDMTemplate |
addTemplate(long groupId,
long structureId,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
String type,
String mode,
String language,
String script,
ServiceContext serviceContext)
|
static List<DDMTemplate> |
copyTemplates(long structureId,
long newStructureId,
String type,
ServiceContext serviceContext)
|
static void |
deleteTemplate(long templateId)
|
static DDMTemplateService |
getService()
|
static DDMTemplate |
getTemplate(long templateId)
|
static List<DDMTemplate> |
getTemplates(long structureId,
String type,
String mode)
|
static List<DDMTemplate> |
search(long companyId,
long groupId,
long structureId,
String keywords,
String type,
String mode,
int start,
int end,
OrderByComparator orderByComparator)
|
static List<DDMTemplate> |
search(long companyId,
long groupId,
long structureId,
String name,
String description,
String type,
String mode,
String language,
boolean andOperator,
int start,
int end,
OrderByComparator orderByComparator)
|
static int |
searchCount(long companyId,
long groupId,
long structureId,
String keywords,
String type,
String mode)
|
static int |
searchCount(long companyId,
long groupId,
long structureId,
String name,
String description,
String type,
String mode,
String language,
boolean andOperator)
|
void |
setService(DDMTemplateService service)
|
static DDMTemplate |
updateTemplate(long templateId,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
String type,
String mode,
String language,
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,
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
public static List<DDMTemplate> copyTemplates(long structureId,
long newStructureId,
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 List<DDMTemplate> getTemplates(long structureId,
String type,
String mode)
throws SystemException
- Throws:
SystemException
search
public static List<DDMTemplate> search(long companyId,
long groupId,
long structureId,
String keywords,
String type,
String mode,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
search
public static List<DDMTemplate> search(long companyId,
long groupId,
long structureId,
String name,
String description,
String type,
String mode,
String language,
boolean andOperator,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
searchCount
public static int searchCount(long companyId,
long groupId,
long structureId,
String keywords,
String type,
String mode)
throws SystemException
- Throws:
SystemException
searchCount
public static int searchCount(long companyId,
long groupId,
long structureId,
String name,
String description,
String type,
String mode,
String language,
boolean andOperator)
throws SystemException
- Throws:
SystemException
updateTemplate
public static 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
getService
public static DDMTemplateService getService()
setService
public void setService(DDMTemplateService service)