Class SchemaContext
java.lang.Object
com.aquima.interactions.portal.model.session.PortalContextDelegate
com.aquima.interactions.portal.model.session.SchemaContext
- All Implemented Interfaces:
IPortalContext
,ISchemaContext
,IInternalPortalContext
,Serializable
Internal implementation of the context interface for dynamic schema elements.
- Since:
- 9.0
- Author:
- Jon van Leuven
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
SchemaContext
(ICustomSchemaElementFactory factory, IInternalPortalContext context, InferenceContext profile, ICustomElementComposerContext composerContext) -
Method Summary
Modifier and TypeMethodDescriptionaddElement
(QualifiedName name) This method may be used to create an XML element.This method returns an element factory that may be used to expand pre-defined elements from the composer using the current container context.This method returns an element factory that may be used to expand pre-defined elements from the composer using the mapping context.The method returns the parameters of the current dynamic schema element.This method will return the current profile interface.Methods inherited from class com.aquima.interactions.portal.model.session.PortalContextDelegate
forModule, forModule, getActiveInstance, getApplication, getApplicationMode, getApplicationModel, getAuditEngine, getCaseEngineClient, getCommentsManager, getCommunicationEngine, getComposer, getConfiguration, getConnectionManager, getContentManagerFactory, getContentManagerFactory, getContext, getCurrentFlow, getCurrentLanguage, getDebugger, getDocumentEngine, getExpressionParser, getFactoryManager, getFlowEngine, getFlowScope, getFunctionCallDefinitionManager, getId, getMappingManager, getMaskManager, getMatchEngine, getMetaModel, getPageScope, getProcessScope, getProject, getRequestScope, getResourceManager, getRuleEngine, getServiceManager, getSessionId, getSessionScope, getState, getTraceEngine, getTreeEngine, getUserProfile, getUserScope, getWebServices, pushActiveInstance, restore
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.aquima.interactions.portal.IPortalContext
forModule, forModule, getActiveInstance, getApplicationMode, getAuditEngine, getCaseEngineClient, getCommentsManager, getCommunicationEngine, getConnectionManager, getContentManagerFactory, getContentManagerFactory, getCurrentFlow, getCurrentLanguage, getDebugger, getDocumentEngine, getExpressionParser, getFlowEngine, getFlowScope, getFunctionCallDefinitionManager, getMappingManager, getMaskManager, getMatchEngine, getMetaModel, getPageScope, getProcessScope, getProject, getRequestScope, getResourceManager, getRuleEngine, getServiceManager, getSessionId, getSessionScope, getState, getTraceEngine, getTreeEngine, getUserProfile, getUserScope, getWebServices, pushActiveInstance, restore
-
Constructor Details
-
SchemaContext
protected SchemaContext(ICustomSchemaElementFactory factory, IInternalPortalContext context, InferenceContext profile, ICustomElementComposerContext composerContext)
-
-
Method Details
-
getProfile
Description copied from interface:IPortalContext
This method will return the current profile interface. In addition to the standard profile behavior, the implementation returned here will also automatically inference unknown values, and is aware of the instances that might have been activated during the page flow.See also getUserProfile()
- Specified by:
getProfile
in interfaceIPortalContext
- Overrides:
getProfile
in classPortalContextDelegate
- Returns:
- Profile interface.
-
getElementComposer
Description copied from interface:IPortalContext
This method returns an element factory that may be used to expand pre-defined elements from the composer using the current container context.- Specified by:
getElementComposer
in interfaceIPortalContext
- Overrides:
getElementComposer
in classPortalContextDelegate
- Returns:
- An element factory that can be used to expand elements from the composer.
-
getMappingComposer
Description copied from interface:IPortalContext
This method returns an element factory that may be used to expand pre-defined elements from the composer using the mapping context.- Specified by:
getMappingComposer
in interfaceIPortalContext
- Overrides:
getMappingComposer
in classPortalContextDelegate
- Returns:
- An element factory that can be used to expand elements from the composer.
-
getParameters
Description copied from interface:ISchemaContext
The method returns the parameters of the current dynamic schema element.- Specified by:
getParameters
in interfaceISchemaContext
- Returns:
- The parameters, never null.
-
addElement
Description copied from interface:ISchemaContext
This method may be used to create an XML element.- Specified by:
addElement
in interfaceISchemaContext
- Parameters:
name
- The qualifiedname of the xml element. *- Returns:
- The created element context, never null.
-