Ontimize Document Management 0.035EN

com.ontimize.dms.db
Interface IDBManager

All Known Implementing Classes:
DatabaseManager

public interface IDBManager


Field Summary
static java.lang.String DMS_NAME
           
static java.lang.String DMS_NO_SYSTEM_EXIT
           
static java.lang.String DMS_PATH
           
static java.lang.String DMS_PORT
           
static java.lang.String JDBC_DRIVER
           
 
Method Summary
 java.util.Hashtable blockAndGetDocumentDate(Document document)
           
 boolean blockIfNotBeingUsedAndInsert(Document document)
           
 void deleteDirectory(Document document)
           
 int deleteLocalFiles(Document document)
           
 java.util.Hashtable getDate(Document document)
           
 ILocalFileInfo[] getDirectoryEntries(java.lang.String filepath)
           
 ILocalFileInfo[] getPosibleUploadsCancelled()
           
 void initDatabase()
           
 int insertLocalFiles(Document document, java.sql.Timestamp DSD, java.sql.Timestamp DSC, java.sql.Timestamp PMD, java.lang.Integer status)
           
 int insertOrUpdateLocalFiles(Document document, java.sql.Timestamp DSD, java.sql.Timestamp DSC, java.sql.Timestamp PMD, java.lang.Integer status)
           
 boolean isBeingUsed(Document document)
           
 void loadConfiguration(java.util.Map params)
           
 void pasteDocument(Document document, java.lang.String basenew)
           
 void renameDocument(Document document, java.lang.String newName)
           
 void shutdownDatabase()
           
 void unblockDocument(Document document)
           
 void unblockDocument(Document[] document)
           
 int updateLocalFiles(Document document, java.sql.Timestamp DSD, java.sql.Timestamp DSC, java.sql.Timestamp PMD, java.lang.Integer status)
           
 

Field Detail

JDBC_DRIVER

static final java.lang.String JDBC_DRIVER
See Also:
Constant Field Values

DMS_PATH

static final java.lang.String DMS_PATH
See Also:
Constant Field Values

DMS_NAME

static final java.lang.String DMS_NAME
See Also:
Constant Field Values

DMS_PORT

static final java.lang.String DMS_PORT
See Also:
Constant Field Values

DMS_NO_SYSTEM_EXIT

static final java.lang.String DMS_NO_SYSTEM_EXIT
See Also:
Constant Field Values
Method Detail

loadConfiguration

void loadConfiguration(java.util.Map params)
                       throws java.lang.Exception
Throws:
java.lang.Exception

initDatabase

void initDatabase()
                  throws java.lang.Exception
Throws:
java.lang.Exception

shutdownDatabase

void shutdownDatabase()
                      throws java.lang.Exception
Throws:
java.lang.Exception

insertLocalFiles

int insertLocalFiles(Document document,
                     java.sql.Timestamp DSD,
                     java.sql.Timestamp DSC,
                     java.sql.Timestamp PMD,
                     java.lang.Integer status)
                     throws java.lang.Exception
Throws:
java.lang.Exception

insertOrUpdateLocalFiles

int insertOrUpdateLocalFiles(Document document,
                             java.sql.Timestamp DSD,
                             java.sql.Timestamp DSC,
                             java.sql.Timestamp PMD,
                             java.lang.Integer status)
                             throws java.lang.Exception
Throws:
java.lang.Exception

updateLocalFiles

int updateLocalFiles(Document document,
                     java.sql.Timestamp DSD,
                     java.sql.Timestamp DSC,
                     java.sql.Timestamp PMD,
                     java.lang.Integer status)
                     throws java.lang.Exception
Throws:
java.lang.Exception

deleteLocalFiles

int deleteLocalFiles(Document document)
                     throws java.lang.Exception
Throws:
java.lang.Exception

getDate

java.util.Hashtable getDate(Document document)
                            throws java.lang.Exception
Throws:
java.lang.Exception

getDirectoryEntries

ILocalFileInfo[] getDirectoryEntries(java.lang.String filepath)

getPosibleUploadsCancelled

ILocalFileInfo[] getPosibleUploadsCancelled()

isBeingUsed

boolean isBeingUsed(Document document)
                    throws java.lang.Exception
Throws:
java.lang.Exception

blockIfNotBeingUsedAndInsert

boolean blockIfNotBeingUsedAndInsert(Document document)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

blockAndGetDocumentDate

java.util.Hashtable blockAndGetDocumentDate(Document document)
                                            throws java.lang.Exception
Throws:
java.lang.Exception

unblockDocument

void unblockDocument(Document document)
                     throws java.lang.Exception
Throws:
java.lang.Exception

unblockDocument

void unblockDocument(Document[] document)
                     throws java.lang.Exception
Throws:
java.lang.Exception

renameDocument

void renameDocument(Document document,
                    java.lang.String newName)
                    throws java.lang.Exception
Throws:
java.lang.Exception

deleteDirectory

void deleteDirectory(Document document)
                     throws java.lang.Exception
Throws:
java.lang.Exception

pasteDocument

void pasteDocument(Document document,
                   java.lang.String basenew)
                   throws java.lang.Exception
Throws:
java.lang.Exception

Ontimize Document Management