Class DelegationDataBinderImpl

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

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

      Fields 
      Modifier and Type Field Description
      protected org.apache.syncope.core.persistence.api.entity.EntityFactory entityFactory  
      protected static org.slf4j.Logger LOG  
      protected org.apache.syncope.core.persistence.api.dao.RoleDAO roleDAO  
      protected org.apache.syncope.core.persistence.api.dao.UserDAO userDAO  
    • Constructor Summary

      Constructors 
      Constructor Description
      DelegationDataBinderImpl​(org.apache.syncope.core.persistence.api.dao.UserDAO userDAO, org.apache.syncope.core.persistence.api.dao.RoleDAO roleDAO, 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.Delegation create​(org.apache.syncope.common.lib.to.DelegationTO delegationTO)  
      org.apache.syncope.common.lib.to.DelegationTO getDelegationTO​(org.apache.syncope.core.persistence.api.entity.Delegation delegation)  
      org.apache.syncope.core.persistence.api.entity.Delegation update​(org.apache.syncope.core.persistence.api.entity.Delegation delegation, org.apache.syncope.common.lib.to.DelegationTO delegationTO)  
    • Field Detail

      • LOG

        protected static final org.slf4j.Logger LOG
      • userDAO

        protected final org.apache.syncope.core.persistence.api.dao.UserDAO userDAO
      • roleDAO

        protected final org.apache.syncope.core.persistence.api.dao.RoleDAO roleDAO
      • entityFactory

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

      • DelegationDataBinderImpl

        public DelegationDataBinderImpl​(org.apache.syncope.core.persistence.api.dao.UserDAO userDAO,
                                        org.apache.syncope.core.persistence.api.dao.RoleDAO roleDAO,
                                        org.apache.syncope.core.persistence.api.entity.EntityFactory entityFactory)
    • Method Detail

      • create

        public org.apache.syncope.core.persistence.api.entity.Delegation create​(org.apache.syncope.common.lib.to.DelegationTO delegationTO)
        Specified by:
        create in interface org.apache.syncope.core.provisioning.api.data.DelegationDataBinder
      • update

        public org.apache.syncope.core.persistence.api.entity.Delegation update​(org.apache.syncope.core.persistence.api.entity.Delegation delegation,
                                                                                org.apache.syncope.common.lib.to.DelegationTO delegationTO)
        Specified by:
        update in interface org.apache.syncope.core.provisioning.api.data.DelegationDataBinder
      • getDelegationTO

        public org.apache.syncope.common.lib.to.DelegationTO getDelegationTO​(org.apache.syncope.core.persistence.api.entity.Delegation delegation)
        Specified by:
        getDelegationTO in interface org.apache.syncope.core.provisioning.api.data.DelegationDataBinder