uk.ac.vamsas.client
Interface IClientAppdata

All Known Implementing Classes:
SimpleClientAppdata

public interface IClientAppdata

Object for accessing Client and User specific data in an IClientDocument instance.


Method Summary
 byte[] getClientAppdata()
           
 AppDataInputStream getClientInputStream()
           
 AppDataOutputStream getClientOutputStream()
           
 byte[] getUserAppdata()
           
 AppDataInputStream getUserInputStream()
           
 AppDataOutputStream getUserOutputStream()
           
 boolean hasClientAppdata()
           
 boolean hasUserAppdata()
           
 void setClientAppdata(byte[] data)
          set the non-User-specific application data
 void setUserAppdata(byte[] data)
          set the User-specific application data
 

Method Detail

hasClientAppdata

public boolean hasClientAppdata()
Returns:
true if Client's non-user specific application data is non-zero length.

hasUserAppdata

public boolean hasUserAppdata()
Returns:
true if User's Client Application data is non-zero length

getClientAppdata

public byte[] getClientAppdata()
Returns:
byte array containing the Client's non-user specific application data

getUserAppdata

public byte[] getUserAppdata()
Returns:
byte array containing the Client's user specific application data

setClientAppdata

public void setClientAppdata(byte[] data)
set the non-User-specific application data

Parameters:
data - - the new non-user-specific data

setUserAppdata

public void setUserAppdata(byte[] data)
set the User-specific application data

Parameters:
data - - the new user-specific data

getClientOutputStream

public AppDataOutputStream getClientOutputStream()
Returns:
non-user specific data output stream

getClientInputStream

public AppDataInputStream getClientInputStream()
Returns:
non-user specific data input stream

getUserOutputStream

public AppDataOutputStream getUserOutputStream()
Returns:
user specific data output stream

getUserInputStream

public AppDataInputStream getUserInputStream()
Returns:
user specific data input stream