org.identityconnectors.framework.impl.api.local.operations
Class AttributesToGetResultsHandler

java.lang.Object
  extended by org.identityconnectors.framework.impl.api.local.operations.AttributesToGetResultsHandler
Direct Known Subclasses:
SearchImpl.AttributesToGetSearchResultsHandler, SyncImpl.AttributesToGetSyncResultsHandler

public abstract class AttributesToGetResultsHandler
extends Object

Simple class for common results handler components that involve OperationOptions.OP_ATTRIBUTES_TO_GET.


Constructor Summary
AttributesToGetResultsHandler(String[] attrsToGet)
          Keep the attribute to get..
 
Method Summary
 ConnectorObject reduceToAttrsToGet(ConnectorObject obj)
           
 Set<Attribute> reduceToAttrsToGet(Set<Attribute> attrs)
          Simple method that clones the object and remove the attribute thats are not in the OperationOptions.OP_ATTRIBUTES_TO_GET set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributesToGetResultsHandler

public AttributesToGetResultsHandler(String[] attrsToGet)
Keep the attribute to get..

Method Detail

reduceToAttrsToGet

public Set<Attribute> reduceToAttrsToGet(Set<Attribute> attrs)
Simple method that clones the object and remove the attribute thats are not in the OperationOptions.OP_ATTRIBUTES_TO_GET set.

Parameters:
attrsToGet - case insensitive set of attribute names.

reduceToAttrsToGet

public ConnectorObject reduceToAttrsToGet(ConnectorObject obj)


Copyright © 2011. All Rights Reserved.