com.novell.nds.dirxml.job
Interface JobScope


public interface JobScope

Interface that iterates through the directory objects that are the scope of the job. Note that scope is an optional facet of a job and therefore this interface may return zero objects because either:


Method Summary
 DirectoryObject getNextObject()
          Return the next directory object in the scope for the job.
 DirectoryObject getNextObject(long entryID)
          Return the next directory object in the scope for the job.
 void reset()
          Reset this scope object such that getNextObject() will reevaluate the scope objects and return the first object in scope.
 

Method Detail

getNextObject

DirectoryObject getNextObject()
Return the next directory object in the scope for the job.

Returns:
a DirectoryObject implementation, or null if there are no more objects in scope.

getNextObject

DirectoryObject getNextObject(long entryID)
Return the next directory object in the scope for the job.

Parameters:
entryID - trustee entry id
Returns:
a DirectoryObject implementation, or null if there are no more objects in scope.

reset

void reset()
Reset this scope object such that getNextObject() will reevaluate the scope objects and return the first object in scope.