Package org.bonitasoft.engine.operation
Class AbstractDocumentLeftOperandHandler
java.lang.Object
org.bonitasoft.engine.operation.AbstractDocumentLeftOperandHandler
- All Implemented Interfaces:
LeftOperandHandler
- Direct Known Subclasses:
DocumentLeftOperandHandler,DocumentListLeftOperandHandler
public abstract class AbstractDocumentLeftOperandHandler
extends Object
implements LeftOperandHandler
- Author:
- Baptiste Mesta
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractDocumentLeftOperandHandler(ActivityInstanceService activityInstanceService, SessionAccessor sessionAccessor, SessionService sessionService) -
Method Summary
Modifier and TypeMethodDescriptionprotected longgetAuthorId(long containerId, String containerType) protected longgetProcessInstanceId(long containerId, String containerType) voidloadLeftOperandInContext(List<SLeftOperand> sLeftOperand, long leftOperandContainerId, String leftOperandContainerType, SExpressionContext expressionContext) voidloadLeftOperandInContext(SLeftOperand sLeftOperand, long leftOperandContainerId, String leftOperandContainerType, SExpressionContext expressionContext) retrieve the left operand and put it in context as needed by the left operandMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bonitasoft.engine.core.operation.LeftOperandHandler
delete, getType, update
-
Constructor Details
-
AbstractDocumentLeftOperandHandler
public AbstractDocumentLeftOperandHandler(ActivityInstanceService activityInstanceService, SessionAccessor sessionAccessor, SessionService sessionService)
-
-
Method Details
-
getProcessInstanceId
protected long getProcessInstanceId(long containerId, String containerType) throws SFlowNodeNotFoundException, SFlowNodeReadException -
getAuthorId
-
loadLeftOperandInContext
public void loadLeftOperandInContext(SLeftOperand sLeftOperand, long leftOperandContainerId, String leftOperandContainerType, SExpressionContext expressionContext) Description copied from interface:LeftOperandHandlerretrieve the left operand and put it in context as needed by the left operand- Specified by:
loadLeftOperandInContextin interfaceLeftOperandHandler- Parameters:
sLeftOperand- the left operandleftOperandContainerId- the left operand container id. Used to execute the left Operand in the correct contextleftOperandContainerType- the left operand container type. Used to execute the left Operand in the correct contextexpressionContext- the context to add the value i
-
loadLeftOperandInContext
public void loadLeftOperandInContext(List<SLeftOperand> sLeftOperand, long leftOperandContainerId, String leftOperandContainerType, SExpressionContext expressionContext) throws SBonitaReadException - Specified by:
loadLeftOperandInContextin interfaceLeftOperandHandler- Throws:
SBonitaReadException
-