|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gov.bnl.gums.GUMS
public class GUMS
Facade for the whole business logic available in GUMS. Using GUMS means instanciating an object of this class, and use it to reach the rest of the functionalities.
Field Summary | |
---|---|
protected ConfigurationStore |
confStore
|
protected DBConfigurationStore |
dbConfStore
|
static QuietLog |
gumsAdminEmailLog
|
static String |
gumsAdminLogName
|
protected Configuration |
lastConf
|
static String |
siteAdminLogName
|
Constructor Summary | |
---|---|
GUMS()
Creates and initilializes a new instance of GUMS |
|
GUMS(ConfigurationStore confStore)
Creates and initilializes a new instance of GUMS with a specified configuration store |
Method Summary | |
---|---|
void |
deleteBackupConfiguration(String dateStr)
Delete a backup configuration by date |
Collection |
getBackupNames()
Get a list of dates for which a backup gums.config exists |
Configuration |
getConfiguration()
Retrieves the configuration being used by GUMS. |
CoreLogic |
getCoreLogic()
Retrieve the ResourceManager to perform actions on the business logic. |
static String |
getVersion()
|
boolean |
isUserBanned(GridUser user)
|
void |
mergeConfiguration(Configuration configuration,
String persistenceFactory,
String hostToGroupMapping)
|
void |
restoreConfiguration(String name)
Restore a configuration from a certain date |
void |
setConfiguration(Configuration conf,
boolean backup,
String name)
Changes the configuration used by GUMS. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String siteAdminLogName
public static final String gumsAdminLogName
public static QuietLog gumsAdminEmailLog
protected ConfigurationStore confStore
protected DBConfigurationStore dbConfStore
protected Configuration lastConf
Constructor Detail |
---|
public GUMS()
public GUMS(ConfigurationStore confStore)
confStore
- Method Detail |
---|
public void deleteBackupConfiguration(String dateStr)
dateStr
- public Collection getBackupNames() throws Exception
Exception
public Configuration getConfiguration() throws Exception
Exception
public CoreLogic getCoreLogic()
public static String getVersion()
public boolean isUserBanned(GridUser user) throws Exception
Exception
public void mergeConfiguration(Configuration configuration, String persistenceFactory, String hostToGroupMapping) throws Exception
Exception
public void restoreConfiguration(String name) throws Exception
dateStr
-
Exception
public void setConfiguration(Configuration conf, boolean backup, String name) throws Exception
conf
- the new configuration
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |