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 java.lang.Object implements LeftOperandHandler
- Author:
- Baptiste Mesta
-
-
Constructor Summary
Constructors Constructor Description AbstractDocumentLeftOperandHandler(ActivityInstanceService activityInstanceService, SessionAccessor sessionAccessor, SessionService sessionService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected longgetAuthorId(long containerId, java.lang.String containerType)protected longgetProcessInstanceId(long containerId, java.lang.String containerType)voidloadLeftOperandInContext(java.util.List<SLeftOperand> sLeftOperand, long leftOperandContainerId, java.lang.String leftOperandContainerType, SExpressionContext expressionContext)voidloadLeftOperandInContext(SLeftOperand sLeftOperand, long leftOperandContainerId, java.lang.String leftOperandContainerType, SExpressionContext expressionContext)retrieve the left operand and put it in context as needed by the left operand-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.bonitasoft.engine.core.operation.LeftOperandHandler
delete, getType, update
-
-
-
-
Constructor Detail
-
AbstractDocumentLeftOperandHandler
public AbstractDocumentLeftOperandHandler(ActivityInstanceService activityInstanceService, SessionAccessor sessionAccessor, SessionService sessionService)
-
-
Method Detail
-
getProcessInstanceId
protected long getProcessInstanceId(long containerId, java.lang.String containerType) throws SFlowNodeNotFoundException, SFlowNodeReadException
-
getAuthorId
protected long getAuthorId(long containerId, java.lang.String containerType)
-
loadLeftOperandInContext
public void loadLeftOperandInContext(SLeftOperand sLeftOperand, long leftOperandContainerId, java.lang.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(java.util.List<SLeftOperand> sLeftOperand, long leftOperandContainerId, java.lang.String leftOperandContainerType, SExpressionContext expressionContext) throws SBonitaReadException
- Specified by:
loadLeftOperandInContextin interfaceLeftOperandHandler- Throws:
SBonitaReadException
-
-