|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RepositoryDelegate

Represents the communication interface thru which the JDBC logic will obtain a connection and issue commands to the Jcr layer.
| Method Summary | ||
|---|---|---|
void |
close()
Call to close the delegate connection. |
|
void |
commit()
|
|
Connection |
createConnection()
Call to create the connection based on the implementation of this interface. |
|
DatabaseMetaData |
createMetaData(JcrConnection connection)
Call to create the DatabaseMetaData |
|
QueryResult |
execute(String query,
String language)
Call to execute the sql query based on the specified Jcr language. |
|
ConnectionInfo |
getConnectionInfo()
Call to get the connection information. |
|
Set<String> |
getRepositoryNames()
Called to get all the repository names currently available in the JcrEngine. |
|
boolean |
isValid(int timeout)
|
|
boolean |
isWrapperFor(Class<?> iface)
|
|
NodeType |
nodeType(String name)
Call to get NodeType based on specified name |
|
List<NodeType> |
nodeTypes()
Call to get all the NodeTypes defined. |
|
void |
rollback()
|
|
|
unwrap(Class<T> iface)
|
|
| Method Detail |
|---|
ConnectionInfo getConnectionInfo()
NodeType nodeType(String name)
throws RepositoryException
NodeType based on specified name
name -
RepositoryException
List<NodeType> nodeTypes()
throws RepositoryException
NodeTypes defined.
RepositoryException
QueryResult execute(String query,
String language)
throws RepositoryException
query based on the specified Jcr language.
query - is the sql query to executelanguage - is the JCR language the query should be executed based on.
RepositoryException
Connection createConnection()
throws SQLException
SQLException
void commit()
throws RepositoryException
RepositoryExceptionConnection.commit()
void rollback()
throws RepositoryException
RepositoryExceptionConnection.rollback()
boolean isValid(int timeout)
throws RepositoryException
timeout -
RepositoryExceptionConnection.isValid(int)void close()
Connection.close()
DatabaseMetaData createMetaData(JcrConnection connection)
throws RepositoryException
connection -
RepositoryExceptionboolean isWrapperFor(Class<?> iface)
iface -
Wrapper.isWrapperFor(java.lang.Class)
<T> T unwrap(Class<T> iface)
throws SQLException
T - iface -
SQLExceptionWrapper.unwrap(java.lang.Class)
Set<String> getRepositoryNames()
throws RepositoryException
RepositoryException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||