org.media.datastore.sepengine.util
Class SepDBHandler
java.lang.Object
|
+--org.media.datastore.sepengine.util.SepDBHandler
- public class SepDBHandler
- extends Object
This class .....
- Version:
- $Revision: 1.54 $ $Date: 2001/05/21 22:30:30
- Author:
- Szabo Csaba
- See Also:
String
,
RDBInfo
,
StringInputStream
Method Summary |
int |
_messageID(int treeID)
|
int |
_treeID(String path)
|
boolean |
authenticate(String user,
String passwd)
|
boolean |
createNewTree(String blockName,
boolean flag)
|
boolean |
deleteDocument(int tID,
int dID,
boolean all)
|
boolean |
deleteTree(int tID)
|
InputStream |
execute(String sql,
boolean scanTree)
|
InputStream |
getDocument(int tID,
int dID)
|
int |
getDocumentID(int tID,
String docName)
|
int |
getDocumentID(String subtree)
|
String |
getDocumentName(int tID,
int dID)
|
String |
getErrorMessage()
|
String |
getMode(int tID)
|
String |
getNaming(int tID)
|
int |
getOwnerID(int tID)
|
int |
getTreeID(String subtree)
|
boolean |
hasDocumentRights(String right,
String blockName)
|
boolean |
hasTreeRights(String right,
String blockName,
boolean create)
|
boolean |
isEmptyTree(int tID)
|
boolean |
isPath(String path)
|
boolean |
isReady()
|
boolean |
markDocument(int tID,
int dID,
String action)
|
void |
removeEntries(boolean full)
|
void |
setGroupID(int id)
|
void |
setUserID(int id)
|
String |
toSQL(String path,
String value,
String op,
boolean app,
boolean cs,
int tID,
int dID,
int bNr,
String or,
String subtree)
|
void |
validateEntries()
|
void |
writeEntries()
|
boolean |
writeToRepository(String dName,
String xml,
int bNr,
int tID,
int dID)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SepDBHandler
public SepDBHandler(RDBInfo info,
String uname,
SepInterpreter si)
getErrorMessage
public String getErrorMessage()
setUserID
public void setUserID(int id)
setGroupID
public void setGroupID(int id)
isReady
public boolean isReady()
authenticate
public boolean authenticate(String user,
String passwd)
getTreeID
public int getTreeID(String subtree)
getDocumentID
public int getDocumentID(String subtree)
isPath
public boolean isPath(String path)
toSQL
public String toSQL(String path,
String value,
String op,
boolean app,
boolean cs,
int tID,
int dID,
int bNr,
String or,
String subtree)
execute
public InputStream execute(String sql,
boolean scanTree)
writeToRepository
public boolean writeToRepository(String dName,
String xml,
int bNr,
int tID,
int dID)
markDocument
public boolean markDocument(int tID,
int dID,
String action)
deleteDocument
public boolean deleteDocument(int tID,
int dID,
boolean all)
deleteTree
public boolean deleteTree(int tID)
removeEntries
public void removeEntries(boolean full)
isEmptyTree
public boolean isEmptyTree(int tID)
getOwnerID
public int getOwnerID(int tID)
_messageID
public int _messageID(int treeID)
_treeID
public int _treeID(String path)
writeEntries
public void writeEntries()
validateEntries
public void validateEntries()
getMode
public String getMode(int tID)
getNaming
public String getNaming(int tID)
hasDocumentRights
public boolean hasDocumentRights(String right,
String blockName)
hasTreeRights
public boolean hasTreeRights(String right,
String blockName,
boolean create)
createNewTree
public boolean createNewTree(String blockName,
boolean flag)
getDocument
public InputStream getDocument(int tID,
int dID)
getDocumentID
public int getDocumentID(int tID,
String docName)
getDocumentName
public String getDocumentName(int tID,
int dID)
"Copyright © 2001 Internet Multicasting Services & media.org. All Rights Reserved."