com.ibm.as400.resource
Class ArrayResourceList
- java.lang.Object
-
- com.ibm.as400.resource.ResourceList
-
- com.ibm.as400.resource.ArrayResourceList
-
- All Implemented Interfaces:
- java.io.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 theResourceList
class which manages a list of resources predefined as an array ofResource
objects.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description ArrayResourceList(Resource[] resources, Presentation presentation, ResourceMetaData[] attributeMetaData)
Deprecated.Constructs a ArrayResourceList object.
-
Method Summary
Methods Modifier and Type Method and Description 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
-
-
-
-
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 classResourceList
- 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 classResourceList
- 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.
-
-