@ConsumerType
public interface DynamicScriptResolverService
| Modifier and Type | Method and Description |
|---|---|
Map<String,FieldComponent> |
geFieldComponentsForProcessDefinition(String identifier,
org.apache.sling.api.scripting.SlingScriptHelper sling)
Generate list of components needed to build the start dialog of a process
|
Map<String,ProcessDefinitionFactory> |
getDetectedProcesDefinitionFactories(org.apache.sling.api.resource.ResourceResolver rr)
Prepare a list of custom process definition factory instances
|
default ProcessDefinitionFactory |
getScriptByIdentifier(org.apache.sling.api.resource.ResourceResolver rr,
String identifier)
Given an identifier, look up the process definition factory.
|
Map<String,ProcessDefinitionFactory> getDetectedProcesDefinitionFactories(org.apache.sling.api.resource.ResourceResolver rr)
rr - Resource resolver to use (note this will usually be the MCP service user, so make sure that doesn't cause ACL issues)default ProcessDefinitionFactory getScriptByIdentifier(org.apache.sling.api.resource.ResourceResolver rr, String identifier)
rr - Resource resolver to use (note this will usually be the MCP service user, so make sure that doesn't cause ACL issues)identifier - JCR path or other applicable script identifierMap<String,FieldComponent> geFieldComponentsForProcessDefinition(String identifier, org.apache.sling.api.scripting.SlingScriptHelper sling) throws ReflectiveOperationException
identifier - JCR path or other applicable script identifiersling - Sling helperReflectiveOperationException - If needed because reflection is used to generate this listCopyright © 2013–2020 Adobe. All rights reserved.