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

java.lang.Object
  extended by com.ibm.itim.dataservices.model.domain.ServiceModel

public class ServiceModel
extends java.lang.Object

Class provides functionality to access service supporting data in enrole data store. This includes finding and adding supporting data. For removing supporting data, DirectoryObjectEntity should be used.


Constructor Summary
ServiceModel(DistinguishedName serviceDN)
          Creates new ServiceModel for the given service instance
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceModel

public ServiceModel(DistinguishedName serviceDN)
Creates new ServiceModel for the given service instance

Method Detail

addSupportingData

public DirectoryObjectEntity addSupportingData(AttributeValues rdn,
                                               DirectoryObject directoryObject)
                                        throws ModelCommunicationException,
                                               ModelCreationException
Add a supporting data entry to the enrole data store. The given rdn name component should be free of any special escaping.

Parameters:
rdn - The attributes that the relative distinguished name is formed from
directoryObject - Contains the data
Returns:
The newly created entity
Throws:
ModelCommunicationException - if the data store is inaccessible
ModelCreationException - if the entity could not be added to the data store due to data or naming consistency problems

getByFilter

public SearchResults getByFilter(java.lang.String filter)
                          throws ModelCommunicationException,
                                 ObjectNotFoundException
Gets all supporting data for the service matching the given filter.

Parameters:
filter - The filter to match supporting data by
Returns:
A SearchResults of DirectoryObjectEntity's
Throws:
ModelCommunicationException
ObjectNotFoundException

getByFilter

public SearchResults getByFilter(java.lang.String filter,
                                 boolean useClientSideFilteringForGroup)
                          throws ModelCommunicationException,
                                 ObjectNotFoundException
Throws:
ModelCommunicationException
ObjectNotFoundException

removeSupportingData

public void removeSupportingData()
                          throws ModelCommunicationException,
                                 ObjectNotFoundException
Remove supporting data entries of the service in the enrole data store

Throws:
ModelCommunicationException
ObjectNotFoundException


IBM Security Identity Manager 6.0.0
© Copyright International Business Machines Corporation 2007, 2012. All rights reserved. US Government Users Restricited Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.