com.ibm.itim.dataservices.model.domain
Class ScalableAccountTable

java.lang.Object
  |
  +--com.ibm.itim.dataservices.model.domain.ScalableAccountTable

public class ScalableAccountTable
extends java.lang.Object

Class that provides an interface for searching and performing operations on accounts within the context of a defining service. Given the context of a service, single operations can be made against all accounts for that service.


Constructor Summary
ScalableAccountTable(ServiceEntity service)
          Constructs the ScalableAccountTable with a service as its context.
 
Method Summary
 SearchResults getAll()
          Returns all accounts hosted by the service including account on concrete and hosted services.
 SearchResults getByFilter(java.lang.String filter)
          Returns all accounts matching the given filter.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScalableAccountTable

public ScalableAccountTable(ServiceEntity service)
                     throws ObjectNotFoundException
Constructs the ScalableAccountTable with a service as its context.

Parameters:
service - ServiceEntity for context.
Method Detail

getAll

public SearchResults getAll()
                     throws ModelCommunicationException,
                            ObjectNotFoundException
Returns all accounts hosted by the service including account on concrete and hosted services.

Returns:
SearchResults holding AccountEntities hosted by the service.
Throws:
ModelCommunicationException - Thrown if unable to communicate with the data store.
ObjectNotFoundException - Thrown if unable to locate the service in the data store. This may be due to an invalid distinguished name, or the entity may have been removed by another client.

getByFilter

public SearchResults getByFilter(java.lang.String filter)
                          throws ModelCommunicationException,
                                 ObjectNotFoundException
Returns all accounts matching the given filter.

Parameters:
filter - Filter that defines the criteria for returned AccountEntity to meet.
Returns:
SearchResults holding AccountEntities matching filter.
Throws:
ModelCommunicationException - Thrown if unable to communicate with the data store.
ObjectNotFoundException - Thrown if unable to locate the service in the data store. This may be due to an invalid distinguished name, or the entity may have been removed by another client.


IBM Tivoli Identity Manager 4.6
© Copyright International Business Machines Corporation 2005. All rights reserved. US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.