com.novell.admin.ns.nds
Class MultiObjModificationNamespaceImpl

java.lang.Object
  |
  +--com.novell.admin.ns.nds.MultiObjModificationNamespaceImpl
All Implemented Interfaces:
MultiObjModificationNamespace

public final class MultiObjModificationNamespaceImpl
extends java.lang.Object
implements MultiObjModificationNamespace

This class provides the utility to modify multiple objects.


Constructor Summary
MultiObjModificationNamespaceImpl(NDSNamespace namespace, NSObjectCache nsObjectLookupTable)
          Constructor
 
Method Summary
 MODObject getMODDetails(com.novell.application.console.snapin.ObjectEntryCollection oeCollection, java.lang.Object key)
          Returns the details for a specified object.
 void updateMultipleObjects(com.novell.application.console.snapin.ObjectEntryCollection collection, MODObject referenceObj, MultiObjModificationCallBack callBack)
          Given a NSObject, applies its changes to all items in an ObjectEntry array and writes those changes to NDS.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiObjModificationNamespaceImpl

public MultiObjModificationNamespaceImpl(NDSNamespace namespace,
                                         NSObjectCache nsObjectLookupTable)
Constructor
Parameters:
namespace - The NDS namespace.
nsObjectLookupTable - The cache of MODObjects.
Method Detail

updateMultipleObjects

public void updateMultipleObjects(com.novell.application.console.snapin.ObjectEntryCollection collection,
                                  MODObject referenceObj,
                                  MultiObjModificationCallBack callBack)
Given a NSObject, applies its changes to all items in an ObjectEntry array and writes those changes to NDS.
Specified by:
updateMultipleObjects in interface MultiObjModificationNamespace
Parameters:
object - These are the objects to apply the changes to and must be of the same class type even though this will not be checked.
referenceObj - The MODObject to apply to 'objects'
callBack - The MultiObjModificationCallBack method to tell function how to handle exceptions.

getMODDetails

public MODObject getMODDetails(com.novell.application.console.snapin.ObjectEntryCollection oeCollection,
                               java.lang.Object key)
Returns the details for a specified object. This method provides the option of caching the MODObject using the "key" parameter.
Specified by:
getMODDetails in interface MultiObjModificationNamespace
Parameters:
obj - The collection of ObjectEntry objects to get details for.
key - The key into the hash table where the NSObject is stored.
Returns:
MODObject which contains details on the namespace object.


API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated December 17 2003 1746.