Hi Ankit,
I am downloading the vcell software but here is what I understand with your last email.
I tried to construct a rough relationship model and attached it with the document.
Your relationship model is diagram sums it up pretty well ... I guess a picture is worth a thousand words. Using the regular Java VCell client will be useful.
First Tab
All simJobs with their status listed grouped by their parent simulations.
On tapping a simJob following options present to user :
(actions: view partial results, stop, delete results, clone & edit)
result: will show partial or complete results
stop: since you said individual jobs cant be stopped, this will stop the parent simulation?
right.
delete result : again individual job result's cant be delete so will the parent be deleted?
right.
clone and edit : clones the job parameters and allow editing
right, cloning a SimulationJob would create a new Simulation with the parameter set from the SimulationJob and all other values from the parent Simulation remain the same (e.g. which solver, time step, etc). This cloning would be an atomic operation on server ... a factory resource will return the URI of the newly created Simulation, you pass the old simID, new name and new parameter set (via json).
other possible navigation actions for Tab 1:
1) jump to parent Simulation in Tab 2 (or Simulation Detail view)
2) jump to parent Model in Tab 3 (or Model Detail view)
Second Tab
List All completed Simulations
On tapping list all simJobs belonging to that simulation
action : view/delete results, clone and edit
good.
Third Tab
List all models
actions: start, stop, remove the models
1) and change model permission (share model with list of other VCell users, or publicly with everyone).
2) option to display list of Simulations belonging to that model (Tab 2 with a filter) ??
3) option to display list of running simulations belonging to that model (Tab 1 with filter) ??
Am I closer to the version of app you have in mind
You are quite close I think ... but there is also the issue of authentication:
1) unauthenticated users could view public models, public Simulations, and view simulation results (no Tab 1)
.
2) authenticated users can view public models/results and also do all operations on the models/simulations that they own. The server API will enforce authentication/authorization rules, but the client should reinforce it by not providing options that are not legal.
Thanks,
Jim.