Uses of Class
uk.ac.vamsas.client.ClientHandle

Packages that use ClientHandle
uk.ac.vamsas.client   
uk.ac.vamsas.client.simpleclient   
uk.ac.vamsas.objects.utils   
 

Uses of ClientHandle in uk.ac.vamsas.client
 

Methods in uk.ac.vamsas.client that return ClientHandle
 ClientHandle IClient.getClientHandle()
          Included for applications with several ClientHandle identities.
 ClientHandle IVorbaIdFactory.getClientHandle()
           
abstract  ClientHandle VorbaIdFactory.getClientHandle()
           
 

Methods in uk.ac.vamsas.client with parameters of type ClientHandle
 boolean ClientHandle.equals(ClientHandle that)
           
 IClient IClientFactory.getIClient(ClientHandle applicationHandle)
          Create a new Vorba Session
 IClient IClientFactory.getIClient(ClientHandle applicationHandle, java.lang.String sessionUrn)
          returns new Vorba for a given session.
 IClient IClientFactory.getIClient(ClientHandle applicationHandle, UserHandle userId, java.lang.String sessionUrn)
          returns new vorba for a given session acting as a particular identity
 IClient IClientFactory.getIClient(ClientHandle applicationHandle, UserHandle userId)
          New session for application and specific user
 IClient IClientFactory.getNewSessionIClient(ClientHandle applicationHandle)
          Create a new sesssion for the application with the current user
 IClient IClientFactory.getNewSessionIClient(ClientHandle applicationHandle, UserHandle userId)
          Create a new session for the application using a particular user identity
 IClient IClientFactory.openAsNewSessionIClient(ClientHandle applicationHandle, java.io.File vamsasDocument)
          Create a new session and import an existing vamsas document into it.
 IClient IClientFactory.openAsNewSessionIClient(ClientHandle applicationHandle, UserHandle userId, java.io.File vamsasDocument)
          Create a new session as a particular user and import an existing vamsas document into it.
protected abstract  void VorbaIdFactory.setClient(ClientHandle appHandle)
           
 

Uses of ClientHandle in uk.ac.vamsas.client.simpleclient
 

Fields in uk.ac.vamsas.client.simpleclient declared as ClientHandle
protected  ClientHandle SimpleClient.client
           
 

Methods in uk.ac.vamsas.client.simpleclient that return ClientHandle
 ClientHandle[] ClientsFile.retrieveClientList()
          get the clientList from the file.
 ClientHandle[] ClientsFile.retrieveClientList(Lock extantlock)
          get list from the locked ClientList.
 ClientHandle IdFactory.getClientHandle()
           
 ClientHandle SimpleClient.getClientHandle()
           
 

Methods in uk.ac.vamsas.client.simpleclient with parameters of type ClientHandle
 int ClientsFile.addClient(ClientHandle me, Lock extantLock)
          adds clientHandle me to the clientList under an existing lock extantLock.
 int ClientsFile.addClient(ClientHandle me, boolean disambig, Lock extantLock)
          adds clientHandle me to the clientList under an existing lock.
 int ClientsFile.addClient(ClientHandle me)
          adds the ClientHandle to the list - if it is not unique, then the ClientHandle object is modified to make it unique in the list.
 void ClientsFile.removeClient(ClientHandle me, Lock clientlock)
          removes 'me' from the session ClientList without complaint if 'me' isn't in the clientList already.
protected  int ClientsFile.addClient(ClientHandle me, boolean disambiguate)
          Adds a ClientHandle to the ClientList file - optionally disambiguating the ClientHandle (modifes the URN).
protected  boolean ClientsFile.putClientList(ClientHandle[] clients)
          safely writes clients array to the file referred to by sessionFile.
protected  void IdFactory.setClient(ClientHandle appHandle)
           
 IClient SimpleClientFactory.getIClient(ClientHandle applicationHandle)
           
 IClient SimpleClientFactory.getIClient(ClientHandle applicationHandle, java.lang.String sessionUrn)
          the URN should be something like simpleclient:FILEPATH URL encoded
 IClient SimpleClientFactory.getIClient(ClientHandle applicationHandle, UserHandle userId, java.lang.String sessionUrn)
           
 IClient SimpleClientFactory.getIClient(ClientHandle applicationHandle, UserHandle userId)
           
 IClient SimpleClientFactory.getNewSessionIClient(ClientHandle applicationHandle)
           
 IClient SimpleClientFactory.getNewSessionIClient(ClientHandle applicationHandle, UserHandle userId)
           
 IClient SimpleClientFactory.openAsNewSessionIClient(ClientHandle applicationHandle, java.io.File vamsasDocument)
           
 IClient SimpleClientFactory.openAsNewSessionIClient(ClientHandle applicationHandle, UserHandle userId, java.io.File vamsasDocument)
           
 void VamsasSession.addStoreDocumentRequest(ClientHandle client, UserHandle user)
          write to the StoreWatcher file to indicate that a storeDocumentRequest has been made.
 

Constructors in uk.ac.vamsas.client.simpleclient with parameters of type ClientHandle
IdFactory(SessionHandle session, ClientHandle client, UserHandle user)
           
IdFactory(SessionHandle session, ClientHandle client, UserHandle user, java.util.Hashtable extanthashv)
          Create IdFactory with existing object hashes and id set
SimpleClient(UserHandle user, ClientHandle client, VamsasSession sess)
          construct SimpleClient for user, client and VamsasSession directory use the SimpleClientFactory rather than this constructor directly.
 

Uses of ClientHandle in uk.ac.vamsas.objects.utils
 

Methods in uk.ac.vamsas.objects.utils with parameters of type ClientHandle
static boolean AppDataReference.equals(ApplicationData p, ClientHandle c)
          returns true if Name matches in c and p, and Urn's match (or c.getUrn()==null) and Version's match (or c.getVersion()==null)
static java.util.Vector AppDataReference.getUserandApplicationsData(VamsasDocument doc, UserHandle user, ClientHandle app)
          Searches document appData structure for particular combinations of client and user data