public class ScalableAccountTable
extends java.lang.Object
| Constructor and Description |
|---|
ScalableAccountTable(ServiceEntity service)
Constructs the AccountTable with a service as its context.
|
ScalableAccountTable(ServiceEntity service,
boolean isSearchTenant)
Constructs the AccountTable with a service as its context.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
SearchResults |
getOwned(java.util.ArrayList attributeList)
Returns all owned accounts hosted by the service.
|
public ScalableAccountTable(ServiceEntity service, boolean isSearchTenant) throws ObjectNotFoundException
service - ServiceEntity for context.ObjectNotFoundException - if the profile for the service cannot be foundpublic ScalableAccountTable(ServiceEntity service) throws ObjectNotFoundException
service - ServiceEntity for context.ObjectNotFoundException - if the profile for the service cannot be foundpublic SearchResults getAll() throws ModelCommunicationException, ObjectNotFoundException
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.public SearchResults getOwned(java.util.ArrayList attributeList) throws ModelCommunicationException, ObjectNotFoundException
attributeList - list of attribute names to return, null or empty for all attributesModelCommunicationException - 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.public SearchResults getByFilter(java.lang.String filter) throws ModelCommunicationException, ObjectNotFoundException
filter - Filter that defines the criteria for returned
AccountEntity to meet.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.