Class RealmDataBinderImpl
java.lang.Object
org.apache.syncope.core.provisioning.java.data.RealmDataBinderImpl
- All Implemented Interfaces:
RealmDataBinder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AnyTypeClassDAO
protected final AnyTypeDAO
protected final DerAttrHandler
protected final EntityFactory
protected final ImplementationDAO
protected final IntAttrNameParser
protected static final Logger
protected final MappingManager
protected final PlainSchemaDAO
protected final PolicyDAO
protected final RealmDAO
protected final ExternalResourceDAO
protected final PlainAttrValidationManager
-
Constructor Summary
ConstructorsConstructorDescriptionRealmDataBinderImpl
(AnyTypeDAO anyTypeDAO, AnyTypeClassDAO anyTypeClassDAO, ImplementationDAO implementationDAO, RealmDAO realmDAO, PolicyDAO policyDAO, ExternalResourceDAO resourceDAO, PlainSchemaDAO plainSchemaDAO, EntityFactory entityFactory, DerAttrHandler derAttrHandler, PlainAttrValidationManager validator, MappingManager mappingManager, IntAttrNameParser intAttrNameParser) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
bind
(Realm realm, RealmTO realmTO, SyncopeClientCompositeException scce) protected void
checkMandatory
(PlainSchema schema, PlainAttr attr, Attributable attributable, SyncopeClientException reqValMissing) protected SyncopeClientException
checkMandatoryOnResources
(Realm realm) evaluateMandatoryCondition
(ExternalResource resource, Realm realm) protected void
fill
(RealmTO realmTO, Realm realm, SyncopeClientCompositeException scce) protected void
fillAttr
(AttributableTO attributableTO, List<String> values, PlainSchema schema, PlainAttr attr, SyncopeClientException invalidValues) protected Optional
<PlainSchema> getPlainSchema
(String schemaName) getRealmTO
(Realm realm, boolean admin)
-
Field Details
-
anyTypeDAO
-
anyTypeClassDAO
-
implementationDAO
-
realmDAO
-
policyDAO
-
resourceDAO
-
entityFactory
-
LOG
-
plainSchemaDAO
-
validator
-
derAttrHandler
-
mappingManager
-
intAttrNameParser
-
-
Constructor Details
-
RealmDataBinderImpl
public RealmDataBinderImpl(AnyTypeDAO anyTypeDAO, AnyTypeClassDAO anyTypeClassDAO, ImplementationDAO implementationDAO, RealmDAO realmDAO, PolicyDAO policyDAO, ExternalResourceDAO resourceDAO, PlainSchemaDAO plainSchemaDAO, EntityFactory entityFactory, DerAttrHandler derAttrHandler, PlainAttrValidationManager validator, MappingManager mappingManager, IntAttrNameParser intAttrNameParser)
-
-
Method Details
-
fill
-
bind
-
evaluateMandatoryCondition
-
checkMandatoryOnResources
-
create
- Specified by:
create
in interfaceRealmDataBinder
-
update
- Specified by:
update
in interfaceRealmDataBinder
-
getRealmTO
- Specified by:
getRealmTO
in interfaceRealmDataBinder
-
getPlainSchema
-
checkMandatory
protected void checkMandatory(PlainSchema schema, PlainAttr attr, Attributable attributable, SyncopeClientException reqValMissing) -
fillAttr
protected void fillAttr(AttributableTO attributableTO, List<String> values, PlainSchema schema, PlainAttr attr, SyncopeClientException invalidValues)
-