public class DefaultOutputActionContextProvider extends java.lang.Object implements OutputActionContextProvider
| Constructor and Description |
|---|
DefaultOutputActionContextProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected OutputActionContextCreator |
getCreator(AbstractActionModel action) |
protected OutputActionContextCreator |
getCreator(java.lang.String itemTypeCode) |
java.lang.Object |
getOutputActionContext(AbstractActionModel actionModel,
UserModel userModel,
BTGEvaluationContext evaluationContext)
Gets a context object for a given
AbstractActionModel. |
void |
initialize() |
boolean |
isValidOutputAction(AbstractActionModel actionModel)
Check, if a context object can be provided for a
AbstractActionModel. |
boolean |
isValidOutputActionType(java.lang.String typeCode)
Check, if a context object can be provided for a type.
|
void |
setApplicationContext(ApplicationContext applicationContext) |
void |
setTypeService(TypeService typeService) |
public java.lang.Object getOutputActionContext(AbstractActionModel actionModel, UserModel userModel, BTGEvaluationContext evaluationContext)
OutputActionContextProviderAbstractActionModel.getOutputActionContext in interface OutputActionContextProviderpublic boolean isValidOutputAction(AbstractActionModel actionModel)
OutputActionContextProviderAbstractActionModel.isValidOutputAction in interface OutputActionContextProvideractionModel - the action which should be checkedOutputActionContextProvider.getOutputActionContext(AbstractActionModel, UserModel, BTGEvaluationContext)
can provide a context object for the given AbstractActionModel.public boolean isValidOutputActionType(java.lang.String typeCode)
OutputActionContextProviderisValidOutputActionType in interface OutputActionContextProvidertypeCode - the type code which should be checkedOutputActionContextProvider.getOutputActionContext(AbstractActionModel, UserModel, BTGEvaluationContext)
can provide a context object for an AbstractActionModel of the given type.protected OutputActionContextCreator getCreator(AbstractActionModel action)
protected OutputActionContextCreator getCreator(java.lang.String itemTypeCode)
public void initialize()
public void setApplicationContext(ApplicationContext applicationContext)
throws BeansException
BeansExceptionpublic void setTypeService(TypeService typeService)
Copyright © 2018 SAP SE. All Rights Reserved.