|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sri.emo.commandline.defaults.AbstractExportSupport
public abstract class AbstractExportSupport
Field Summary | |
---|---|
protected static int |
TESTER_UID
The expected UID of the tester. |
Constructor Summary | |
---|---|
AbstractExportSupport(NodeTracker nodeTracker,
SqlRowGenerator generator)
|
Method Summary | |
---|---|
protected List |
exportSecuredDBobjectEntries(DBObject targetObject)
|
protected List |
exportSecurityEntries(RowSecuredDBObject object)
Creates default Row security for each row secured object being export. |
protected SqlRowGenerator |
getGenerator()
Retrieve the SQL generator. |
protected NodeTracker |
getNodeTracker()
Retrieve the node tracker. |
List |
getSQL(DBObject dbobject)
generate list of INSERT statements for given object (and any security objects associated with the target object), IFF that object hasn't already been visited. |
protected int |
writeDBObject(PrintWriter writer,
DBObject dbobject)
Exports a dbobject. |
protected int |
writeDBObject(PrintWriter writer,
List severalDBObjects)
Writes a list of dbobjects to the output stream. |
protected void |
writeSql(PrintWriter writer,
List listOfSql)
Writes a list of sql statements to the printwriter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final int TESTER_UID
Constructor Detail |
---|
public AbstractExportSupport(NodeTracker nodeTracker, SqlRowGenerator generator)
Method Detail |
---|
protected int writeDBObject(PrintWriter writer, DBObject dbobject) throws DBException
writer
- the output stream to write the SQL insert to.dbobject
- the dbobject we're exporting.
DBException
protected void writeSql(PrintWriter writer, List listOfSql) throws DBException
writer
- the printwriter to append the data to.listOfSql
- list of strings.
DBException
- if the data is not appropriately a sql string.protected int writeDBObject(PrintWriter writer, List severalDBObjects) throws DBException
writer
- severalDBObjects
-
DBException
protected List exportSecuredDBobjectEntries(DBObject targetObject) throws DBException
DBException
protected List exportSecurityEntries(RowSecuredDBObject object) throws DBException
object
-
DBException
public List getSQL(DBObject dbobject) throws DBException
DBException
protected SqlRowGenerator getGenerator()
protected NodeTracker getNodeTracker()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |