public class DBItemCache extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DBItemCache.PostModificationActionAbst |
Constructor and Description |
---|
DBItemCache(UserI user,
EventMetaI event) |
Modifier and Type | Method and Description |
---|---|
void |
addStatement(String query) |
void |
appendStatments(ArrayList<String> new_statements) |
void |
finalize() |
Object |
getChangeId() |
ItemCollection |
getDBTriggers() |
ItemCollection |
getModified() |
Date |
getModTime() |
static Integer |
getNextExternalId() |
ItemCollection |
getPreexisting() |
ItemCollection |
getRemoved() |
ItemCollection |
getSaved() |
String |
getSQL() |
ArrayList<String> |
getStatements() |
void |
handlePostModificationAction(XFTItem item,
String action) |
void |
prependStatments(ArrayList<String> new_statements) |
void |
reset() |
void |
setComment(String s) |
void |
setDBTriggers(ItemCollection modified) |
void |
setModified(ItemCollection modified) |
void |
setPreexisting(ItemCollection preexisting) |
void |
setRemoved(ItemCollection removed) |
void |
setSaved(ItemCollection saved) |
void |
store(String fileName,
String dbName,
UserI user) |
String |
toString() |
public DBItemCache(UserI user, EventMetaI event) throws Exception
Exception
public void setComment(String s)
public Date getModTime()
public void addStatement(String query)
public void finalize() throws Exception
public String getSQL()
public ItemCollection getPreexisting()
public void setPreexisting(ItemCollection preexisting)
preexisting
- The preexisting to set.public ItemCollection getRemoved()
public void setRemoved(ItemCollection removed)
removed
- The removed to set.public ItemCollection getSaved()
public void setSaved(ItemCollection saved)
saved
- The saved to set.public void store(String fileName, String dbName, UserI user) throws Exception
Exception
public ItemCollection getDBTriggers()
public void setDBTriggers(ItemCollection modified)
modified
- the modified to setpublic ItemCollection getModified()
public void setModified(ItemCollection modified)
public static final Integer getNextExternalId()
Copyright © 2015 Neuroinformatics Research Group. All rights reserved.