Class ResModelExpressionEvaluationWebService
- java.lang.Object
-
- de.aristaflow.ilm.ws.base.service.AbstractSubResourceWebService<de.aristaflow.adept2.core.resmodelmanager.ResModelExpressionEvaluation>
-
- de.aristaflow.ilm.ws.core.resmodelmanager.ResModelExpressionEvaluationWebService
-
public class ResModelExpressionEvaluationWebService extends AbstractSubResourceWebService<de.aristaflow.adept2.core.resmodelmanager.ResModelExpressionEvaluation>
- See Also:
ResModelExpressionEvaluation
-
-
Field Summary
Fields Modifier and Type Field Description protected ExecutionFactory
ef
protected ProcessModelFactory
pmf
protected long
REM_IT_ALIVE_TIME_EXTENSION
The time in milliseconds to extend the remote iterator alive time after each access.protected long
REM_IT_INIT_ALIVE_TIME
The time in milliseconds to keep a remote iterator alive after creating it and before accessing it.protected ResInstRemoteIteratorWebService
ririws
The web service for remote iterator handlers for resource instances.protected ResRemoteIteratorWebService
rriws
The web service for remote iterator handlers for resources.
-
Constructor Summary
Constructors Constructor Description ResModelExpressionEvaluationWebService(de.aristaflow.adept2.core.resmodelmanager.ResModelExpressionEvaluation service, ResModelManagerWebService parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull Boolean
evaluateBoolean(@NotNull @Valid SessionToken session, @NotBlank String xpath, @Valid ProcessNodeContext pnc)
@NotNull Double
evaluateFloat(@NotNull @Valid SessionToken session, @NotBlank String xpath, @Valid ProcessNodeContext pnc)
@NotNull Long
evaluateInteger(@NotNull @Valid SessionToken session, @NotBlank String xpath, @Valid ProcessNodeContext pnc)
@Valid ResInstInitialRemoteIteratorData
evaluateResourceInsts(@NotNull @Valid SessionToken session, @NotBlank String xpath, @Valid ProcessNodeContext pnc, Boolean includeChildren, @Positive Integer count)
@Valid ResInitialRemoteIteratorData
evaluateResources(@NotNull @Valid SessionToken session, @NotBlank String xpath, @Valid ProcessNodeContext pnc, Boolean includeParents, @Positive Integer count)
String
evaluateString(@NotNull @Valid SessionToken session, @NotBlank String xpath, @Valid ProcessNodeContext pnc)
String
evaluateXml(@NotNull @Valid SessionToken session, @NotBlank String xpath, @Valid ProcessNodeContext pnc)
ResInstRemoteIteratorWebService
getResInstRemoteIteratorWebService()
ResRemoteIteratorWebService
getResRemoteIteratorWebService()
void
shutdown()
Shuts down this sub resource web service.-
Methods inherited from class de.aristaflow.ilm.ws.base.service.AbstractSubResourceWebService
getLogger, getLogService, getService, getServiceMetaData, getServiceUris, getSessionFactory
-
-
-
-
Field Detail
-
REM_IT_INIT_ALIVE_TIME
protected final long REM_IT_INIT_ALIVE_TIME
The time in milliseconds to keep a remote iterator alive after creating it and before accessing it.
-
REM_IT_ALIVE_TIME_EXTENSION
protected final long REM_IT_ALIVE_TIME_EXTENSION
The time in milliseconds to extend the remote iterator alive time after each access.
-
rriws
protected final ResRemoteIteratorWebService rriws
The web service for remote iterator handlers for resources.
-
ririws
protected final ResInstRemoteIteratorWebService ririws
The web service for remote iterator handlers for resource instances.
-
ef
protected final ExecutionFactory ef
-
pmf
protected final ProcessModelFactory pmf
-
-
Constructor Detail
-
ResModelExpressionEvaluationWebService
public ResModelExpressionEvaluationWebService(de.aristaflow.adept2.core.resmodelmanager.ResModelExpressionEvaluation service, ResModelManagerWebService parent) throws ServiceNotKnownException
- Throws:
ServiceNotKnownException
-
-
Method Detail
-
shutdown
public void shutdown()
Description copied from class:AbstractSubResourceWebService
Shuts down this sub resource web service. This default implementation does nothing.- Overrides:
shutdown
in classAbstractSubResourceWebService<de.aristaflow.adept2.core.resmodelmanager.ResModelExpressionEvaluation>
-
getResRemoteIteratorWebService
public ResRemoteIteratorWebService getResRemoteIteratorWebService()
-
getResInstRemoteIteratorWebService
public ResInstRemoteIteratorWebService getResInstRemoteIteratorWebService()
-
evaluateResources
@Valid public @Valid ResInitialRemoteIteratorData evaluateResources(@NotNull @Valid @NotNull @Valid SessionToken session, @NotBlank @NotBlank String xpath, @Valid @Valid ProcessNodeContext pnc, Boolean includeParents, @Positive @Positive Integer count) throws ParameterException, XPathEvaluationException, DataSourceException, DataConsistencyException
- Throws:
ParameterException
XPathEvaluationException
DataSourceException
DataConsistencyException
- See Also:
ResModelExpressionEvaluation.evaluateResources(de.aristaflow.adept2.base.sessionmanagement.SessionToken, String, de.aristaflow.adept2.model.execution.ProcessNodeContext, boolean)
,ResModelExpressionEvaluation.evaluateResourcesIterator(de.aristaflow.adept2.base.sessionmanagement.SessionToken, String, de.aristaflow.adept2.model.execution.ProcessNodeContext, boolean)
-
evaluateResourceInsts
@Valid public @Valid ResInstInitialRemoteIteratorData evaluateResourceInsts(@NotNull @Valid @NotNull @Valid SessionToken session, @NotBlank @NotBlank String xpath, @Valid @Valid ProcessNodeContext pnc, Boolean includeChildren, @Positive @Positive Integer count) throws ParameterException, XPathEvaluationException, DataSourceException, DataConsistencyException
- Throws:
ParameterException
XPathEvaluationException
DataSourceException
DataConsistencyException
- See Also:
ResModelExpressionEvaluation.evaluateResourceInsts(de.aristaflow.adept2.base.sessionmanagement.SessionToken, String, de.aristaflow.adept2.model.execution.ProcessNodeContext, boolean)
,ResModelExpressionEvaluation.evaluateResourceInstsIterator(de.aristaflow.adept2.base.sessionmanagement.SessionToken, String, de.aristaflow.adept2.model.execution.ProcessNodeContext, boolean)
-
evaluateBoolean
@NotNull public @NotNull Boolean evaluateBoolean(@NotNull @Valid @NotNull @Valid SessionToken session, @NotBlank @NotBlank String xpath, @Valid @Valid ProcessNodeContext pnc) throws ParameterException, XPathEvaluationException
- Throws:
ParameterException
XPathEvaluationException
- See Also:
ResModelExpressionEvaluation.evaluateBoolean(de.aristaflow.adept2.base.sessionmanagement.SessionToken, String, de.aristaflow.adept2.model.execution.ProcessNodeContext)
-
evaluateInteger
@NotNull public @NotNull Long evaluateInteger(@NotNull @Valid @NotNull @Valid SessionToken session, @NotBlank @NotBlank String xpath, @Valid @Valid ProcessNodeContext pnc) throws ParameterException, XPathEvaluationException
- Throws:
ParameterException
XPathEvaluationException
- See Also:
ResModelExpressionEvaluation.evaluateInteger(de.aristaflow.adept2.base.sessionmanagement.SessionToken, String, de.aristaflow.adept2.model.execution.ProcessNodeContext)
-
evaluateFloat
@NotNull public @NotNull Double evaluateFloat(@NotNull @Valid @NotNull @Valid SessionToken session, @NotBlank @NotBlank String xpath, @Valid @Valid ProcessNodeContext pnc) throws ParameterException, XPathEvaluationException
- Throws:
ParameterException
XPathEvaluationException
- See Also:
ResModelExpressionEvaluation.evaluateFloat(de.aristaflow.adept2.base.sessionmanagement.SessionToken, String, de.aristaflow.adept2.model.execution.ProcessNodeContext)
-
evaluateString
public String evaluateString(@NotNull @Valid @NotNull @Valid SessionToken session, @NotBlank @NotBlank String xpath, @Valid @Valid ProcessNodeContext pnc) throws ParameterException, XPathEvaluationException
- Throws:
ParameterException
XPathEvaluationException
- See Also:
ResModelExpressionEvaluation.evaluateString(de.aristaflow.adept2.base.sessionmanagement.SessionToken, String, de.aristaflow.adept2.model.execution.ProcessNodeContext)
-
evaluateXml
public String evaluateXml(@NotNull @Valid @NotNull @Valid SessionToken session, @NotBlank @NotBlank String xpath, @Valid @Valid ProcessNodeContext pnc) throws ParameterException, XPathEvaluationException
- Throws:
ParameterException
XPathEvaluationException
- See Also:
ResModelExpressionEvaluation.evaluateXml(de.aristaflow.adept2.base.sessionmanagement.SessionToken, String, de.aristaflow.adept2.model.execution.ProcessNodeContext)
-
-