org.mydm.db
Class EDocWriter

java.lang.Object
  extended byorg.mydm.db.EDocWriter

public class EDocWriter
extends java.lang.Object

Writes EDocument Objects to the Database.


Constructor Summary
EDocWriter(java.lang.String colname)
          Constructer
 
Method Summary
 void updateEDocument(EDocument edoc)
          Update the EDocument, Currently just deletes the resource and creates the new resource with the same ID.
 EDocument writeEDocument(EDocument edoc)
          Writes an EDocument to the database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EDocWriter

public EDocWriter(java.lang.String colname)
Constructer

Parameters:
colname - collection name
Method Detail

writeEDocument

public EDocument writeEDocument(EDocument edoc)
Writes an EDocument to the database.

Parameters:
edoc -
Returns:
edocid newly created id.

updateEDocument

public void updateEDocument(EDocument edoc)
Update the EDocument, Currently just deletes the resource and creates the new resource with the same ID.

Parameters:
edoc -