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
    • 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