Package rasj
Interface RasImplementationInterface
- All Superinterfaces:
Implementation
- All Known Implementing Classes:
RasODMGImplementation,RasRasnetImplementation
PURPOSE: This interface contains the methods implemented by RasRasnetImplementation COMMENTS:
-
Method Summary
Modifier and TypeMethodDescriptionvoidabortTA()voidbeginTA()voidcloseDB()voidcommitTA()voidconnectClient(String userName, String hashedPass) Get the currentTransactionfor the thread.intdbIsOpen()voidintintgetDatabase(Object obj) Get theDatabasethat contains the objectobj,
not yet available in RasDaMan.intgetObjectId(Object obj) Get aStringrepresentation of the object's identifier.getTypeStructure(String typename, int typetype) booleanisOpenTA()Create a newDArrayobject,
not yet available in RasDaMan.Create a newDatabaseobject.newDBag()Create a newDBagobject.newDList()Create a newDListobject.newDMap()Create a newDMapobject,
not yet available in RasDaMan.newDSet()Create a newDSetobject.Create a newOQLQueryobject.Create aTransactionobject and associate it with the current thread.voidqueryRequest(String parameters) voidsetMaxRetry(int newRetry) voidsetUserIdentification(String userName, String plainPass) voidsetUserIdentificationHashed(String userName, String md5HashedPass)
-
Method Details
-
getRasServer
String getRasServer() -
dbIsOpen
int dbIsOpen() -
getClientID
int getClientID() -
getAccessMode
int getAccessMode() -
getErrorStatus
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:
-
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:
-
newDatabase
Database newDatabase()Description copied from interface:ImplementationCreate a newDatabaseobject.- Specified by:
newDatabasein interfaceImplementation- Returns:
- The new
Databaseobject. - See Also:
-
newOQLQuery
OQLQuery newOQLQuery()Description copied from interface:ImplementationCreate a newOQLQueryobject.- Specified by:
newOQLQueryin interfaceImplementation- Returns:
- The new
OQLQueryobject. - See Also:
-
newDList
DList newDList()Description copied from interface:ImplementationCreate a newDListobject.- Specified by:
newDListin interfaceImplementation- Returns:
- The new
DListobject. - See Also:
-
newDBag
DBag newDBag()Description copied from interface:ImplementationCreate a newDBagobject.- Specified by:
newDBagin interfaceImplementation- Returns:
- The new
DBagobject. - See Also:
-
newDSet
DSet newDSet()Description copied from interface:ImplementationCreate a newDSetobject.- Specified by:
newDSetin interfaceImplementation- Returns:
- The new
DSetobject. - See Also:
-
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:
-
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:
-
getObjectId
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
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
- Throws:
ODMGException
-
closeDB
- Throws:
ODMGException
-
beginTA
void beginTA() -
isOpenTA
boolean isOpenTA() -
commitTA
void commitTA() -
abortTA
void abortTA() -
setMaxRetry
void setMaxRetry(int newRetry) -
getMaxRetry
int getMaxRetry() -
setUserIdentification
-
setUserIdentificationHashed
-
connectClient
-
disconnectClient
void disconnectClient() -
queryRequest
- Throws:
RasQueryExecutionFailedException
-
getTypeStructure
-