public class XDATTool extends Object
Constructor and Description |
---|
XDATTool() |
XDATTool(String instanceLocation) |
XDATTool(String instanceLocation,
String username,
String password) |
XDATTool(String instanceLocation,
XDATUser u) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
CSVSearch(String elementName) |
void |
CSVSearch(String xmlPath,
String comparisonType,
Object value) |
void |
debug(Exception e) |
void |
debug(String message) |
void |
error(Exception e) |
void |
error(String message) |
void |
generateSQL()
Generate CREATE, ALTER, VIEW, and INSERT statements for each element in the
defined schemas.
|
void |
generateSQL(String s)
Generate CREATE, ALTER, VIEW, and INSERT statements for each element in the
defined schemas.
|
String |
getSearchFileName(String extension) |
String |
getSettingsDirectory() |
static String |
GetSettingsDirectory() |
XDATUser |
getUser() |
String |
getWorkDirectory() |
void |
HTMLSearch(String elementName) |
void |
HTMLSearch(String xmlPath,
String comparisonType,
Object value) |
void |
info(Exception e) |
void |
info(String message) |
boolean |
isIgnoreSecurity() |
void |
setIgnoreSecurity(boolean ignoreSecurity) |
void |
setUser(XDATUser user) |
void |
storeXML(File fileLocation,
Boolean quarantine,
boolean allowItemRemoval) |
void |
storeXML(String fileLocation,
Boolean quarantine,
boolean allowItemRemoval) |
int |
VelocitySearch(String elementName,
String xmlPath,
String comparisonType,
Object value) |
void |
XMLSearch(String elementName,
boolean isBackup,
String dir,
boolean limited,
boolean pp) |
void |
XMLSearch(String elementName,
String xmlPath,
Object value,
String dir,
boolean limited,
boolean pp) |
int |
XMLSearch(String elementName,
String xmlPath,
String comparisonType,
Object value,
String dir,
boolean limited,
boolean pp) |
public XDATTool() throws XFTInitException
XFTInitException
public XDATTool(String instanceLocation, String username, String password) throws DBPoolException, SQLException, XDATUser.FailedLoginException, Exception
public void generateSQL() throws Exception
outputFile
- (location to save generated sql)Exception
public void generateSQL(String s) throws Exception
outputFile
- (location to save generated sql)Exception
public void storeXML(String fileLocation, Boolean quarantine, boolean allowItemRemoval) throws Exception
Exception
public boolean isIgnoreSecurity()
public void setIgnoreSecurity(boolean ignoreSecurity)
ignoreSecurity
- The ignoreSecurity to set.public void storeXML(File fileLocation, Boolean quarantine, boolean allowItemRemoval) throws Exception
Exception
public void XMLSearch(String elementName, boolean isBackup, String dir, boolean limited, boolean pp) throws Exception
Exception
public void XMLSearch(String elementName, String xmlPath, Object value, String dir, boolean limited, boolean pp) throws Exception
Exception
public int XMLSearch(String elementName, String xmlPath, String comparisonType, Object value, String dir, boolean limited, boolean pp) throws Exception
Exception
public void HTMLSearch(String xmlPath, String comparisonType, Object value) throws Exception
Exception
public int VelocitySearch(String elementName, String xmlPath, String comparisonType, Object value) throws Exception
Exception
public void CSVSearch(String xmlPath, String comparisonType, Object value) throws Exception
Exception
public String getWorkDirectory()
public String getSettingsDirectory()
public static String GetSettingsDirectory()
public XDATUser getUser()
public void setUser(XDATUser user)
user
- The user to set.public void close() throws SQLException
SQLException
public void info(String message)
public void debug(String message)
public void error(String message)
public void info(Exception e)
public void debug(Exception e)
public void error(Exception e)
Copyright © 2015 Neuroinformatics Research Group. All rights reserved.