|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.astrogrid.community.client.service.CommunityServiceCoreDelegate
org.astrogrid.community.client.database.manager.DatabaseManagerCoreDelegate
The core delegate code for our DatabaseManager service. This acts as a wrapper for a DatabaseManager service, and handles any RemoteExceptions internally.
| Constructor Summary | |
DatabaseManagerCoreDelegate()
Public constructor. |
|
| Method Summary | |
boolean |
checkDatabaseTables()
Check the database tables. |
java.lang.String |
getDatabaseConfigResource()
Get our JDO configuration resource name. |
java.lang.String |
getDatabaseConfigUrl()
Get the database configuration URL. |
java.lang.String |
getDatabaseDescription()
Get the database engine description. |
protected org.astrogrid.community.common.database.manager.DatabaseManager |
getDatabaseManager()
Get a reference to our DatabaseManager service. |
java.lang.String |
getDatabaseName()
Get the current database name. |
java.lang.String |
getDatabaseScriptResource()
Get the database SQL script name. |
void |
resetDatabaseTables()
This method is only availabe through the build and test enviornment, it is NOT available as a web service interface method in the actual release. |
protected void |
setDatabaseManager(org.astrogrid.community.common.database.manager.DatabaseManager manager)
Set our our DatabaseManager service. |
| Methods inherited from class org.astrogrid.community.client.service.CommunityServiceCoreDelegate |
getCommunityService, getServiceStatus, identifierException, policyException, resourceException, securityException, serviceException, setCommunityService |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.astrogrid.community.common.service.CommunityService |
getServiceStatus |
| Methods inherited from interface org.astrogrid.community.client.database.manager.DatabaseManagerDelegate |
getServiceStatus |
| Constructor Detail |
public DatabaseManagerCoreDelegate()
| Method Detail |
protected org.astrogrid.community.common.database.manager.DatabaseManager getDatabaseManager()
protected void setDatabaseManager(org.astrogrid.community.common.database.manager.DatabaseManager manager)
public java.lang.String getDatabaseName()
throws org.astrogrid.community.common.exception.CommunityServiceException
getDatabaseName in interface org.astrogrid.community.common.database.manager.DatabaseManagerorg.astrogrid.community.common.exception.CommunityServiceException - If there is an server error.
public java.lang.String getDatabaseConfigResource()
throws org.astrogrid.community.common.exception.CommunityServiceException
getDatabaseConfigResource in interface org.astrogrid.community.common.database.manager.DatabaseManagerorg.astrogrid.community.common.exception.CommunityServiceException - If there is an server error.
public java.lang.String getDatabaseScriptResource()
throws org.astrogrid.community.common.exception.CommunityServiceException
getDatabaseScriptResource in interface org.astrogrid.community.common.database.manager.DatabaseManagerorg.astrogrid.community.common.exception.CommunityServiceException - If there is an server error.
public java.lang.String getDatabaseConfigUrl()
throws org.astrogrid.community.common.exception.CommunityServiceException
getDatabaseConfigUrl in interface org.astrogrid.community.common.database.manager.DatabaseManagerorg.astrogrid.community.common.exception.CommunityServiceException - If there is an server error.
public java.lang.String getDatabaseDescription()
throws org.astrogrid.community.common.exception.CommunityServiceException
getDatabaseDescription in interface org.astrogrid.community.common.database.manager.DatabaseManagerorg.astrogrid.community.common.exception.CommunityServiceException - If there is an server error.
public boolean checkDatabaseTables()
throws org.astrogrid.community.common.exception.CommunityServiceException
checkDatabaseTables in interface org.astrogrid.community.common.database.manager.DatabaseManagerorg.astrogrid.community.common.exception.CommunityServiceException - If there is an server error.
public void resetDatabaseTables()
throws org.astrogrid.community.common.exception.CommunityServiceException
resetDatabaseTables in interface org.astrogrid.community.common.database.manager.DatabaseManagerorg.astrogrid.community.common.exception.CommunityServiceException - If there is an server error.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||