Class FormInstanceValidation

java.lang.Object
org.silverpeas.core.contribution.model.ContributionValidation
org.silverpeas.components.formsonline.model.FormInstanceValidation
All Implemented Interfaces:
Serializable

public class FormInstanceValidation extends org.silverpeas.core.contribution.model.ContributionValidation
Represents the data of a validation into context of FormsOnline component.

It is extending the transversal definition ContributionValidation by adding the management of:

Into the context of FormsOnline component, there is only 3 possible statuses:

  • ContributionStatus.UNKNOWN
  • ContributionStatus.VALIDATED
  • ContributionStatus.REFUSED
Author:
silveryocha
See Also:
  • Method Details

    • getId

      public Integer getId()
    • getFormInstance

      public FormInstance getFormInstance()
    • getValidationType

      public FormInstanceValidationType getValidationType()
      Gets the type of the validation.
      Returns:
      a FormInstanceValidationType instance.
    • setValidationType

      public void setValidationType(FormInstanceValidationType validationType)
      Sets the type of the validation.
      Parameters:
      validationType - a FormInstanceValidationType instance.
    • isFollower

      public boolean isFollower()
      Indicates if the registered validator is following the next validations.
      Returns:
      true if the validator is following, false otherwise.
    • setFollower

      public void setFollower(boolean follower)
      Sets the behavior of the validator according to the following of next validations.
      Parameters:
      follower - true to follow, false otherwise.