public class ServiceModel
extends java.lang.Object
| Constructor and Description |
|---|
ServiceModel(DistinguishedName serviceDN)
Creates new ServiceModel for the given service instance
|
| Modifier and Type | Method and Description |
|---|---|
DirectoryObjectEntity |
addSupportingData(AttributeValues rdn,
DirectoryObject directoryObject)
Add a supporting data entry to the enrole data store.
|
SearchResults |
getByFilter(java.lang.String filter)
Gets all supporting data for the service matching the given filter.
|
SearchResults |
getByFilter(java.lang.String filter,
boolean useClientSideFilteringForGroup) |
void |
removeSupportingData()
Remove supporting data entries of the service in the enrole data store
|
public ServiceModel(DistinguishedName serviceDN)
public DirectoryObjectEntity addSupportingData(AttributeValues rdn, DirectoryObject directoryObject) throws ModelCommunicationException, ModelCreationException
rdn - The attributes that the relative distinguished name is formed fromdirectoryObject - Contains the dataModelCommunicationException - if the data store is inaccessibleModelCreationException - if the entity could not be added to the data store
due to data or naming consistency problemspublic SearchResults getByFilter(java.lang.String filter) throws ModelCommunicationException, ObjectNotFoundException
filter - The filter to match supporting data byModelCommunicationExceptionObjectNotFoundExceptionpublic SearchResults getByFilter(java.lang.String filter, boolean useClientSideFilteringForGroup) throws ModelCommunicationException, ObjectNotFoundException
public void removeSupportingData()
throws ModelCommunicationException,
ObjectNotFoundException