jet.server.api.db
Interface Database

All Superinterfaces:
DBObject

public interface Database
extends DBObject

A Database


Method Summary
 boolean backup(java.lang.String bkVolume)
           
 void checkIntegrality(java.util.Map exPathMap)
           
 boolean cutdownTable(Table tbl, java.lang.String bkVolume, java.lang.String where)
           
 Workspace getWorkspace()
           
 boolean importsTable(Table tbl, java.lang.String bkVolume)
           
 boolean isOpened()
           
 boolean restore(java.lang.String bkVolume)
           
 Tables tables()
           
 Table tables(int index)
           
 Table tables(java.lang.String tblName)
           
 
Methods inherited from interface jet.server.api.db.DBObject
getName, getProperties, getProperty, getProperty, getUCName, setProperty
 

Method Detail

getWorkspace

public Workspace getWorkspace()

isOpened

public boolean isOpened()

tables

public Tables tables()

tables

public Table tables(int index)

tables

public Table tables(java.lang.String tblName)

backup

public boolean backup(java.lang.String bkVolume)
               throws java.sql.SQLException,
                      java.io.IOException
java.sql.SQLException
java.io.IOException

restore

public boolean restore(java.lang.String bkVolume)
                throws java.sql.SQLException,
                       java.io.IOException
java.sql.SQLException
java.io.IOException

cutdownTable

public boolean cutdownTable(Table tbl,
                            java.lang.String bkVolume,
                            java.lang.String where)
                     throws java.sql.SQLException,
                            java.io.IOException
java.sql.SQLException
java.io.IOException

importsTable

public boolean importsTable(Table tbl,
                            java.lang.String bkVolume)
                     throws java.sql.SQLException,
                            java.io.IOException
java.sql.SQLException
java.io.IOException

checkIntegrality

public void checkIntegrality(java.util.Map exPathMap)
                      throws java.sql.SQLException
java.sql.SQLException