Simias::EnterpriseProvider Class Reference

Implementation of the IDomainProvider Service for Simias Enterprise Server. More...

Inheritance diagram for Simias::EnterpriseProvider:

Inheritance graph
[legend]
Collaboration diagram for Simias::EnterpriseProvider:

Collaboration graph
[legend]

List of all members.

Public Member Functions

Authentication.Status Authenticate (Domain domain, HttpContext httpContext)
 Performs authentication to the specified domain.
void DeleteLocation (string domainID, string collectionID)
 Indicates to the provider that the specified collection has been deleted and a mapping is no longer required.
void FindCloseDomainMembers (string searchContext)
 End the search for domain members.
bool FindFirstDomainMembers (string domainID, int count, out string searchContext, out Member[] memberList, out int total)
 Starts a search for all domain members.
bool FindFirstDomainMembers (string domainID, string attributeName, string searchString, SearchOp operation, int count, out string searchContext, out Member[] memberList, out int total)
 Starts a search for a specific set of domain members.
bool FindNextDomainMembers (ref string searchContext, int count, out Member[] memberList)
 Continues the search for domain members from the current record location.
bool FindPreviousDomainMembers (ref string searchContext, int count, out Member[] memberList)
 Continues the search for domain members previous to the current record location.
bool FindSeekDomainMembers (ref string searchContext, int offset, int count, out Member[] memberList)
 Continues the search for domain members from the specified record location.
bool OwnsDomain (string domainID)
 Determines if the provider claims ownership for the specified domain.
void PreCommit (string domainID, Member member)
 Informs the domain provider that the specified member object is about to be committed to the domain's member list. This allows an opportunity for the domain provider to add any domain specific attributes to the member object.
Uri ResolveLocation (string domainID)
 Returns the network location for the the specified domain.
Uri ResolveLocation (string domainID, string collectionID)
 Returns the network location for the the specified collection.
Uri ResolveLocation (string domainID, string userID, string collectionID)
 Returns the network location of where to create a collection.
Uri ResolvePOBoxLocation (string domainID, string userID)
 Returns the network location of where to the specified user's POBox is located.
Uri ResolveHostAddress (string domainID, string hostID)
 Returns the network address of the host.
void SetHostLocation (string domainID, Uri hostLocation)
 Sets a new host address for the domain.
void Start ()
 Starts the thread service.
void Stop ()
 Stops the service from executing.
void Pause ()
 Pauses a service's execution.
void Resume ()
 Resumes a paused service.
int Custom (int message, string data)
 Custom.

Properties

string Name [get]
 Gets the name of the domain provider.
string Description [get]
 Gets the description of the domain provider.


Detailed Description

Implementation of the IDomainProvider Service for Simias Enterprise Server.


Member Function Documentation

Authentication.Status Simias::EnterpriseProvider::Authenticate ( Domain  domain,
HttpContext  httpContext 
) [inline]

Performs authentication to the specified domain.

Parameters:
domain Domain to authenticate to.
httpContext HTTP-specific request information. This is passed as a parameter so that a domain provider may modify the HTTP request by adding special headers as necessary.
NOTE: The domain provider must NOT end the HTTP request.

Returns:
The status from the authentication.

Implements Simias::IDomainProvider.

void Simias::EnterpriseProvider::DeleteLocation ( string  domainID,
string  collectionID 
) [inline]

Indicates to the provider that the specified collection has been deleted and a mapping is no longer required.

Parameters:
domainID The identifier for the domain from where the collection has been deleted.
collectionID Identifier of the collection that is being deleted.

Implements Simias::IDomainProvider.

void Simias::EnterpriseProvider::FindCloseDomainMembers ( string  searchContext  )  [inline]

End the search for domain members.

Parameters:
searchContext Domain provider specific search context returned by FindFirstDomainMembers or FindNextDomainMembers methods.

Implements Simias::IDomainProvider.

bool Simias::EnterpriseProvider::FindFirstDomainMembers ( string  domainID,
int  count,
out string  searchContext,
out Member[]  memberList,
out int  total 
) [inline]

Starts a search for all domain members.

Parameters:
domainID The identifier of the domain to search for members in.
count Maximum number of member objects to return.
searchContext Receives a provider specific search context object. This object must be serializable.
memberList Receives an array object that contains the domain Member objects.
total Receives the total number of objects found in the search.
Returns:
True if there are more domain members. Otherwise false is returned.

Implements Simias::IDomainProvider.

bool Simias::EnterpriseProvider::FindFirstDomainMembers ( string  domainID,
string  attributeName,
string  searchString,
SearchOp  operation,
int  count,
out string  searchContext,
out Member[]  memberList,
out int  total 
) [inline]

Starts a search for a specific set of domain members.

Parameters:
domainID The identifier of the domain to search for members in.
attributeName Name of attribute to search.
searchString String that contains a pattern to search for.
operation Type of search operation to perform.
count Maximum number of member objects to return.
searchContext Receives a provider specific search context object. This object must be serializable.
memberList Receives an array object that contains the domain Member objects.
total Receives the total number of objects found in the search.
Returns:
True if there are more domain members. Otherwise false is returned.

Implements Simias::IDomainProvider.

bool Simias::EnterpriseProvider::FindNextDomainMembers ( ref string  searchContext,
int  count,
out Member[]  memberList 
) [inline]

Continues the search for domain members from the current record location.

Parameters:
searchContext Domain provider specific search context returned by FindFirstDomainMembers method.
count Maximum number of member objects to return.
memberList Receives an array object that contains the domain Member objects.
Returns:
True if there are more domain members. Otherwise false is returned.

Implements Simias::IDomainProvider.

bool Simias::EnterpriseProvider::FindPreviousDomainMembers ( ref string  searchContext,
int  count,
out Member[]  memberList 
) [inline]

Continues the search for domain members previous to the current record location.

Parameters:
searchContext Domain provider specific search context returned by FindFirstDomainMembers method.
count Maximum number of member objects to return.
memberList Receives an array object that contains the domain Member objects.
Returns:
True if there are more domain members. Otherwise false is returned.

Implements Simias::IDomainProvider.

bool Simias::EnterpriseProvider::FindSeekDomainMembers ( ref string  searchContext,
int  offset,
int  count,
out Member[]  memberList 
) [inline]

Continues the search for domain members from the specified record location.

Parameters:
domainID The identifier of the domain to search for members in.
searchContext Domain provider specific search context returned by FindFirstDomainMembers method.
offset Record offset to return members from.
count Maximum number of member objects to return.
memberList Receives an array object that contains the domain Member objects.
Returns:
True if there are more domain members. Otherwise false is returned.

Implements Simias::IDomainProvider.

bool Simias::EnterpriseProvider::OwnsDomain ( string  domainID  )  [inline]

Determines if the provider claims ownership for the specified domain.

Parameters:
domainID Identifier of a domain.
Returns:
True if the provider claims ownership for the specified domain. Otherwise, False is returned.

Implements Simias::IDomainProvider.

void Simias::EnterpriseProvider::PreCommit ( string  domainID,
Member  member 
) [inline]

Informs the domain provider that the specified member object is about to be committed to the domain's member list. This allows an opportunity for the domain provider to add any domain specific attributes to the member object.

Parameters:
domainID Identifier of a domain.
member Member object that is about to be committed to the domain's member list.

Implements Simias::IDomainProvider.

Uri Simias::EnterpriseProvider::ResolveLocation ( string  domainID  )  [inline]

Returns the network location for the the specified domain.

Parameters:
domainID Identifier for the domain.
Returns:
A Uri object that contains the network location.

Implements Simias::IDomainProvider.

Uri Simias::EnterpriseProvider::ResolveLocation ( string  domainID,
string  collectionID 
) [inline]

Returns the network location for the the specified collection.

Parameters:
domainID Identifier for the domain that the collection belongs to.
collectionID Identifier of the collection to find the network location for.
Returns:
A Uri object that contains the network location.

Implements Simias::IDomainProvider.

Uri Simias::EnterpriseProvider::ResolveLocation ( string  domainID,
string  userID,
string  collectionID 
) [inline]

Returns the network location of where to create a collection.

Parameters:
domainID Identifier of the domain where a collection is to be created.
userID The member that will own the collection.
collectionID Identifier of the collection that is being created.
Returns:
A Uri object that contains the network location.

Implements Simias::IDomainProvider.

Uri Simias::EnterpriseProvider::ResolvePOBoxLocation ( string  domainID,
string  userID 
) [inline]

Returns the network location of where to the specified user's POBox is located.

Parameters:
domainID Identifier of the domain where a collection is to be created.
userID The member that will owns the POBox.
Returns:
A Uri object that contains the network location.

Implements Simias::IDomainProvider.

Uri Simias::EnterpriseProvider::ResolveHostAddress ( string  domainID,
string  hostID 
) [inline]

Returns the network address of the host.

Parameters:
domainID Identifier of the domain where a collection is to be created.
hostID The host to resolve.
Returns:
A Uri object that contains the network location.

Implements Simias::IDomainProvider.

void Simias::EnterpriseProvider::SetHostLocation ( string  domainID,
Uri  hostLocation 
) [inline]

Sets a new host address for the domain.

Parameters:
domainID Identifier of the domain for network address to be changed.
hostLocation A Uri object containing the new network address for the domain.

Implements Simias::IDomainProvider.

void Simias::EnterpriseProvider::Start (  )  [inline]

Starts the thread service.

Implements Simias::Service::IThreadService.

void Simias::EnterpriseProvider::Stop (  )  [inline]

Stops the service from executing.

Implements Simias::Service::IThreadService.

void Simias::EnterpriseProvider::Pause (  )  [inline]

Pauses a service's execution.

Implements Simias::Service::IThreadService.

void Simias::EnterpriseProvider::Resume (  )  [inline]

Resumes a paused service.

Implements Simias::Service::IThreadService.

int Simias::EnterpriseProvider::Custom ( int  message,
string  data 
) [inline]

Custom.

Parameters:
message 
data 

Implements Simias::Service::IThreadService.


Property Documentation

string Simias::EnterpriseProvider::Name [get]

Gets the name of the domain provider.

Implements Simias::IDomainProvider.

string Simias::EnterpriseProvider::Description [get]

Gets the description of the domain provider.

Implements Simias::IDomainProvider.


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

Generated on Wed Apr 8 14:46:46 2009 for simias by  doxygen 1.5.6