Class BulkOperation
- java.lang.Object
-
- com.flower.docs.dao.api.operation.BulkOperation
-
- All Implemented Interfaces:
Operation
,OperationWithParameters
,ScopeOperation
public class BulkOperation extends java.lang.Object implements ScopeOperation, OperationWithParameters
Container for multipleOperation
which can be executed inScope
context.
The scope is not mandoraty if all sub operations are notScopeOperation
- Author:
- Christopher Laszczuk
-
-
Constructor Summary
Constructors Constructor Description BulkOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
Executes this internal operationcom.flower.docs.domain.scope.Scope
getScope()
void
setParameters(java.util.Map<java.lang.String,java.lang.String> parameters)
Initializes the parameters of the CLM operationvoid
setScope(com.flower.docs.domain.scope.Scope scope)
Sets the scope into execute this operationvoid
setSubOperations(java.util.List<Operation> subOperations)
void
setUpdate(boolean update)
java.lang.String
toString()
-
-
-
Method Detail
-
execute
public void execute() throws com.flower.docs.domain.exception.TechnicalException, com.flower.docs.domain.exception.FunctionalException
Description copied from interface:Operation
Executes this internal operation
-
setSubOperations
public void setSubOperations(java.util.List<Operation> subOperations)
-
setScope
public void setScope(com.flower.docs.domain.scope.Scope scope)
Description copied from interface:ScopeOperation
Sets the scope into execute this operation- Specified by:
setScope
in interfaceScopeOperation
- Parameters:
scope
- The scope
-
getScope
public com.flower.docs.domain.scope.Scope getScope()
- Specified by:
getScope
in interfaceScopeOperation
-
setParameters
public void setParameters(java.util.Map<java.lang.String,java.lang.String> parameters)
Description copied from interface:OperationWithParameters
Initializes the parameters of the CLM operation- Specified by:
setParameters
in interfaceOperationWithParameters
- Parameters:
parameters
- The parameters asMap
with key / value
-
setUpdate
public void setUpdate(boolean update)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-