|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.cics.server.API
com.ibm.cics.server.Resource
com.ibm.cics.server.RemotableResource
com.ibm.cics.server.KeyedFile
com.ibm.cics.server.ESDS
public class ESDS
This class is the implementation class for the ESDS kind of file.
Constructor Summary | |
---|---|
ESDS()
Construct a default ESDS object. |
Method Summary | |
---|---|
boolean |
isXRBA()
isXRBA. |
void |
read(long byteAddress,
RecordHolder holder)
Read a specific record from an ESDS file. |
void |
readForUpdate(long byteAddress,
RecordHolder holder)
Read a specific record from an ESDS file and lock it for update. |
void |
rewrite(byte[] data)
Update a record in a file. |
void |
setXRBA(boolean XRBA)
SetXRBA. |
ESDS_Browse |
startBrowse(long byteAddress)
Create a browse against the file. |
void |
unlock()
Unlock a file. |
long |
write(byte[] data)
Write a new record to a file. |
long |
write(byte[] alternateKey,
byte[] data)
Write a new record to a file via an alternate key. |
Methods inherited from class com.ibm.cics.server.KeyedFile |
---|
read, read, readForUpdate, readForUpdate, readGeneric, readGeneric, readGenericForUpdate, readGenericForUpdate, startBrowse, startBrowse, startGenericBrowse, startGenericBrowse |
Methods inherited from class com.ibm.cics.server.RemotableResource |
---|
getSysId, setSysId |
Methods inherited from class com.ibm.cics.server.Resource |
---|
getDescription, getName, setDescription, setName |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ESDS()
Method Detail |
---|
public void setXRBA(boolean XRBA)
XRBA
- public boolean isXRBA()
public void read(long byteAddress, RecordHolder holder) throws FileDisabledException, FileNotFoundException, LogicException, InvalidRequestException, IOErrorException, ISCInvalidRequestException, LengthErrorException, NotAuthorisedException, RecordNotFoundException, NotOpenException, InvalidSystemIdException, ChangedException, LockedException, LoadingException, RecordBusyException
byteAddress
- the record to readholder
- a holder for the record to read
FileDisabledException
FileNotFoundException
LogicException
InvalidRequestException
IOErrorException
ISCInvalidRequestException
LengthErrorException
NotAuthorisedException
RecordNotFoundException
NotOpenException
InvalidSystemIdException
RecordBusyException
LoadingException
LockedException
ChangedException
public void readForUpdate(long byteAddress, RecordHolder holder) throws FileDisabledException, FileNotFoundException, LogicException, InvalidRequestException, IOErrorException, ISCInvalidRequestException, LengthErrorException, NotAuthorisedException, RecordNotFoundException, NotOpenException, InvalidSystemIdException, ChangedException, LockedException, LoadingException, RecordBusyException
byteAddress
- the record to readholder
- a holder for the record to read
FileDisabledException
FileNotFoundException
LogicException
InvalidRequestException
IOErrorException
ISCInvalidRequestException
LengthErrorException
NotAuthorisedException
RecordNotFoundException
NotOpenException
InvalidSystemIdException
RecordBusyException
LoadingException
LockedException
ChangedException
public void rewrite(byte[] data) throws FileDisabledException, FileNotFoundException, LogicException, InvalidRequestException, IOErrorException, ISCInvalidRequestException, LengthErrorException, NoSpaceException, NotAuthorisedException, NotOpenException, InvalidSystemIdException, ChangedException, LockedException, LoadingException, RecordBusyException
rewrite
in class KeyedFile
data
-
FileDisabledException
FileNotFoundException
LogicException
InvalidRequestException
IOErrorException
ISCInvalidRequestException
LengthErrorException
NoSpaceException
NotAuthorisedException
NotOpenException
InvalidSystemIdException
RecordBusyException
LoadingException
LockedException
ChangedException
public ESDS_Browse startBrowse(long byteAddress) throws FileDisabledException, FileNotFoundException, LogicException, InvalidRequestException, IOErrorException, ISCInvalidRequestException, NotAuthorisedException, RecordNotFoundException, NotOpenException, InvalidSystemIdException, ChangedException, LockedException, LoadingException, RecordBusyException
byteAddress
- The RBA of the record at which to start the browse.
FileDisabledException
FileNotFoundException
LogicException
InvalidRequestException
IOErrorException
ISCInvalidRequestException
NotAuthorisedException
RecordNotFoundException
NotOpenException
InvalidSystemIdException
RecordBusyException
LoadingException
LockedException
ChangedException
public long write(byte[] data) throws FileDisabledException, DuplicateRecordException, FileNotFoundException, LogicException, InvalidRequestException, IOErrorException, ISCInvalidRequestException, LengthErrorException, NoSpaceException, NotAuthorisedException, NotOpenException, InvalidSystemIdException, ChangedException, LockedException, LoadingException, RecordBusyException
data
-
FileDisabledException
DuplicateRecordException
FileNotFoundException
LogicException
InvalidRequestException
IOErrorException
ISCInvalidRequestException
LengthErrorException
NoSpaceException
NotAuthorisedException
NotOpenException
InvalidSystemIdException
RecordBusyException
LoadingException
LockedException
ChangedException
public long write(byte[] alternateKey, byte[] data) throws FileDisabledException, DuplicateRecordException, FileNotFoundException, LogicException, InvalidRequestException, IOErrorException, ISCInvalidRequestException, LengthErrorException, NoSpaceException, NotAuthorisedException, NotOpenException, InvalidSystemIdException, ChangedException, LockedException, LoadingException, RecordBusyException
alternateKey
- The alternate key for the new recorddata
- The data for the new record
FileDisabledException
DuplicateRecordException
FileNotFoundException
LogicException
InvalidRequestException
IOErrorException
ISCInvalidRequestException
LengthErrorException
NoSpaceException
NotAuthorisedException
NotOpenException
InvalidSystemIdException
RecordBusyException
LoadingException
LockedException
ChangedException
public void unlock() throws FileDisabledException, FileNotFoundException, LogicException, IOErrorException, ISCInvalidRequestException, NotAuthorisedException, NotOpenException, InvalidSystemIdException
FileDisabledException
FileNotFoundException
LogicException
IOErrorException
ISCInvalidRequestException
NotAuthorisedException
NotOpenException
InvalidSystemIdException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |