Interface IDRepoModel

    • Method Detail

      • getIDRepoNames

        Set getIDRepoNames​(String realmName)
                    throws AMConsoleException
        Returns a set of ID Repository names.
        Parameters:
        realmName - Name of Realm.
        Returns:
        a set of ID Repository names.
        Throws:
        AMConsoleException - if there are errors getting these names.
      • getIDRepoTypesMap

        Map getIDRepoTypesMap()
                       throws AMConsoleException
        Returns map of ID Repo type name to its localized string.
        Returns:
        map of ID Repo type name to its localized string.
        Throws:
        AMConsoleException
      • getIDRepoTypes

        com.iplanet.jato.view.html.OptionList getIDRepoTypes()
                                                      throws AMConsoleException
        Returns an option list of ID Repo type name to its localized string.
        Returns:
        an option list of ID Repo type name to its localized string.
        Throws:
        AMConsoleException
      • getPropertyXMLString

        String getPropertyXMLString​(String realmName,
                                    String viewBeanClassName,
                                    String type,
                                    boolean bCreate)
                             throws AMConsoleException
        Returns property sheet XML for ID Repo Profile.
        Parameters:
        realmName - Name of Realm.
        viewBeanClassName - Class Name of View Bean.
        type - Type of ID Repo.
        bCreate - true for creation operation.
        Returns:
        property sheet XML for ID Repo Profile.
        Throws:
        AMConsoleException
      • getDefaultAttributeValues

        Map getDefaultAttributeValues​(String type)
        Returns default attribute values of ID Repo.
        Parameters:
        type - Type of ID Repo.
        Returns:
        default attribute values of ID Repo.
      • getAttributeValues

        Map getAttributeValues​(String realmName,
                               String name)
                        throws AMConsoleException
        Returns attribute values of ID Repo.
        Parameters:
        realmName - Name of Realm.
        name - Name of ID Repo.
        Returns:
        attribute values of ID Repo.
        Throws:
        AMConsoleException - if attribute values cannot be obtained.
      • createIDRepo

        void createIDRepo​(String realmName,
                          String idRepoName,
                          String idRepoType,
                          Map values)
                   throws AMConsoleException
        Creates ID Repo object.
        Parameters:
        realmName - Name of Realm.
        idRepoName - Name of ID Repo.
        idRepoType - Type of ID Repo.
        values - Map of attribute name to set of values.
        Throws:
        AMConsoleException - if object cannot be created.
      • deleteIDRepos

        void deleteIDRepos​(String realmName,
                           Set names)
                    throws AMConsoleException
        Deletes ID Repo objects.
        Parameters:
        realmName - Name of Realm.
        names - Set of ID Repo names to be deleted.
        Throws:
        AMConsoleException - if object cannot be deleted.
      • editIDRepo

        void editIDRepo​(String realmName,
                        String idRepoName,
                        Map values)
                 throws AMConsoleException
        Edits ID Repo object.
        Parameters:
        realmName - Name of Realm.
        idRepoName - Name of ID Repo.
        values - Map of attribute name to set of values.
        Throws:
        AMConsoleException - if object cannot be created.
      • getIDRepoType

        String getIDRepoType​(String realmName,
                             String idRepoName)
                      throws AMConsoleException
        Returns ID Repo Type of an object.
        Parameters:
        realmName - Name of Realm.
        idRepoName - Name of ID Repo.
        Returns:
        ID Repo Type of an object.
        Throws:
        AMConsoleException - if type cannot be determined.