org.sciplore.database
Class QueryData
java.lang.Object
org.sciplore.database.Query
org.sciplore.database.QueryData
- Direct Known Subclasses:
- QueryAnnotations, QueryDocument
public class QueryData
- extends Query
Constructor Summary |
QueryData(java.sql.Connection connection)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryData
public QueryData(java.sql.Connection connection)
getDocumentDetailsBy
public java.sql.ResultSet getDocumentDetailsBy(long id)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getDocumentDetailsBy
public java.sql.ResultSet getDocumentDetailsBy(java.lang.String title)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getAnnotationDetailsBy
public java.sql.ResultSet getAnnotationDetailsBy(long document_id)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getUserBy
public java.sql.ResultSet getUserBy(long user_id)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getUserID
public long getUserID(java.lang.String userName,
java.lang.String password)
throws java.sql.SQLException,
java.security.NoSuchAlgorithmException
- Throws:
java.sql.SQLException
java.security.NoSuchAlgorithmException
createNewAnonymousUser
public java.lang.Boolean createNewAnonymousUser(java.lang.String userName)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
insertNewMindMap
public java.lang.String insertNewMindMap(java.lang.String userName,
java.lang.String password,
short allowIR,
short backup)
throws java.sql.SQLException,
java.security.NoSuchAlgorithmException
- Throws:
java.sql.SQLException
java.security.NoSuchAlgorithmException
updateMindMap
public java.lang.String updateMindMap(java.lang.String userName,
java.lang.String password,
java.lang.String mindmapID,
short allowIR,
short backup)
throws java.sql.SQLException,
java.security.NoSuchAlgorithmException
- Throws:
java.sql.SQLException
java.security.NoSuchAlgorithmException