com.engiweb.profilemanager.common.interfaces

Interface IExternalErc



  • public interface IExternalErc
    The Interface IExternalErc.
    • Method Detail

      • test

        void test(UserBean userBean,
                  OrgUnitBean ouBean)
           throws com.engiweb.toolkit.common.BackendException
        Throws:
        com.engiweb.toolkit.common.BackendException
      • insertExternalErc

        java.lang.Object insertExternalErc(java.util.Hashtable<java.lang.String,java.lang.Object> mappa,
                                           java.lang.String repository,
                                           java.lang.String realm)
                                    throws com.engiweb.toolkit.common.BackendException
        Method to call the insert in external table throught the repository name
        Parameters:
        mappa - Hashtable the map
        Throws:
        com.engiweb.toolkit.common.BackendException
        java.rmi.RemoteException
      • insertExternalErc

        UserExtInfoBean insertExternalErc(java.util.List<UserExtInfoBean> userExtInfoBeanList,
                                          java.lang.String repository,
                                          java.lang.String realm)
                                   throws com.engiweb.toolkit.common.BackendException
        Insert external erc.
        Parameters:
        userExtInfoBeanList - the user ext info bean list
        repository - the repository
        realm - the realm
        Returns:
        the user ext info bean
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • deleteExternalErc

        void deleteExternalErc(java.lang.String key,
                               java.lang.Object value,
                               java.lang.String repository,
                               java.lang.String realm)
                        throws com.engiweb.toolkit.common.BackendException
        Method to delete records in external db.
        Parameters:
        key - String the column-user_name
        value - Object the value to create delete query
        repository - the repository
        realm - the realm
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • updateExternalErc

        void updateExternalErc(java.util.Hashtable<java.lang.String,java.lang.Object> mappa,
                               java.lang.String repository,
                               java.lang.String realm)
                        throws com.engiweb.toolkit.common.BackendException
        Method to update in external table throught the repository name.
        Parameters:
        mappa - Hashtable the map
        repository - the repository
        realm - the realm
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • updateExternalErc

        @Deprecated
        void updateExternalErc(java.util.List<UserExtInfoBean> userExtInfoBeanList,
                                           java.lang.String repository,
                                           java.lang.String realm)
                                    throws com.engiweb.toolkit.common.BackendException
        Update external erc.
        Parameters:
        userExtInfoBeanList - the user ext info bean list
        repository - the repository
        realm - the realm
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • getSelectedUserData

        java.util.List<UserExtInfoBean> getSelectedUserData(java.lang.String repository,
                                                            java.lang.String realm)
                                                     throws com.engiweb.toolkit.common.BackendException
        Gets the selected user data.
        Parameters:
        repository - the repository
        realm - the realm
        Returns:
        the selected user data
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • loadExternalErc

        java.util.HashMap<java.lang.String,java.lang.Object> loadExternalErc(UserExtInfoBean idUserExtInfoBean,
                                                                             java.lang.String repository,
                                                                             java.lang.String realm)
                                                                      throws com.engiweb.toolkit.common.BackendException
        Load external erc.
        Parameters:
        idUserExtInfoBean - the id user ext info bean
        repository - the repository
        realm - the realm
        Returns:
        the hash map
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • updateExternalErc

        void updateExternalErc(java.util.List<UserExtInfoBean> userExtInfoBeanList,
                               RepositoryBean repository,
                               java.lang.String realm)
                        throws com.engiweb.toolkit.common.BackendException
        Update external erc.
        Parameters:
        userExtInfoBeanList - the user ext info bean list
        repository - the repository
        realm - the realm
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • select

        java.util.List<UserExtInfoBean> select(UserBean p,
                                               boolean onlyVisible,
                                               java.lang.String repository,
                                               java.lang.String token,
                                               java.lang.String realm)
                                        throws com.engiweb.toolkit.common.BackendException
        Gets the selected user data.
        Parameters:
        p - the filter userBean
        onlyVisible - choose if load only the visible attributes or all
        repository - the repository
        realm - the realm
        Returns:
        the selected user data
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception