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 Details

  • Constructor Details

    • DirectVariableProvider

      public DirectVariableProvider(DirectProviderUtil directProviderUtil)
  • 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:
      modifyVariableByExecutionId in interface org.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:
      modifyVariableDataByExecutionId in interface org.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:
      fetchProcessInstanceVariables in interface org.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:
      fetchVariableDataByExecutionId in interface org.cibseven.webapp.providers.IVariableProvider
      Throws:
      org.cibseven.webapp.exception.NoObjectFoundException
      org.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:
      fetchProcessInstanceVariablesHistory in interface org.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:
      fetchActivityVariablesHistory in interface org.cibseven.webapp.providers.IVariableProvider
    • fetchActivityVariables

      public Collection<org.cibseven.webapp.rest.model.VariableHistory> fetchActivityVariables(String activityInstanceId, org.cibseven.webapp.auth.CIBUser user)
      Specified by:
      fetchActivityVariables in interface org.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:
      fetchHistoryVariableDataById in interface org.cibseven.webapp.providers.IVariableProvider
      Throws:
      org.cibseven.webapp.exception.NoObjectFoundException
      org.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:
      fetchVariable in interface org.cibseven.webapp.providers.IVariableProvider
      Throws:
      org.cibseven.webapp.exception.NoObjectFoundException
      org.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:
      deleteVariable in interface org.cibseven.webapp.providers.IVariableProvider
      Throws:
      org.cibseven.webapp.exception.NoObjectFoundException
      org.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:
      fetchFormVariables in interface org.cibseven.webapp.providers.IVariableProvider
      Throws:
      org.cibseven.webapp.exception.NoObjectFoundException
      org.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:
      fetchFormVariables in interface org.cibseven.webapp.providers.IVariableProvider
      Throws:
      org.cibseven.webapp.exception.NoObjectFoundException
      org.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:
      fetchProcessFormVariables in interface org.cibseven.webapp.providers.IVariableProvider
      Throws:
      org.cibseven.webapp.exception.NoObjectFoundException
      org.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:
      fetchVariableFileData in interface org.cibseven.webapp.providers.IVariableProvider
      Throws:
      org.cibseven.webapp.exception.NoObjectFoundException
      org.cibseven.webapp.exception.UnexpectedTypeException
      org.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:
      uploadVariableFileData in interface org.cibseven.webapp.providers.IVariableProvider
      Throws:
      org.cibseven.webapp.exception.NoObjectFoundException
      org.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:
      fetchProcessInstanceVariableData in interface org.cibseven.webapp.providers.IVariableProvider
      Throws:
      org.cibseven.webapp.exception.NoObjectFoundException
      org.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:
      uploadProcessInstanceVariableFileData in interface org.cibseven.webapp.providers.IVariableProvider
      Throws:
      org.cibseven.webapp.exception.NoObjectFoundException
      org.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:
      submitStartFormVariables in interface org.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:
      fetchVariableByProcessInstanceId in interface org.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:
      saveVariableInProcessInstanceId in interface org.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:
      submitVariables in interface org.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:
      fetchProcessFormVariablesById in interface org.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:
      putLocalExecutionVariable in interface org.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:
      fetchProcessFormVariables in interface org.cibseven.webapp.providers.IVariableProvider
      Throws:
      org.cibseven.webapp.exception.NoObjectFoundException
      org.cibseven.webapp.exception.SystemException