Class RealmDataBinderImpl
java.lang.Object
org.apache.syncope.core.provisioning.java.data.RealmDataBinderImpl
- All Implemented Interfaces:
RealmDataBinder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AnyTypeClassDAOprotected final AnyTypeDAOprotected final DerAttrHandlerprotected final EntityFactoryprotected final ImplementationDAOprotected final IntAttrNameParserprotected static final Loggerprotected final MappingManagerprotected final PlainSchemaDAOprotected final PolicyDAOprotected final RealmDAOprotected final ExternalResourceDAOprotected 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 voidbind(Realm realm, RealmTO realmTO, SyncopeClientCompositeException scce) protected voidcheckMandatory(PlainSchema schema, PlainAttr attr, Attributable attributable, SyncopeClientException reqValMissing) protected SyncopeClientExceptioncheckMandatoryOnResources(Realm realm) evaluateMandatoryCondition(ExternalResource resource, Realm realm) protected voidfill(RealmTO realmTO, Realm realm, SyncopeClientCompositeException scce) protected voidfillAttr(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:
createin interfaceRealmDataBinder
-
update
- Specified by:
updatein interfaceRealmDataBinder
-
getRealmTO
- Specified by:
getRealmTOin 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)
-