2 * Created on 14-Sep-2005
4 * TODO To change the template for this generated file go to
5 * Window - Preferences - Java - Code Style - Code Templates
7 package uk.ac.vamsas.client;
11 * middleware interface for generating new VorbaId objects
12 * for a particular vamsas client based on the current
13 * session, user and client handle. Generally implemented
14 * by instances of the vamsas library api only.
16 public interface IVorbaIdFactory {
18 * construct a new id appropriate for this client in the vamsas session.
21 * @return valid VorbaId for session, or null if VorbaIdFactory not configured
24 public abstract VorbaId makeVorbaId(Vobject vobject);
26 public abstract SessionHandle getSessionHandle();
28 public abstract ClientHandle getClientHandle();
30 public abstract UserHandle getUserHandle();
32 * called when an object is touched by the vamsas library prior to writing
33 * to record last hash for the object's VorbaId
36 public abstract void updateHashValue(Vobject vobject);