|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Public interface for our DatabaseManager delegate. This mirrors the DatabaseManager interface without the RemoteExceptions.
| 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. |
java.lang.String |
getDatabaseName()
Get the current database name. |
java.lang.String |
getDatabaseScriptResource()
Get the database SQL script name. |
org.astrogrid.community.common.service.data.ServiceStatusData |
getServiceStatus()
Service health check. |
void |
resetDatabaseTables()
This method is only availabe through the build and test environment. |
| Method Detail |
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.
public org.astrogrid.community.common.service.data.ServiceStatusData getServiceStatus()
throws org.astrogrid.community.common.exception.CommunityServiceException
getServiceStatus in interface org.astrogrid.community.common.service.CommunityServiceorg.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 | ||||||||||