Class RealmDataBinderImpl

  • All Implemented Interfaces:
    org.apache.syncope.core.provisioning.api.data.RealmDataBinder

    public class RealmDataBinderImpl
    extends Object
    implements org.apache.syncope.core.provisioning.api.data.RealmDataBinder
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.apache.syncope.core.persistence.api.dao.AnyTypeDAO anyTypeDAO  
      protected org.apache.syncope.core.persistence.api.entity.EntityFactory entityFactory  
      protected org.apache.syncope.core.persistence.api.dao.ImplementationDAO implementationDAO  
      protected static org.slf4j.Logger LOG  
      protected org.apache.syncope.core.persistence.api.dao.PolicyDAO policyDAO  
      protected org.apache.syncope.core.persistence.api.dao.RealmDAO realmDAO  
      protected org.apache.syncope.core.persistence.api.dao.ExternalResourceDAO resourceDAO  
    • Constructor Summary

      Constructors 
      Constructor Description
      RealmDataBinderImpl​(org.apache.syncope.core.persistence.api.dao.AnyTypeDAO anyTypeDAO, org.apache.syncope.core.persistence.api.dao.ImplementationDAO implementationDAO, org.apache.syncope.core.persistence.api.dao.RealmDAO realmDAO, org.apache.syncope.core.persistence.api.dao.PolicyDAO policyDAO, org.apache.syncope.core.persistence.api.dao.ExternalResourceDAO resourceDAO, org.apache.syncope.core.persistence.api.entity.EntityFactory entityFactory)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.syncope.core.persistence.api.entity.Realm create​(org.apache.syncope.core.persistence.api.entity.Realm parent, org.apache.syncope.common.lib.to.RealmTO realmTO)  
      org.apache.syncope.common.lib.to.RealmTO getRealmTO​(org.apache.syncope.core.persistence.api.entity.Realm realm, boolean admin)  
      protected void setTemplates​(org.apache.syncope.common.lib.to.RealmTO realmTO, org.apache.syncope.core.persistence.api.entity.Realm realm)  
      org.apache.syncope.core.provisioning.api.PropagationByResource<String> update​(org.apache.syncope.core.persistence.api.entity.Realm realm, org.apache.syncope.common.lib.to.RealmTO realmTO)  
    • Field Detail

      • LOG

        protected static final org.slf4j.Logger LOG
      • anyTypeDAO

        protected final org.apache.syncope.core.persistence.api.dao.AnyTypeDAO anyTypeDAO
      • implementationDAO

        protected final org.apache.syncope.core.persistence.api.dao.ImplementationDAO implementationDAO
      • realmDAO

        protected final org.apache.syncope.core.persistence.api.dao.RealmDAO realmDAO
      • policyDAO

        protected final org.apache.syncope.core.persistence.api.dao.PolicyDAO policyDAO
      • resourceDAO

        protected final org.apache.syncope.core.persistence.api.dao.ExternalResourceDAO resourceDAO
      • entityFactory

        protected final org.apache.syncope.core.persistence.api.entity.EntityFactory entityFactory
    • Constructor Detail

      • RealmDataBinderImpl

        public RealmDataBinderImpl​(org.apache.syncope.core.persistence.api.dao.AnyTypeDAO anyTypeDAO,
                                   org.apache.syncope.core.persistence.api.dao.ImplementationDAO implementationDAO,
                                   org.apache.syncope.core.persistence.api.dao.RealmDAO realmDAO,
                                   org.apache.syncope.core.persistence.api.dao.PolicyDAO policyDAO,
                                   org.apache.syncope.core.persistence.api.dao.ExternalResourceDAO resourceDAO,
                                   org.apache.syncope.core.persistence.api.entity.EntityFactory entityFactory)
    • Method Detail

      • setTemplates

        protected void setTemplates​(org.apache.syncope.common.lib.to.RealmTO realmTO,
                                    org.apache.syncope.core.persistence.api.entity.Realm realm)
      • create

        public org.apache.syncope.core.persistence.api.entity.Realm create​(org.apache.syncope.core.persistence.api.entity.Realm parent,
                                                                           org.apache.syncope.common.lib.to.RealmTO realmTO)
        Specified by:
        create in interface org.apache.syncope.core.provisioning.api.data.RealmDataBinder
      • update

        public org.apache.syncope.core.provisioning.api.PropagationByResource<String> update​(org.apache.syncope.core.persistence.api.entity.Realm realm,
                                                                                             org.apache.syncope.common.lib.to.RealmTO realmTO)
        Specified by:
        update in interface org.apache.syncope.core.provisioning.api.data.RealmDataBinder
      • getRealmTO

        public org.apache.syncope.common.lib.to.RealmTO getRealmTO​(org.apache.syncope.core.persistence.api.entity.Realm realm,
                                                                   boolean admin)
        Specified by:
        getRealmTO in interface org.apache.syncope.core.provisioning.api.data.RealmDataBinder