Class ServiceBuilder
java.lang.Object
com.almis.awe.config.ServiceConfig
com.almis.awe.service.data.builder.AbstractQueryBuilder
com.almis.awe.service.data.builder.ServiceBuilder
- All Implemented Interfaces:
QueryBuilder
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
Generate service datalists
-
Field Summary
Fields inherited from class com.almis.awe.service.data.builder.AbstractQueryBuilder
componentSortList, parameters, queryUtil, variableIndex, variables
-
Constructor Summary
ConstructorDescriptionServiceBuilder
(LauncherService launcherService, QueryUtil queryUtil) Autowired constructor -
Method Summary
Methods inherited from class com.almis.awe.service.data.builder.AbstractQueryBuilder
addComponentSort, extractValuesFromParameters, getVariableAsString, getVariables, setVariables, transformFromJsonNode
Methods inherited from class com.almis.awe.config.ServiceConfig
containsBean, getApplicationContext, getBean, getBean, getElements, getLocale, getLocale, getProperty, getProperty, getRequest, getSession, setApplicationContext
-
Constructor Details
-
ServiceBuilder
Autowired constructor- Parameters:
launcherService
- Launcher servicequeryUtil
- Query utilities
-
-
Method Details
-
setQuery
Description copied from interface:QueryBuilder
Set query- Parameters:
query
- Query- Returns:
- query builder
-
build
Call the service and returns the ServiceData- Returns:
- serviceData
- Throws:
AWException
- Error calling service
-