com.ibm.as400.resource
Class ArrayResourceList

java.lang.Object
  extended by com.ibm.as400.resource.ResourceList
      extended by com.ibm.as400.resource.ArrayResourceList
All Implemented Interfaces:
Serializable

Deprecated. Use packages com.ibm.as400.access and com.ibm.as400.access.list instead.

public class ArrayResourceList
extends ResourceList

The ArrayResourceList class represents a subclass of the ResourceList class which manages a list of resources predefined as an array of Resource objects.

See Also:
Serialized Form

Constructor Summary
ArrayResourceList(Resource[] resources, Presentation presentation, ResourceMetaData[] attributeMetaData)
          Deprecated. Constructs a ArrayResourceList object.
 
Method Summary
 void open()
          Deprecated. Opens the list.
 Resource resourceAt(long index)
          Deprecated. Returns the resource specified by the index.
protected  void setArray(Resource[] resources)
          Deprecated.  
 
Methods inherited from class com.ibm.as400.resource.ResourceList
addActiveStatusListener, addPropertyChangeListener, addResourceListListener, addVetoableChangeListener, arePropertiesFrozen, close, establishConnection, fireBusy, fireIdle, fireLengthChanged, fireListClosed, fireListCompleted, fireListInError, fireListOpened, firePropertyChange, fireResourceAdded, fireVetoableChange, freezeProperties, getAttributeMetaData, getAttributeMetaData, getListLength, getPresentation, getSelectionMetaData, getSelectionMetaData, getSelectionValue, getSelectionValue, getSortMetaData, getSortMetaData, getSortOrder, getSortValue, getSystem, isBidiEnabled, isComplete, isConnectionEstablished, isInError, isOpen, isResourceAvailable, refreshContents, refreshStatus, removeActiveStatusListener, removePropertyChangeListener, removeResourceListListener, removeVetoableChangeListener, resources, setAttributeMetaData, setPresentation, setSelectionValue, setSelectionValue, setSortOrder, setSortValue, setSystem, toString, waitForComplete, waitForResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArrayResourceList

public ArrayResourceList(Resource[] resources,
                         Presentation presentation,
                         ResourceMetaData[] attributeMetaData)
Deprecated. 
Constructs a ArrayResourceList object.

Parameters:
resources - The array of Resource objects.
presentation - The presentation.
attributeMetaData - The attribute meta data, or null if not applicable.
Method Detail

open

public void open()
          throws ResourceException
Deprecated. 
Opens the list. The list must be open in order to perform most operations. This method has no effect if the list is already opened.

Overrides:
open in class ResourceList
Throws:
ResourceException - If an error occurs.

resourceAt

public Resource resourceAt(long index)
                    throws ResourceException
Deprecated. 
Returns the resource specified by the index.

This will implicitly open the list if needed.

Overrides:
resourceAt in class ResourceList
Parameters:
index - The index.
Returns:
The resource specified by the index, or null if the resource is not yet available.
Throws:
ResourceException - If an error occurs.

setArray

protected void setArray(Resource[] resources)
Deprecated.