Public Member Functions

nsIAbLDAPAttributeMapService Interface Reference

The nsIAbLDAPAttributeMapService is used to build and hold a cache of maps. More...

import "nsIAbLDAPAttributeMap.idl";

List of all members.

Public Member Functions

nsIAbLDAPAttributeMap getMapForPrefBranch (in ACString aPrefBranchName)
 Accessor to construct or return a cached copy of the attribute map for a given preference branch.

Detailed Description

The nsIAbLDAPAttributeMapService is used to build and hold a cache of maps.


Member Function Documentation

nsIAbLDAPAttributeMap nsIAbLDAPAttributeMapService::getMapForPrefBranch ( in ACString  aPrefBranchName  ) 

Accessor to construct or return a cached copy of the attribute map for a given preference branch.

The map is constructed by first taking the default map (as specified by the "ldap_2.servers.default.attrmap" prefbranch), and then having any preferences specified by aPrefBranchName override the defaults. LDIF import and export code should use the default map.

Returns:
the requested map
Exceptions:
NS_ERROR_FAILURE error constructing the map; possibly because of a failure from checkState()

The documentation for this interface was generated from the following file: