com.plumtree.remote.auth
Class SyncObjectList

java.lang.Object
  extended bycom.plumtree.remote.auth.SyncObjectList

public class SyncObjectList
extends java.lang.Object

A wrapper for an array of SyncObjects. This object also contains a boolean flag that indicates whether or not this is the complete list of SyncObjects to be returned from the ISyncProvider implementation.


Constructor Summary
SyncObjectList(SyncObject[] list)
          Constructor that populates this object with an array of SyncObjects and indicates that this is the complete list of SyncObjects to be returned.
SyncObjectList(SyncObject[] list, boolean isDone)
          Constructor that populates this object with an array of SyncObjects and indicates whether or not this is the last list of SyncObjects to be returned.
 
Method Summary
 boolean getDone()
          Gets the boolean isDone flag.
 SyncObject[] getSyncObjects()
          Gets the list of SyncObjects.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyncObjectList

public SyncObjectList(SyncObject[] list)
Constructor that populates this object with an array of SyncObjects and indicates that this is the complete list of SyncObjects to be returned.

Parameters:
list - the list of SyncObjects to be returned to the portal

SyncObjectList

public SyncObjectList(SyncObject[] list,
                      boolean isDone)
Constructor that populates this object with an array of SyncObjects and indicates whether or not this is the last list of SyncObjects to be returned.

Parameters:
list - the list of SyncObjects to be returned to the portal
isDone - whether or not this is the last list of SyncObjects to be returned
Method Detail

getSyncObjects

public SyncObject[] getSyncObjects()
Gets the list of SyncObjects.


getDone

public boolean getDone()
Gets the boolean isDone flag.

Returns:
true if this is the complete list of SyncObjects returned by the ISyncProvider implementation


For additional information on the Oracle® WebCenter Interaction Development Kit, including tutorials, blogs, code samples and more, see the Oracle Technology Network (http://www.oracle.com/technology/index.html).

Copyright ©2010 Oracle® Corporation. All Rights Reserved.