com.wewebu.ow.server.conf
Class OwBaseConfiguration

java.lang.Object
  extended by com.wewebu.ow.server.conf.OwBaseConfiguration
Direct Known Subclasses:
OwConfiguration

public abstract class OwBaseConfiguration
extends Object

Interface for the base context. The base context keeps basic configuration information and is independent to the web context.

Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.

For licensing information read the license.txt file or
go to: http://wiki.alfresco.com


Nested Class Summary
static class OwBaseConfiguration.OwPluginTypeDefinition
           Type definitions of the different plugin types.
 
Field Summary
static OwBaseConfiguration.OwPluginTypeDefinition[] m_pluginTypeDefinitions
          type definitions of the different plugin types
static String PLUGIN_NODE_CLASSNAME
          plugin node name for the Description
static String PLUGIN_NODE_DESCRIPTION
          plugin node name for the Description
static String PLUGIN_NODE_HELP
          plugin node name for the help JSP path
static String PLUGIN_NODE_ID
          plugin node name for the ID
static String PLUGIN_NODE_NAME
          plugin node name for the Name
static String PLUGIN_NODE_SETTINGS_SET
          name of the settings node in the plugin description DOM tree.
static String PLUGIN_NODE_VENDOR
          plugin node name for the Vender
static String PLUGIN_NODE_VERSION
          plugin node name for the Description
static String PLUGIN_NODE_VIEW_CLASSNAME
          plugin node name for the Description
static String PLUGIN_SETATTR_DISPLAY_NAME
          node attribute for the display name
static String PLUGIN_SETATTR_EDIT
          node attribute for the edit flag
static String PLUGIN_SETATTR_LIST
          node attribute for the list flag
static String PLUGIN_SETATTR_MAX_SIZE
          node attribute for the list max size
static String PLUGIN_SETATTR_SCOPE
          node attribute for the scope flag
static String PLUGINTYPE_APPLICATION
          type of the application, which is actually no plugin, it is only used to declare help files and settings for the application (Workdesk) itself.
static String PLUGINTYPE_DOCUMENT_FUNCTION
          type of the document function plugins
static String PLUGINTYPE_MASTER
          type of the main plugins
static String PLUGINTYPE_RECORD_FUNCTION
          type of the record function plugins, used in the record plugin only
 
Constructor Summary
OwBaseConfiguration()
           
 
Method Summary
abstract  String getLocalizedPluginDescription(OwXMLUtil pluginDescriptionNode_p)
          get the localized description of a plugin
abstract  String getLocalizedPluginDescription(String strID_p)
          get the localized description of a plugin
abstract  String getLocalizedPluginSettingTitle(Node settingDescriptionNode_p, String strPluginName_p)
          get the localized title of a plugin setting
abstract  String getLocalizedPluginTitle(OwXMLUtil pluginDescriptionNode_p)
          get the localized title of a plugin
abstract  String getLocalizedPluginTitle(String strID_p)
          get the localized title of a plugin
static OwBaseConfiguration.OwPluginTypeDefinition[] getPluginTypeDefinitions()
          get the type definitions of the different plugin types
static String getPluginTypeDisplayName(String strPluginType_p, Locale locale_p)
          get a display name for the given plugin type definition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PLUGINTYPE_APPLICATION

public static final String PLUGINTYPE_APPLICATION
type of the application, which is actually no plugin, it is only used to declare help files and settings for the application (Workdesk) itself.

See Also:
Constant Field Values

PLUGINTYPE_MASTER

public static final String PLUGINTYPE_MASTER
type of the main plugins

See Also:
Constant Field Values

PLUGINTYPE_DOCUMENT_FUNCTION

public static final String PLUGINTYPE_DOCUMENT_FUNCTION
type of the document function plugins

See Also:
Constant Field Values

PLUGINTYPE_RECORD_FUNCTION

public static final String PLUGINTYPE_RECORD_FUNCTION
type of the record function plugins, used in the record plugin only

See Also:
Constant Field Values

m_pluginTypeDefinitions

public static final OwBaseConfiguration.OwPluginTypeDefinition[] m_pluginTypeDefinitions
type definitions of the different plugin types


PLUGIN_NODE_ID

public static final String PLUGIN_NODE_ID
plugin node name for the ID

See Also:
Constant Field Values

PLUGIN_NODE_NAME

public static final String PLUGIN_NODE_NAME
plugin node name for the Name

See Also:
Constant Field Values

PLUGIN_NODE_DESCRIPTION

public static final String PLUGIN_NODE_DESCRIPTION
plugin node name for the Description

See Also:
Constant Field Values

PLUGIN_NODE_VENDOR

public static final String PLUGIN_NODE_VENDOR
plugin node name for the Vender

See Also:
Constant Field Values

PLUGIN_NODE_CLASSNAME

public static final String PLUGIN_NODE_CLASSNAME
plugin node name for the Description

See Also:
Constant Field Values

PLUGIN_NODE_VIEW_CLASSNAME

public static final String PLUGIN_NODE_VIEW_CLASSNAME
plugin node name for the Description

See Also:
Constant Field Values

PLUGIN_NODE_VERSION

public static final String PLUGIN_NODE_VERSION
plugin node name for the Description

See Also:
Constant Field Values

PLUGIN_NODE_HELP

public static final String PLUGIN_NODE_HELP
plugin node name for the help JSP path

See Also:
Constant Field Values

PLUGIN_NODE_SETTINGS_SET

public static final String PLUGIN_NODE_SETTINGS_SET
name of the settings node in the plugin description DOM tree.

See Also:
Constant Field Values

PLUGIN_SETATTR_MAX_SIZE

public static final String PLUGIN_SETATTR_MAX_SIZE
node attribute for the list max size

See Also:
Constant Field Values

PLUGIN_SETATTR_LIST

public static final String PLUGIN_SETATTR_LIST
node attribute for the list flag

See Also:
Constant Field Values

PLUGIN_SETATTR_DISPLAY_NAME

public static final String PLUGIN_SETATTR_DISPLAY_NAME
node attribute for the display name

See Also:
Constant Field Values

PLUGIN_SETATTR_EDIT

public static final String PLUGIN_SETATTR_EDIT
node attribute for the edit flag

See Also:
Constant Field Values

PLUGIN_SETATTR_SCOPE

public static final String PLUGIN_SETATTR_SCOPE
node attribute for the scope flag

See Also:
Constant Field Values
Constructor Detail

OwBaseConfiguration

public OwBaseConfiguration()
Method Detail

getPluginTypeDefinitions

public static OwBaseConfiguration.OwPluginTypeDefinition[] getPluginTypeDefinitions()
get the type definitions of the different plugin types


getPluginTypeDisplayName

public static String getPluginTypeDisplayName(String strPluginType_p,
                                              Locale locale_p)
get a display name for the given plugin type definition


getLocalizedPluginTitle

public abstract String getLocalizedPluginTitle(OwXMLUtil pluginDescriptionNode_p)
get the localized title of a plugin

Parameters:
pluginDescriptionNode_p - OwXMLUtil wrapper

getLocalizedPluginTitle

public abstract String getLocalizedPluginTitle(String strID_p)
get the localized title of a plugin

Parameters:
strID_p - String plugin ID

getLocalizedPluginDescription

public abstract String getLocalizedPluginDescription(OwXMLUtil pluginDescriptionNode_p)
get the localized description of a plugin

Parameters:
pluginDescriptionNode_p - OwXMLUtil wrapper

getLocalizedPluginDescription

public abstract String getLocalizedPluginDescription(String strID_p)
get the localized description of a plugin

Parameters:
strID_p - String plugin ID

getLocalizedPluginSettingTitle

public abstract String getLocalizedPluginSettingTitle(Node settingDescriptionNode_p,
                                                      String strPluginName_p)
get the localized title of a plugin setting

Parameters:
settingDescriptionNode_p - Node
strPluginName_p - String


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.