|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mydm.db.DocHandler
Dochandler Handles all actions on all kinds of Documents of any kind of Collection. Every DataBase transaction regarding documents goes through this Object.
Constructor Summary | |
DocHandler()
|
|
DocHandler(java.lang.String colname)
Constructer |
Method Summary | |
void |
deleteEDoc(java.lang.String docid)
deltes the EDocument from the database |
java.util.HashMap |
getColHash()
Returns the Hash of the all the documents in the Collection. |
java.lang.String |
getDocContent(java.lang.String docid)
Gets the Content of the Document. |
java.lang.String[] |
getDocList()
Gets the List of Documents of a collection. |
EDocument |
getEDocument(java.lang.String docid)
Gets the EDocument Object of particular ID The Attachment of the Collection is done here. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DocHandler()
public DocHandler(java.lang.String colname)
colname
- StringMethod Detail |
public java.lang.String[] getDocList()
public java.lang.String getDocContent(java.lang.String docid)
docid
- Document id(XMLDB ID)
public EDocument getEDocument(java.lang.String docid)
docid
-
public java.util.HashMap getColHash()
public void deleteEDoc(java.lang.String docid)
docid
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |