public class DocumentLeftOperandHandler extends AbstractDocumentLeftOperandHandler
DocumentValue DocumentValue provides filename, mimetype and content
The document that will be update/created have the name given to the leftOperand (leftOperand.getName())
If the document already exists on the process instance (document with same name), it is update.
If there is no document with this name, it is created.| Constructor and Description |
|---|
DocumentLeftOperandHandler(org.bonitasoft.engine.core.document.api.DocumentService documentService,
org.bonitasoft.engine.core.process.instance.api.ActivityInstanceService activityInstanceService,
org.bonitasoft.engine.sessionaccessor.SessionAccessor sessionAccessor,
SessionService sessionService) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(org.bonitasoft.engine.core.operation.model.SLeftOperand leftOperand,
long containerId,
String containerType) |
String |
getType() |
void |
loadLeftOperandInContext(List<org.bonitasoft.engine.core.operation.model.SLeftOperand> sLeftOperand,
org.bonitasoft.engine.core.expression.control.model.SExpressionContext expressionContext,
Map<String,Object> contextToSet) |
void |
loadLeftOperandInContext(org.bonitasoft.engine.core.operation.model.SLeftOperand sLeftOperand,
org.bonitasoft.engine.core.expression.control.model.SExpressionContext expressionContext,
Map<String,Object> contextToSet) |
Object |
update(org.bonitasoft.engine.core.operation.model.SLeftOperand sLeftOperand,
Map<String,Object> inputValues,
Object newValue,
long containerId,
String containerType) |
getAuthorId, getProcessInstanceIdpublic DocumentLeftOperandHandler(org.bonitasoft.engine.core.document.api.DocumentService documentService,
org.bonitasoft.engine.core.process.instance.api.ActivityInstanceService activityInstanceService,
org.bonitasoft.engine.sessionaccessor.SessionAccessor sessionAccessor,
SessionService sessionService)
public Object update(org.bonitasoft.engine.core.operation.model.SLeftOperand sLeftOperand, Map<String,Object> inputValues, Object newValue, long containerId, String containerType) throws org.bonitasoft.engine.core.operation.exception.SOperationExecutionException
org.bonitasoft.engine.core.operation.exception.SOperationExecutionExceptionpublic String getType()
public void delete(org.bonitasoft.engine.core.operation.model.SLeftOperand leftOperand,
long containerId,
String containerType)
throws org.bonitasoft.engine.core.operation.exception.SOperationExecutionException
org.bonitasoft.engine.core.operation.exception.SOperationExecutionExceptionpublic void loadLeftOperandInContext(org.bonitasoft.engine.core.operation.model.SLeftOperand sLeftOperand,
org.bonitasoft.engine.core.expression.control.model.SExpressionContext expressionContext,
Map<String,Object> contextToSet)
public void loadLeftOperandInContext(List<org.bonitasoft.engine.core.operation.model.SLeftOperand> sLeftOperand, org.bonitasoft.engine.core.expression.control.model.SExpressionContext expressionContext, Map<String,Object> contextToSet) throws org.bonitasoft.engine.persistence.SBonitaReadException
org.bonitasoft.engine.persistence.SBonitaReadExceptionCopyright © 2017 Bonitasoft S.A.. All rights reserved.