Enum Class DomainProperties
- All Implemented Interfaces:
Serializable
,Comparable<DomainProperties>
,Constable
possible properties for a consent domain
- Author:
- geidell
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionone of the above types
default =QCDTO.AUTO_GENERATED
comma separated list of invalid qc types
default = empty listIf set to true, a single signed policy with the state "declined" voids all signed policies for that policy (even if they are newer).
default = falseBy 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.Size limit for scans in bytes.
default = 10485760 (10 MB)Use notifications when adding consents or changing QC from Web interface.
default = falseCalculate the document details (isExpired, hasDigitalSignature) which requires iterating over all ConsentLightDTOs.
default = falseCalculate the policy details (how many signed policies for each policy and domain) which requires fetching the policy status for all signers
default = falseIf 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 = falseShould 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 = falsecomma separated list of valid qc types,QCDTO.AUTO_GENERATED
is always part of this list
default = list containingQCDTO.AUTO_GENERATED
-
Method Summary
Modifier and TypeMethodDescriptionstatic DomainProperties
Returns the enum constant of this class with the specified name.static DomainProperties[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
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
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
Size limit for scans in bytes.
default = 10485760 (10 MB) -
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
comma separated list of valid qc types,QCDTO.AUTO_GENERATED
is always part of this list
default = list containingQCDTO.AUTO_GENERATED
-
INVALID_QC_TYPES
comma separated list of invalid qc types
default = empty list -
DEFAULT_QC_TYPE
one of the above types
default =QCDTO.AUTO_GENERATED
-
SEND_NOTIFICATIONS_WEB
Use notifications when adding consents or changing QC from Web interface.
default = false -
STATISTIC_DOCUMENT_DETAILS
Calculate the document details (isExpired, hasDigitalSignature) which requires iterating over all ConsentLightDTOs.
default = false -
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
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
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 nameNullPointerException
- if the argument is null
-