|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectuk.ac.vamsas.client.ClientDocument
uk.ac.vamsas.test.simpleclient.ClientDoc
| Field Summary | |
VAMSAS[] |
_VamsasRoots
|
protected VamsasDocument |
doc
|
protected VamsasArchive |
iohandler
|
protected boolean |
isModified
|
protected VamsasArchiveReader |
reader
|
| Fields inherited from class uk.ac.vamsas.client.ClientDocument |
vamsasObjects, vorbafactory |
| Constructor Summary | |
ClientDoc(VamsasDocument doc,
VamsasArchive iohandler,
VamsasArchiveReader reader,
java.lang.String app,
java.lang.String user,
java.util.Hashtable objrefs)
|
|
| Method Summary | |
void |
addVamsasRoot(VAMSAS newroot)
Adds a new VAMSAS root entry TODO: decide on same InvalidVamsasObject exceptions. |
void |
closeDoc()
tell vamsas client to close the document and reset the object. |
protected void |
finalize()
|
IClientAppdata |
getClientAppdata()
Get instance of Client and User specific vamsas document data access interface. |
Vobject |
getObject(VorbaId id)
Get a single Vobject. |
Vobject[] |
getObjects(VorbaId[] ids)
Get a list of objects. |
protected Entry |
getProvenanceEntry(java.lang.String action)
|
VamsasArchiveReader |
getReader()
|
VAMSAS[] |
getVamsasRoots()
Returns all root objects in document. |
VorbaId |
registerObject(Vobject unregistered)
Returns an Vobject with a valid VorbaId, and provenance element. |
VorbaId[] |
registerObjects(Vobject[] unregistered)
Returns an array of objects, each with a valid VorbaId (and completed provenance entry). |
void |
setVamsasRoots(VAMSAS[] newroots)
update the document with new roots. |
protected void |
updateDocumentRoots()
|
| Methods inherited from class uk.ac.vamsas.client.ClientDocument |
_registerObject |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected boolean isModified
protected VamsasDocument doc
public VAMSAS[] _VamsasRoots
protected VamsasArchive iohandler
protected VamsasArchiveReader reader
| Constructor Detail |
public ClientDoc(VamsasDocument doc,
VamsasArchive iohandler,
VamsasArchiveReader reader,
java.lang.String app,
java.lang.String user,
java.util.Hashtable objrefs)
doc - iohandler - reader - app - user - | Method Detail |
public IClientAppdata getClientAppdata()
IClientDocument
protected Entry getProvenanceEntry(java.lang.String action)
public VAMSAS[] getVamsasRoots()
IClientDocument
public void setVamsasRoots(VAMSAS[] newroots)
newroots - org.vamsas.IClientDocument.setVamsasRootspublic void addVamsasRoot(VAMSAS newroot)
IClientDocument
newroot - public VamsasArchiveReader getReader()
protected void finalize()
throws java.lang.Throwable
java.lang.Throwablepublic VorbaId[] registerObjects(Vobject[] unregistered)
IClientDocument
unregistered - array of unregistered objects.
public VorbaId registerObject(Vobject unregistered)
IClientDocument
unregistered - unregistered vamsas Vobject
public Vobject getObject(VorbaId id)
IClientDocument
id -
public Vobject[] getObjects(VorbaId[] ids)
IClientDocument
ids -
protected void updateDocumentRoots()
public void closeDoc()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||