Interface MutableFormState

All Superinterfaces:
FormState
All Known Implementing Classes:
DbFormState

public interface MutableFormState extends FormState
  • Method Details

    • storeFormInFormColumnFamily

      void storeFormInFormColumnFamily(FormRecord record)
      Put the given form in FORMS column family
      Parameters:
      record - the record of the form
    • storeFormInFormByIdAndVersionColumnFamily

      void storeFormInFormByIdAndVersionColumnFamily(FormRecord record)
      Put the given form in FORM_BY_ID_AND_VERSION column family
      Parameters:
      record - the record of the form
    • storeFormInFormKeyByFormIdAndDeploymentKeyColumnFamily

      void storeFormInFormKeyByFormIdAndDeploymentKeyColumnFamily(FormRecord record)
      Put the given form in FORM_KEY_BY_FORM_ID_AND_DEPLOYMENT_KEY column family
      Parameters:
      record - the record of the form
    • storeFormInFormKeyByFormIdAndVersionTagColumnFamily

      void storeFormInFormKeyByFormIdAndVersionTagColumnFamily(FormRecord record)
      Put the given form in FORM_KEY_BY_FORM_ID_AND_VERSION_TAG column family
      Parameters:
      record - the record of the form
    • updateLatestVersion

      void updateLatestVersion(FormRecord record)
      Update the latest version of the form if it is newer.
      Parameters:
      record - the record of the form
    • deleteFormInFormsColumnFamily

      void deleteFormInFormsColumnFamily(FormRecord record)
      Deletes a form from FORMS column family
      Parameters:
      record - the record of the form that is deleted
    • deleteFormInFormByIdAndVersionColumnFamily

      void deleteFormInFormByIdAndVersionColumnFamily(FormRecord record)
      Deletes a form from FORM_BY_ID_AND_VERSION column family
      Parameters:
      record - the record of the form that is deleted
    • deleteFormInFormVersionColumnFamily

      void deleteFormInFormVersionColumnFamily(FormRecord record)
      Deletes a form from FORM_VERSION column family
      Parameters:
      record - the record of the form that is deleted
    • deleteFormInFormKeyByFormIdAndDeploymentKeyColumnFamily

      void deleteFormInFormKeyByFormIdAndDeploymentKeyColumnFamily(FormRecord record)
      Deletes a form from FORM_KEY_BY_FORM_ID_AND_DEPLOYMENT_KEY column family
      Parameters:
      record - the record of the form that is deleted
    • deleteFormInFormKeyByFormIdAndVersionTagColumnFamily

      void deleteFormInFormKeyByFormIdAndVersionTagColumnFamily(FormRecord record)
      Deletes a form from FORM_KEY_BY_FORM_ID_AND_VERSION_TAG column family
      Parameters:
      record - the record of the form that is deleted