public class CheckConsentConfig
extends java.lang.Object
implements java.io.Serializable
idMatchingType
match at least one, at least all or exact all of the given signer identifiers; see CheckConsentConfig.IdMatchingType
default = CheckConsentConfig.IdMatchingType.AT_LEAST_ONE
ignoreVersionNumber
ignore the version number of the policy
default = false
unknownStateIsConsideredAsDecline
if the consent state type "unknown" is encountered, it's considered as "declined" for the "isConsented...()"-functions; see ConsentStatusType
default = false
requestDate
date for when the consent status is requested
default = current date
useAliases
should aliases be used when searching for signer ids?
will be ignored if idMatchingType
is CheckConsentConfig.IdMatchingType.EXACT
default = true
Modifier and Type | Class and Description |
---|---|
static class |
CheckConsentConfig.IdMatchingType
AT_LEAST_ONE
at least one of the given ids must be related to the person AT_LEAST_ALL all given ids must be related to the person EXACT all given ids and no other id must be related to the person |
Constructor and Description |
---|
CheckConsentConfig() |
CheckConsentConfig(CheckConsentConfig.IdMatchingType idMatchingType,
boolean ignoreVersionNumber,
boolean unknownStateIsConsideredAsDecline) |
CheckConsentConfig(CheckConsentConfig.IdMatchingType idMatchingType,
boolean ignoreVersionNumber,
boolean unknownStateIsConsideredAsDecline,
java.util.Date requestDate,
boolean useAliases) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
CheckConsentConfig.IdMatchingType |
getIdMatchingType() |
boolean |
getIgnoreVersionNumber() |
java.util.Date |
getRequestDate() |
boolean |
getUnknownStateIsConsideredAsDecline() |
int |
hashCode() |
boolean |
isUseAliases() |
void |
setIdMatchingType(CheckConsentConfig.IdMatchingType idMatchingType) |
void |
setIgnoreVersionNumber(boolean ignoreVersionNumber) |
void |
setRequestDate(java.util.Date requestDate) |
void |
setUnknownStateIsConsideredAsDecline(boolean unknownStateIsConsideredAsDecline) |
void |
setUseAliases(boolean useAliases) |
java.lang.String |
toString() |
public CheckConsentConfig()
public CheckConsentConfig(CheckConsentConfig.IdMatchingType idMatchingType, boolean ignoreVersionNumber, boolean unknownStateIsConsideredAsDecline)
public CheckConsentConfig(CheckConsentConfig.IdMatchingType idMatchingType, boolean ignoreVersionNumber, boolean unknownStateIsConsideredAsDecline, java.util.Date requestDate, boolean useAliases)
public CheckConsentConfig.IdMatchingType getIdMatchingType()
public void setIdMatchingType(CheckConsentConfig.IdMatchingType idMatchingType)
public boolean getIgnoreVersionNumber()
public void setIgnoreVersionNumber(boolean ignoreVersionNumber)
public boolean getUnknownStateIsConsideredAsDecline()
public void setUnknownStateIsConsideredAsDecline(boolean unknownStateIsConsideredAsDecline)
public java.util.Date getRequestDate()
public void setRequestDate(java.util.Date requestDate)
public boolean isUseAliases()
public void setUseAliases(boolean useAliases)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object