Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIAbLDAPAttributeMapService Interface Reference

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

import "nsIAbLDAPAttributeMap.idl";

Inheritance diagram for nsIAbLDAPAttributeMapService:
Inheritance graph
[legend]
Collaboration diagram for nsIAbLDAPAttributeMapService:
Collaboration graph
[legend]

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.

Definition at line 193 of file nsIAbLDAPAttributeMap.idl.


Member Function Documentation

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_FAILUREerror constructing the map; possibly because of a failure from checkState()

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