GNDMS 0.6.0
RESTful verison of GNDMS
Public Member Functions | Private Member Functions | Private Attributes

de.zib.gndms.infra.legacy.LegacyConfigActionProvider Class Reference

A provider for config actions which is able to handle G2 DMS config actions. More...

Inheritance diagram for de.zib.gndms.infra.legacy.LegacyConfigActionProvider:
de.zib.gndms.logic.model.config.ConfigActionProvider

List of all members.

Public Member Functions

List< String > listAvailableActions ()
ConfigMeta getMeta (String configName) throws NoSuchActionException
String callConfigAction (String actionClassName, String args) throws Exception
 Convenience method which calls the config action directly.
ConfigAction getAction (String actionName) throws NoSuchActionException
ConfigMeta getLegacyConfigMeta ()
void setLegacyConfigMeta (SettableConfigMeta legacyConfigMeta)
LegacyConfigActionCaller getLegacyActionCaller ()
void setLegacyActionCaller (LegacyConfigActionCaller legacyActionCaller)

Private Member Functions

void initConfigMeta ()

Private Attributes

SettableConfigMeta legacyConfigMeta
boolean legacyConfigMetaInitialized = false
LegacyConfigActionCaller legacyActionCaller

Detailed Description

A provider for config actions which is able to handle G2 DMS config actions.

Author:
Maik Jorra jorra@zib.de
Date:
19-july-2011

Member Function Documentation

String de.zib.gndms.infra.legacy.LegacyConfigActionProvider.callConfigAction ( String  actionClassName,
String  args 
) throws Exception

Convenience method which calls the config action directly.

Parameters:
actionClassNameThe name of the action to call.
argsThe arguments for the action.
Returns:
The result of the action as string.
Exceptions:
ExceptionAn arbitrary thrown the config action itself.

Implements de.zib.gndms.logic.model.config.ConfigActionProvider.

                                                                                           {
        return legacyActionCaller.callAction( actionClassName, args );
    }

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables