Package no.nav.arxaas.utils
Class ARXPrivacyCriterionFactory
- java.lang.Object
-
- no.nav.arxaas.utils.ARXPrivacyCriterionFactory
-
@Component public class ARXPrivacyCriterionFactory extends Object
Utility class for assigning a privacy model
-
-
Field Summary
Fields Modifier and Type Field Description private static StringCOLUMNNAME
-
Constructor Summary
Constructors Constructor Description ARXPrivacyCriterionFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) org.deidentifier.arx.criteria.PrivacyCriterioncreate(PrivacyCriterionModel.PrivacyModel model, Map<String,String> params)Returns an ArxPrivacyCriterionobject for the desired privacy object selected by the user.private static voidvalidateColumnParam(Map<String,String> lDivParams)
-
-
-
Field Detail
-
COLUMNNAME
private static final String COLUMNNAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
create
org.deidentifier.arx.criteria.PrivacyCriterion create(PrivacyCriterionModel.PrivacyModel model, Map<String,String> params)
Returns an ArxPrivacyCriterionobject for the desired privacy object selected by the user.- Parameters:
model- enum representing the privacy model type we want createdparams- map containing parameters that defines which settings to be used to created the privacy model- Returns:
- an ARX
PrivacyCriterionobject created with the specified parameters
-
-