Package org.bonitasoft.engine.operation
Class DocumentListLeftOperandHandler
- java.lang.Object
-
- org.bonitasoft.engine.operation.AbstractDocumentLeftOperandHandler
-
- org.bonitasoft.engine.operation.DocumentListLeftOperandHandler
-
- All Implemented Interfaces:
LeftOperandHandler
@Component public class DocumentListLeftOperandHandler extends AbstractDocumentLeftOperandHandler
Handles document lists this operation accepts only a List ofDocumentValue- Author:
- Baptiste Mesta
-
-
Field Summary
Fields Modifier and Type Field Description DocumentHelperdocumentHelper
-
Constructor Summary
Constructors Constructor Description DocumentListLeftOperandHandler(ActivityInstanceService activityInstanceService, SessionAccessor sessionAccessor, SessionService sessionService, DocumentHelper documentHelper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(SLeftOperand leftOperand, long containerId, java.lang.String containerType)java.lang.StringgetType()java.lang.Objectupdate(SLeftOperand sLeftOperand, java.util.Map<java.lang.String,java.lang.Object> inputValues, java.lang.Object newValue, long containerId, java.lang.String containerType)-
Methods inherited from class org.bonitasoft.engine.operation.AbstractDocumentLeftOperandHandler
getAuthorId, getProcessInstanceId, loadLeftOperandInContext, loadLeftOperandInContext
-
-
-
-
Field Detail
-
documentHelper
public final DocumentHelper documentHelper
-
-
Constructor Detail
-
DocumentListLeftOperandHandler
public DocumentListLeftOperandHandler(ActivityInstanceService activityInstanceService, SessionAccessor sessionAccessor, SessionService sessionService, DocumentHelper documentHelper)
-
-
Method Detail
-
update
public java.lang.Object update(SLeftOperand sLeftOperand, java.util.Map<java.lang.String,java.lang.Object> inputValues, java.lang.Object newValue, long containerId, java.lang.String containerType) throws SOperationExecutionException
- Parameters:
sLeftOperand- the left operandinputValues- contains value(s) given by the strategy to update the left operand withnewValue- the value to set the element withcontainerId- the container idcontainerType- the container type- Throws:
SOperationExecutionException
-
getType
public java.lang.String getType()
-
delete
public void delete(SLeftOperand leftOperand, long containerId, java.lang.String containerType) throws SOperationExecutionException
- Throws:
SOperationExecutionException
-
-