|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.as400.resource.ResourceList
com.ibm.as400.resource.BufferedResourceList
com.ibm.as400.resource.SystemResourceList
public class SystemResourceList
Retrieves list items using IBM i "Open List" Application Programming Interfaces (APIs). This class is intended to be extended and customized by subclasses.
Method Summary | |
---|---|
void |
close()
Deprecated. Closes the list. |
protected boolean |
isBidiEnabled()
Deprecated. Indicates if this resource is enabled for bidirectional character conversion. |
boolean |
isResourceAvailable(long index)
Deprecated. Indicates if the resource is available. |
void |
open()
Deprecated. Opens the list. |
void |
refreshContents()
Deprecated. Refreshes the contents of the list. |
void |
refreshStatus()
Deprecated. Refreshes the status of the list. |
Resource |
resourceAt(long index)
Deprecated. Returns the resource specified by the index. |
void |
setSelectionValue(Object selectionID,
Object value,
int bidiStringType)
Deprecated. Sets the current value of a selection. |
void |
waitForComplete()
Deprecated. Waits until the list is completely loaded. |
void |
waitForResource(long index)
Deprecated. Waits until the resource is available or the list is complete. |
Methods inherited from class com.ibm.as400.resource.BufferedResourceList |
---|
fireResourceAdded, getNumberOfPages, getPageSize, setNumberOfPages, setPageSize |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public void close() throws ResourceException
close
in class BufferedResourceList
ResourceException
- If an error occurs.protected boolean isBidiEnabled()
isBidiEnabled
in class ResourceList
public boolean isResourceAvailable(long index) throws ResourceException
isResourceAvailable
in class BufferedResourceList
index
- The index.
ResourceException
- If an error occurs.public void open() throws ResourceException
open
in class BufferedResourceList
ResourceException
- If an error occurs.public void refreshContents() throws ResourceException
This will implicitly open the list if needed.
refreshContents
in class BufferedResourceList
ResourceException
- If an error occurs.public void refreshStatus() throws ResourceException
This method does not refresh the contents of the list. Use
refreshContents()
to refresh
the contents of the list.
This will implicitly open the list if needed.
refreshStatus
in class ResourceList
ResourceException
- If an error occurs.public Resource resourceAt(long index) throws ResourceException
This will implicitly open the list if needed.
resourceAt
in class BufferedResourceList
index
- The index.
ResourceException
- If an error occurs.public void setSelectionValue(Object selectionID, Object value, int bidiStringType) throws ResourceException
setSelectionValue
in class ResourceList
selectionID
- Identifies the selection.value
- The selection value, or null to remove
the selection.bidiStringType
- The bidi string type as defined by the CDRA (Character Data
Representataion Architecture). See
BidiStringType
for more information and valid values.
ResourceException
- If an error occurs.public void waitForComplete() throws ResourceException
This will implicitly open the list if needed.
waitForComplete
in class ResourceList
ResourceException
- If an error occurs.public void waitForResource(long index) throws ResourceException
This will implicitly open the list if needed.
waitForResource
in class ResourceList
index
- The index.
ResourceException
- If an error occurs.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |