Package rasj
Interface RasImplementationInterface
-
- All Superinterfaces:
Implementation
- All Known Implementing Classes:
RasODMGImplementation,RasRasnetImplementation
public interface RasImplementationInterface extends Implementation
PURPOSE: This interface contains the methods implemented by RasRasnetImplementation COMMENTS:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidabortTA()voidbeginTA()voidcloseDB()voidcommitTA()voidconnectClient(java.lang.String userName, java.lang.String hashedPass)TransactioncurrentTransaction()Get the currentTransactionfor the thread.intdbIsOpen()voiddisconnectClient()intgetAccessMode()intgetClientID()DatabasegetDatabase(java.lang.Object obj)Get theDatabasethat contains the objectobj,
not yet available in RasDaMan.java.lang.StringgetErrorStatus()intgetMaxRetry()java.lang.StringgetObjectId(java.lang.Object obj)Get aStringrepresentation of the object's identifier.java.lang.StringgetRasServer()java.lang.StringgetTypeStructure(java.lang.String typename, int typetype)booleanisOpenTA()DArraynewDArray()Create a newDArrayobject,
not yet available in RasDaMan.DatabasenewDatabase()Create a newDatabaseobject.DBagnewDBag()Create a newDBagobject.DListnewDList()Create a newDListobject.DMapnewDMap()Create a newDMapobject,
not yet available in RasDaMan.DSetnewDSet()Create a newDSetobject.OQLQuerynewOQLQuery()Create a newOQLQueryobject.TransactionnewTransaction()Create aTransactionobject and associate it with the current thread.voidopenDB(java.lang.String name, int accessMode)java.lang.ObjectqueryRequest(java.lang.String parameters)voidsetMaxRetry(int newRetry)voidsetUserIdentification(java.lang.String userName, java.lang.String plainPass)voidsetUserIdentificationHashed(java.lang.String userName, java.lang.String md5HashedPass)
-
-
-
Method Detail
-
getRasServer
java.lang.String getRasServer()
-
dbIsOpen
int dbIsOpen()
-
getClientID
int getClientID()
-
getAccessMode
int getAccessMode()
-
getErrorStatus
java.lang.String getErrorStatus()
-
newTransaction
Transaction newTransaction()
Description copied from interface:ImplementationCreate aTransactionobject and associate it with the current thread.- Specified by:
newTransactionin interfaceImplementation- Returns:
- The newly created
Transactioninstance. - See Also:
Transaction
-
currentTransaction
Transaction currentTransaction()
Description copied from interface:ImplementationGet the currentTransactionfor the thread.- Specified by:
currentTransactionin interfaceImplementation- Returns:
- The current
Transactionobject or null if there is none. - See Also:
Transaction
-
newDatabase
Database newDatabase()
Description copied from interface:ImplementationCreate a newDatabaseobject.- Specified by:
newDatabasein interfaceImplementation- Returns:
- The new
Databaseobject. - See Also:
Database
-
newOQLQuery
OQLQuery newOQLQuery()
Description copied from interface:ImplementationCreate a newOQLQueryobject.- Specified by:
newOQLQueryin interfaceImplementation- Returns:
- The new
OQLQueryobject. - See Also:
OQLQuery
-
newDList
DList newDList()
Description copied from interface:ImplementationCreate a newDListobject.- Specified by:
newDListin interfaceImplementation- Returns:
- The new
DListobject. - See Also:
DList
-
newDBag
DBag newDBag()
Description copied from interface:ImplementationCreate a newDBagobject.- Specified by:
newDBagin interfaceImplementation- Returns:
- The new
DBagobject. - See Also:
DBag
-
newDSet
DSet newDSet()
Description copied from interface:ImplementationCreate a newDSetobject.- Specified by:
newDSetin interfaceImplementation- Returns:
- The new
DSetobject. - See Also:
DSet
-
newDArray
DArray newDArray()
Description copied from interface:ImplementationCreate a newDArrayobject,
not yet available in RasDaMan.- Specified by:
newDArrayin interfaceImplementation- Returns:
- The new
DArrayobject. - See Also:
DArray
-
newDMap
DMap newDMap()
Description copied from interface:ImplementationCreate a newDMapobject,
not yet available in RasDaMan.- Specified by:
newDMapin interfaceImplementation- Returns:
- The new
DMapobject. - See Also:
DMap
-
getObjectId
java.lang.String getObjectId(java.lang.Object obj)
Description copied from interface:ImplementationGet aStringrepresentation of the object's identifier.- Specified by:
getObjectIdin interfaceImplementation- Parameters:
obj- The object whose identifier is being accessed.- Returns:
- The object's identifier in the form of a String
-
getDatabase
Database getDatabase(java.lang.Object obj)
Description copied from interface:ImplementationGet theDatabasethat contains the objectobj,
not yet available in RasDaMan.- Specified by:
getDatabasein interfaceImplementation- Parameters:
obj- The object.- Returns:
- The
Databasethat contains the object.
-
openDB
void openDB(java.lang.String name, int accessMode) throws ODMGException- Throws:
ODMGException
-
closeDB
void closeDB() throws ODMGException- Throws:
ODMGException
-
beginTA
void beginTA()
-
isOpenTA
boolean isOpenTA()
-
commitTA
void commitTA()
-
abortTA
void abortTA()
-
setMaxRetry
void setMaxRetry(int newRetry)
-
getMaxRetry
int getMaxRetry()
-
setUserIdentification
void setUserIdentification(java.lang.String userName, java.lang.String plainPass)
-
setUserIdentificationHashed
void setUserIdentificationHashed(java.lang.String userName, java.lang.String md5HashedPass)
-
connectClient
void connectClient(java.lang.String userName, java.lang.String hashedPass)
-
disconnectClient
void disconnectClient()
-
queryRequest
java.lang.Object queryRequest(java.lang.String parameters) throws RasQueryExecutionFailedException- Throws:
RasQueryExecutionFailedException
-
getTypeStructure
java.lang.String getTypeStructure(java.lang.String typename, int typetype)
-
-