Enum Class DomainProperties

java.lang.Object
java.lang.Enum<DomainProperties>
org.emau.icmvc.ganimed.ttp.cm2.config.DomainProperties
All Implemented Interfaces:
Serializable, Comparable<DomainProperties>, Constable

public enum DomainProperties extends Enum<DomainProperties>
possible properties for a consent domain
Author:
geidell
  • Enum Constant Details

    • TAKE_HIGHEST_VERSION_INSTEAD_OF_NEWEST

      public static final DomainProperties TAKE_HIGHEST_VERSION_INSTEAD_OF_NEWEST
      If there are more than one signed policies for a policy, instead the most recent, the one with the highest version number is considered the current one.
      default = false
    • REVOKE_IS_PERMANENT

      public static final DomainProperties REVOKE_IS_PERMANENT
      If set to true, a single signed policy with the state "declined" voids all signed policies for that policy (even if they are newer).
      default = false
    • SCANS_ARE_NOT_MANDATORY_FOR_ACCEPTED_CONSENTS

      public static final DomainProperties SCANS_ARE_NOT_MANDATORY_FOR_ACCEPTED_CONSENTS
      By default, if at least one policy is accepted within a consent document, a scan of either patient and physician signature or of the whole document is required. Set this property to true to skip this validation check.
      default = false
    • SCANS_SIZE_LIMIT

      public static final DomainProperties SCANS_SIZE_LIMIT
      Size limit for scans in bytes.
      default = 10485760 (10 MB)
    • TAKE_MOST_SPECIFIC_PERIOD_OF_VALIDITY_INSTEAD_OF_SHORTEST

      public static final DomainProperties TAKE_MOST_SPECIFIC_PERIOD_OF_VALIDITY_INSTEAD_OF_SHORTEST
      Should the shortest possible period of validity be used or the most specific one (period of validity of domain < the one of consent template < module < policy)
      A validity date at the consent (if one exists) will always be the upper limit for the period of validity.
      default = false
    • VALID_QC_TYPES

      public static final DomainProperties VALID_QC_TYPES
      comma separated list of valid qc types, QCDTO.AUTO_GENERATED is always part of this list
      default = list containing QCDTO.AUTO_GENERATED
    • INVALID_QC_TYPES

      public static final DomainProperties INVALID_QC_TYPES
      comma separated list of invalid qc types
      default = empty list
    • DEFAULT_QC_TYPE

      public static final DomainProperties DEFAULT_QC_TYPE
      one of the above types
      default = QCDTO.AUTO_GENERATED
    • SEND_NOTIFICATIONS_WEB

      public static final DomainProperties SEND_NOTIFICATIONS_WEB
      Use notifications when adding consents or changing QC from Web interface.
      default = false
    • STATISTIC_DOCUMENT_DETAILS

      public static final DomainProperties STATISTIC_DOCUMENT_DETAILS
      Calculate the document details (isExpired, hasDigitalSignature) which requires iterating over all ConsentLightDTOs.
      default = false
    • STATISTIC_POLICY_DETAILS

      public static final DomainProperties STATISTIC_POLICY_DETAILS
      Calculate the policy details (how many signed policies for each policy and domain) which requires fetching the policy status for all signers
      default = false
  • Method Details

    • values

      public static DomainProperties[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DomainProperties valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null