Class PolicyDataBinderImpl
- java.lang.Object
-
- org.apache.syncope.core.provisioning.java.data.PolicyDataBinderImpl
-
- All Implemented Interfaces:
PolicyDataBinder
public class PolicyDataBinderImpl extends Object implements PolicyDataBinder
-
-
Field Summary
Fields Modifier and Type Field Description protected AnyTypeDAO
anyTypeDAO
protected EntityFactory
entityFactory
protected ImplementationDAO
implementationDAO
protected static Logger
LOG
protected RealmDAO
realmDAO
protected ExternalResourceDAO
resourceDAO
-
Constructor Summary
Constructors Constructor Description PolicyDataBinderImpl(ExternalResourceDAO resourceDAO, RealmDAO realmDAO, AnyTypeDAO anyTypeDAO, ImplementationDAO implementationDAO, EntityFactory entityFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends Policy>
Tcreate(PolicyTO policyTO)
protected <T extends Policy>
TgetPolicy(T policy, PolicyTO policyTO)
<T extends PolicyTO>
TgetPolicyTO(Policy policy)
<T extends Policy>
Tupdate(T policy, PolicyTO policyTO)
-
-
-
Field Detail
-
LOG
protected static final Logger LOG
-
resourceDAO
protected final ExternalResourceDAO resourceDAO
-
realmDAO
protected final RealmDAO realmDAO
-
anyTypeDAO
protected final AnyTypeDAO anyTypeDAO
-
implementationDAO
protected final ImplementationDAO implementationDAO
-
entityFactory
protected final EntityFactory entityFactory
-
-
Constructor Detail
-
PolicyDataBinderImpl
public PolicyDataBinderImpl(ExternalResourceDAO resourceDAO, RealmDAO realmDAO, AnyTypeDAO anyTypeDAO, ImplementationDAO implementationDAO, EntityFactory entityFactory)
-
-
Method Detail
-
create
public <T extends Policy> T create(PolicyTO policyTO)
- Specified by:
create
in interfacePolicyDataBinder
-
update
public <T extends Policy> T update(T policy, PolicyTO policyTO)
- Specified by:
update
in interfacePolicyDataBinder
-
getPolicyTO
public <T extends PolicyTO> T getPolicyTO(Policy policy)
- Specified by:
getPolicyTO
in interfacePolicyDataBinder
-
-