5556575859606162
} commitChanges(); } public Client createNewClient() { Client client = newObject(Client.class); return client; }
363738394041424344
* * @return the current Client instance in the session */ public static Client getClientFromSession() { Context context = Context.getThreadLocalContext(); Client client = (Client) context.getSessionAttribute(CLIENT_ATTR); return client; }