com.ibm.cics.server
Class KSDS

java.lang.Object
  |
  +--com.ibm.cics.server.API
        |
        +--com.ibm.cics.server.Resource
              |
              +--com.ibm.cics.server.RemotableResource
                    |
                    +--com.ibm.cics.server.File
                          |
                          +--com.ibm.cics.server.KeyedFile
                                |
                                +--com.ibm.cics.server.KSDS
All Implemented Interfaces:
java.io.Serializable

public class KSDS
extends KeyedFile
implements java.io.Serializable

This class is the implementation class for the KSDS kind of file.

See Also:
Serialized Form

Constructor Summary
KSDS()
          Construct a default KSDS bean.
 
Method Summary
 void delete()
          Delete a record from a KSDS file.
 void delete(byte[] key)
           
 int deleteGeneric(byte[] key)
           
 void write(byte[] key, byte[] data)
          Write a new record to a file.
 
Methods inherited from class com.ibm.cics.server.KeyedFile
read, read, readForUpdate, readForUpdate, readGeneric, readGeneric, readGenericForUpdate, readGenericForUpdate, rewrite, startBrowse, startBrowse, startGenericBrowse, startGenericBrowse, unlock
 
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

KSDS

public KSDS()
Construct a default KSDS bean.
Method Detail

delete

public void delete()
            throws FileDisabledException,
                   FileNotFoundException,
                   LogicException,
                   InvalidRequestException,
                   IOErrorException,
                   ISCInvalidRequestException,
                   NotAuthorisedException,
                   NotOpenException,
                   InvalidSystemIdException
Delete a record from a KSDS file.
Throws:
FileDisabledException - a
FileNotFoundException - a
LogicException - a
InvalidRequestException - a
IOErrorException - a
ISCInvalidRequestException - a
NotAuthorisedException - a
NotOpenException - a
InvalidSystemIdException - a

delete

public void delete(byte[] key)
            throws FileDisabledException,
                   DuplicateKeyException,
                   FileNotFoundException,
                   LogicException,
                   InvalidRequestException,
                   IOErrorException,
                   ISCInvalidRequestException,
                   NotAuthorisedException,
                   RecordNotFoundException,
                   NotOpenException,
                   InvalidSystemIdException

deleteGeneric

public int deleteGeneric(byte[] key)
                  throws FileDisabledException,
                         FileNotFoundException,
                         LogicException,
                         InvalidRequestException,
                         IOErrorException,
                         ISCInvalidRequestException,
                         NotAuthorisedException,
                         RecordNotFoundException,
                         NotOpenException,
                         InvalidSystemIdException

write

public void write(byte[] key,
                  byte[] data)
           throws FileDisabledException,
                  DuplicateRecordException,
                  FileNotFoundException,
                  LogicException,
                  InvalidRequestException,
                  IOErrorException,
                  ISCInvalidRequestException,
                  LengthErrorException,
                  NoSpaceException,
                  NotAuthorisedException,
                  NotOpenException,
                  InvalidSystemIdException
Write a new record to a file.
Parameters:
key - a
data - a
Throws:
FileDisabledException - a
DuplicateRecordException - a
FileNotFoundException - a
LogicException - a
InvalidRequestException - a
IOErrorException - a
ISCInvalidRequestException - a
LengthErrorException - a
NoSpaceException - a
NotAuthorisedException - a
NotOpenException - a
InvalidSystemIdException - a