Package org.cibseven.webapp.providers
Class DirectVariableProvider
java.lang.Object
org.cibseven.webapp.providers.DirectVariableProvider
- All Implemented Interfaces:
org.cibseven.webapp.providers.IVariableProvider
public class DirectVariableProvider
extends Object
implements org.cibseven.webapp.providers.IVariableProvider
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteVariable(String taskId, String variableName, org.cibseven.webapp.auth.CIBUser user) Collection<org.cibseven.webapp.rest.model.VariableHistory>fetchActivityVariables(String activityInstanceId, org.cibseven.webapp.auth.CIBUser user) Collection<org.cibseven.webapp.rest.model.VariableHistory>fetchActivityVariablesHistory(String activityInstanceId, org.cibseven.webapp.auth.CIBUser user) fetchFormVariables(String taskId, boolean deserializeValues, org.cibseven.webapp.auth.CIBUser user) fetchFormVariables(List<String> variableListName, String taskId, boolean deserializeValues, org.cibseven.webapp.auth.CIBUser user) org.springframework.http.ResponseEntity<byte[]>fetchHistoryVariableDataById(String id, org.cibseven.webapp.auth.CIBUser user) fetchProcessFormVariables(String key, boolean deserializeValues, org.cibseven.webapp.auth.CIBUser user) fetchProcessFormVariables(List<String> variableListName, String processDefinitionId, boolean deserializeValues, org.cibseven.webapp.auth.CIBUser user) fetchProcessFormVariablesById(String id, org.cibseven.webapp.auth.CIBUser user) org.springframework.http.ResponseEntity<byte[]>fetchProcessInstanceVariableData(String processInstanceId, String variableName, org.cibseven.webapp.auth.CIBUser user) Collection<org.cibseven.webapp.rest.model.Variable>fetchProcessInstanceVariables(String processInstanceId, Map<String, Object> data, org.cibseven.webapp.auth.CIBUser user) Collection<org.cibseven.webapp.rest.model.VariableHistory>fetchProcessInstanceVariablesHistory(String processInstanceId, Map<String, Object> data, org.cibseven.webapp.auth.CIBUser user) org.cibseven.webapp.rest.model.VariablefetchVariable(String taskId, String variableName, boolean deserializeValue, org.cibseven.webapp.auth.CIBUser user) org.cibseven.webapp.rest.model.VariablefetchVariableByProcessInstanceId(String processInstanceId, String variableName, org.cibseven.webapp.auth.CIBUser user) org.cibseven.webapp.rest.model.VariablefetchVariableByProcessInstanceIdImpl(String processInstanceId, String variableName, boolean deserializeValue, org.cibseven.webapp.auth.CIBUser user) org.springframework.http.ResponseEntity<byte[]>fetchVariableDataByExecutionId(String executionId, String variableName, org.cibseven.webapp.auth.CIBUser user) org.cibseven.webapp.NamedByteArrayDataSourcefetchVariableFileData(String taskId, String variableName, org.cibseven.webapp.auth.CIBUser user) voidmodifyVariableByExecutionId(String executionId, Map<String, Object> data, org.cibseven.webapp.auth.CIBUser user) voidmodifyVariableDataByExecutionId(String executionId, String variableName, org.springframework.web.multipart.MultipartFile data, String valueType, org.cibseven.webapp.auth.CIBUser user) voidputLocalExecutionVariable(String executionId, String varName, Map<String, Object> data, org.cibseven.webapp.auth.CIBUser user) voidsaveVariableInProcessInstanceId(String processInstanceId, List<org.cibseven.webapp.rest.model.Variable> variables, org.cibseven.webapp.auth.CIBUser user) org.cibseven.webapp.rest.model.ProcessStartsubmitStartFormVariables(String processDefinitionId, List<org.cibseven.webapp.rest.model.Variable> formResult, org.cibseven.webapp.auth.CIBUser user) voidsubmitVariables(String processInstanceId, List<org.cibseven.webapp.rest.model.Variable> formResult, org.cibseven.webapp.auth.CIBUser user, String processDefinitionId) voiduploadProcessInstanceVariableFileData(String processInstanceId, String variableName, org.springframework.web.multipart.MultipartFile data, String valueType, org.cibseven.webapp.auth.CIBUser user) voiduploadVariableFileData(String taskId, String variableName, org.springframework.web.multipart.MultipartFile data, String valueType, org.cibseven.webapp.auth.CIBUser user) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cibseven.webapp.providers.IVariableProvider
mergeVariablesValues
-
Field Details
-
DEFAULT_BINARY_VALUE_TYPE
- See Also:
-
-
Constructor Details
-
DirectVariableProvider
-
-
Method Details
-
modifyVariableByExecutionId
public void modifyVariableByExecutionId(String executionId, Map<String, Object> data, org.cibseven.webapp.auth.CIBUser user) throws org.cibseven.webapp.exception.SystemException- Specified by:
modifyVariableByExecutionIdin interfaceorg.cibseven.webapp.providers.IVariableProvider- Throws:
org.cibseven.webapp.exception.SystemException
-
modifyVariableDataByExecutionId
public void modifyVariableDataByExecutionId(String executionId, String variableName, org.springframework.web.multipart.MultipartFile data, String valueType, org.cibseven.webapp.auth.CIBUser user) throws org.cibseven.webapp.exception.SystemException - Specified by:
modifyVariableDataByExecutionIdin interfaceorg.cibseven.webapp.providers.IVariableProvider- Throws:
org.cibseven.webapp.exception.SystemException
-
fetchProcessInstanceVariables
public Collection<org.cibseven.webapp.rest.model.Variable> fetchProcessInstanceVariables(String processInstanceId, Map<String, Object> data, org.cibseven.webapp.auth.CIBUser user) throws org.cibseven.webapp.exception.SystemException- Specified by:
fetchProcessInstanceVariablesin interfaceorg.cibseven.webapp.providers.IVariableProvider- Throws:
org.cibseven.webapp.exception.SystemException
-
fetchVariableDataByExecutionId
public org.springframework.http.ResponseEntity<byte[]> fetchVariableDataByExecutionId(String executionId, String variableName, org.cibseven.webapp.auth.CIBUser user) throws org.cibseven.webapp.exception.NoObjectFoundException, org.cibseven.webapp.exception.SystemException - Specified by:
fetchVariableDataByExecutionIdin interfaceorg.cibseven.webapp.providers.IVariableProvider- Throws:
org.cibseven.webapp.exception.NoObjectFoundExceptionorg.cibseven.webapp.exception.SystemException
-
fetchProcessInstanceVariablesHistory
public Collection<org.cibseven.webapp.rest.model.VariableHistory> fetchProcessInstanceVariablesHistory(String processInstanceId, Map<String, Object> data, org.cibseven.webapp.auth.CIBUser user) throws org.cibseven.webapp.exception.SystemException- Specified by:
fetchProcessInstanceVariablesHistoryin interfaceorg.cibseven.webapp.providers.IVariableProvider- Throws:
org.cibseven.webapp.exception.SystemException
-
fetchActivityVariablesHistory
public Collection<org.cibseven.webapp.rest.model.VariableHistory> fetchActivityVariablesHistory(String activityInstanceId, org.cibseven.webapp.auth.CIBUser user) - Specified by:
fetchActivityVariablesHistoryin interfaceorg.cibseven.webapp.providers.IVariableProvider
-
fetchActivityVariables
public Collection<org.cibseven.webapp.rest.model.VariableHistory> fetchActivityVariables(String activityInstanceId, org.cibseven.webapp.auth.CIBUser user) - Specified by:
fetchActivityVariablesin interfaceorg.cibseven.webapp.providers.IVariableProvider
-
fetchHistoryVariableDataById
public org.springframework.http.ResponseEntity<byte[]> fetchHistoryVariableDataById(String id, org.cibseven.webapp.auth.CIBUser user) throws org.cibseven.webapp.exception.NoObjectFoundException, org.cibseven.webapp.exception.SystemException - Specified by:
fetchHistoryVariableDataByIdin interfaceorg.cibseven.webapp.providers.IVariableProvider- Throws:
org.cibseven.webapp.exception.NoObjectFoundExceptionorg.cibseven.webapp.exception.SystemException
-
fetchVariable
public org.cibseven.webapp.rest.model.Variable fetchVariable(String taskId, String variableName, boolean deserializeValue, org.cibseven.webapp.auth.CIBUser user) throws org.cibseven.webapp.exception.NoObjectFoundException, org.cibseven.webapp.exception.SystemException - Specified by:
fetchVariablein interfaceorg.cibseven.webapp.providers.IVariableProvider- Throws:
org.cibseven.webapp.exception.NoObjectFoundExceptionorg.cibseven.webapp.exception.SystemException
-
deleteVariable
public void deleteVariable(String taskId, String variableName, org.cibseven.webapp.auth.CIBUser user) throws org.cibseven.webapp.exception.NoObjectFoundException, org.cibseven.webapp.exception.SystemException - Specified by:
deleteVariablein interfaceorg.cibseven.webapp.providers.IVariableProvider- Throws:
org.cibseven.webapp.exception.NoObjectFoundExceptionorg.cibseven.webapp.exception.SystemException
-
fetchFormVariables
public Map<String,org.cibseven.webapp.rest.model.Variable> fetchFormVariables(String taskId, boolean deserializeValues, org.cibseven.webapp.auth.CIBUser user) throws org.cibseven.webapp.exception.NoObjectFoundException, org.cibseven.webapp.exception.SystemException - Specified by:
fetchFormVariablesin interfaceorg.cibseven.webapp.providers.IVariableProvider- Throws:
org.cibseven.webapp.exception.NoObjectFoundExceptionorg.cibseven.webapp.exception.SystemException
-
fetchFormVariables
public Map<String,org.cibseven.webapp.rest.model.Variable> fetchFormVariables(List<String> variableListName, String taskId, boolean deserializeValues, org.cibseven.webapp.auth.CIBUser user) throws org.cibseven.webapp.exception.NoObjectFoundException, org.cibseven.webapp.exception.SystemException - Specified by:
fetchFormVariablesin interfaceorg.cibseven.webapp.providers.IVariableProvider- Throws:
org.cibseven.webapp.exception.NoObjectFoundExceptionorg.cibseven.webapp.exception.SystemException
-
fetchProcessFormVariables
public Map<String,org.cibseven.webapp.rest.model.Variable> fetchProcessFormVariables(String key, boolean deserializeValues, org.cibseven.webapp.auth.CIBUser user) throws org.cibseven.webapp.exception.NoObjectFoundException, org.cibseven.webapp.exception.SystemException - Specified by:
fetchProcessFormVariablesin interfaceorg.cibseven.webapp.providers.IVariableProvider- Throws:
org.cibseven.webapp.exception.NoObjectFoundExceptionorg.cibseven.webapp.exception.SystemException
-
fetchVariableFileData
public org.cibseven.webapp.NamedByteArrayDataSource fetchVariableFileData(String taskId, String variableName, org.cibseven.webapp.auth.CIBUser user) throws org.cibseven.webapp.exception.NoObjectFoundException, org.cibseven.webapp.exception.UnexpectedTypeException, org.cibseven.webapp.exception.SystemException - Specified by:
fetchVariableFileDatain interfaceorg.cibseven.webapp.providers.IVariableProvider- Throws:
org.cibseven.webapp.exception.NoObjectFoundExceptionorg.cibseven.webapp.exception.UnexpectedTypeExceptionorg.cibseven.webapp.exception.SystemException
-
uploadVariableFileData
public void uploadVariableFileData(String taskId, String variableName, org.springframework.web.multipart.MultipartFile data, String valueType, org.cibseven.webapp.auth.CIBUser user) throws org.cibseven.webapp.exception.NoObjectFoundException, org.cibseven.webapp.exception.SystemException - Specified by:
uploadVariableFileDatain interfaceorg.cibseven.webapp.providers.IVariableProvider- Throws:
org.cibseven.webapp.exception.NoObjectFoundExceptionorg.cibseven.webapp.exception.SystemException
-
fetchProcessInstanceVariableData
public org.springframework.http.ResponseEntity<byte[]> fetchProcessInstanceVariableData(String processInstanceId, String variableName, org.cibseven.webapp.auth.CIBUser user) throws org.cibseven.webapp.exception.NoObjectFoundException, org.cibseven.webapp.exception.SystemException - Specified by:
fetchProcessInstanceVariableDatain interfaceorg.cibseven.webapp.providers.IVariableProvider- Throws:
org.cibseven.webapp.exception.NoObjectFoundExceptionorg.cibseven.webapp.exception.SystemException
-
uploadProcessInstanceVariableFileData
public void uploadProcessInstanceVariableFileData(String processInstanceId, String variableName, org.springframework.web.multipart.MultipartFile data, String valueType, org.cibseven.webapp.auth.CIBUser user) throws org.cibseven.webapp.exception.NoObjectFoundException, org.cibseven.webapp.exception.SystemException - Specified by:
uploadProcessInstanceVariableFileDatain interfaceorg.cibseven.webapp.providers.IVariableProvider- Throws:
org.cibseven.webapp.exception.NoObjectFoundExceptionorg.cibseven.webapp.exception.SystemException
-
submitStartFormVariables
public org.cibseven.webapp.rest.model.ProcessStart submitStartFormVariables(String processDefinitionId, List<org.cibseven.webapp.rest.model.Variable> formResult, org.cibseven.webapp.auth.CIBUser user) throws org.cibseven.webapp.exception.SystemException - Specified by:
submitStartFormVariablesin interfaceorg.cibseven.webapp.providers.IVariableProvider- Throws:
org.cibseven.webapp.exception.SystemException
-
fetchVariableByProcessInstanceId
public org.cibseven.webapp.rest.model.Variable fetchVariableByProcessInstanceId(String processInstanceId, String variableName, org.cibseven.webapp.auth.CIBUser user) throws org.cibseven.webapp.exception.SystemException - Specified by:
fetchVariableByProcessInstanceIdin interfaceorg.cibseven.webapp.providers.IVariableProvider- Throws:
org.cibseven.webapp.exception.SystemException
-
saveVariableInProcessInstanceId
public void saveVariableInProcessInstanceId(String processInstanceId, List<org.cibseven.webapp.rest.model.Variable> variables, org.cibseven.webapp.auth.CIBUser user) throws org.cibseven.webapp.exception.SystemException - Specified by:
saveVariableInProcessInstanceIdin interfaceorg.cibseven.webapp.providers.IVariableProvider- Throws:
org.cibseven.webapp.exception.SystemException
-
submitVariables
public void submitVariables(String processInstanceId, List<org.cibseven.webapp.rest.model.Variable> formResult, org.cibseven.webapp.auth.CIBUser user, String processDefinitionId) throws org.cibseven.webapp.exception.SystemException - Specified by:
submitVariablesin interfaceorg.cibseven.webapp.providers.IVariableProvider- Throws:
org.cibseven.webapp.exception.SystemException
-
fetchProcessFormVariablesById
public Map<String,org.cibseven.webapp.rest.model.Variable> fetchProcessFormVariablesById(String id, org.cibseven.webapp.auth.CIBUser user) throws org.cibseven.webapp.exception.SystemException - Specified by:
fetchProcessFormVariablesByIdin interfaceorg.cibseven.webapp.providers.IVariableProvider- Throws:
org.cibseven.webapp.exception.SystemException
-
putLocalExecutionVariable
public void putLocalExecutionVariable(String executionId, String varName, Map<String, Object> data, org.cibseven.webapp.auth.CIBUser user) - Specified by:
putLocalExecutionVariablein interfaceorg.cibseven.webapp.providers.IVariableProvider
-
fetchVariableByProcessInstanceIdImpl
public org.cibseven.webapp.rest.model.Variable fetchVariableByProcessInstanceIdImpl(String processInstanceId, String variableName, boolean deserializeValue, org.cibseven.webapp.auth.CIBUser user) throws org.cibseven.webapp.exception.SystemException - Throws:
org.cibseven.webapp.exception.SystemException
-
fetchProcessFormVariables
public Map<String,org.cibseven.webapp.rest.model.Variable> fetchProcessFormVariables(List<String> variableListName, String processDefinitionId, boolean deserializeValues, org.cibseven.webapp.auth.CIBUser user) throws org.cibseven.webapp.exception.NoObjectFoundException, org.cibseven.webapp.exception.SystemException - Specified by:
fetchProcessFormVariablesin interfaceorg.cibseven.webapp.providers.IVariableProvider- Throws:
org.cibseven.webapp.exception.NoObjectFoundExceptionorg.cibseven.webapp.exception.SystemException
-