| java.lang.Object com.sun.jbi.jsf.util.JSFUtils
JSFUtils | final public class JSFUtils (Code) | | Provides JavaServer Faces and JSFTemplating related utility methods.
author: Sun Microsystems Inc. |
Field Summary | |
final public static String | PS_CREATE Input parameter for getCompAppConfigPropertySheet when
creating a new Component Application Configuration. | final public static String | PS_EDIT Input parameter for getCompAppConfigPropertySheet when
viewing/editing an existing Component Application Configuration. |
Method Summary | |
public static Property | createTextProperty(String anIdPrefix, String anI18nLabelKey, String aTextValueExpr, boolean isEditable) | public static void | decodeCompInstallationConfigProperties(PropertySheet anInstallConfigPS, Properties aConfigProperties) | public static PropertySheet | getCompAppConfigPropertySheet(String anAction, List<AppConfigField> aListOfFields) Dynamically populates a sun:propertySheet element for the
Component Application Configuration creation or viewing/editing
use-cases.
Parameters: anAction - one of: create or edit Parameters: aListOfFields - with zero or more AppConfigField elements to produce dynamic sun:property elements. | public static PropertySheet | getCompInstallationConfigPS(String aCompName, String aCompType, List<ConfigPropertyGroup> aListOfPropertyGroups) | public static PropertySheet | getCompRuntimeCompConfigPS(String anInstanceName, String aCompName, String aCompType, String aSummaryMessage) | public static PropertySheet | getCompStatsPS(TabularData aTableOfCompStats, List aListOfEndpointsStatsCDs, String aCompName, String anInstanceName) | public static PropertySheet | getNoConfigPS(String aConfigType, String aCompName, String aCompType) | public static PropertySheet | getSaStatsPS(TabularData aTableOfSaStats, TabularData aTableOfEndpointStats, String anInstanceName, String anSaName) | public static PropertySheet | getSuStatsPS(TabularData aTableOfSaStats, TabularData aTableOfEndpointStats, String anInstanceName, String anSaName, String anSuName) |
PS_CREATE | final public static String PS_CREATE(Code) | | Input parameter for getCompAppConfigPropertySheet when
creating a new Component Application Configuration.
|
PS_EDIT | final public static String PS_EDIT(Code) | | Input parameter for getCompAppConfigPropertySheet when
viewing/editing an existing Component Application Configuration.
|
createTextProperty | public static Property createTextProperty(String anIdPrefix, String anI18nLabelKey, String aTextValueExpr, boolean isEditable)(Code) | | create a labeled property with a read-only or editable text property
Parameters: anIdPrefix - String used to create unique element IDs Parameters: anI18nLabelKey - String used to lookup an I18n String for thelabel Parameters: aTextValueExpr - String used to set the text value Parameters: isEditable - boolean if true, creates editable TextField,otherwise creates read-only StaticText Property containing a label and either aTextField or a StaticText |
decodeCompInstallationConfigProperties | public static void decodeCompInstallationConfigProperties(PropertySheet anInstallConfigPS, Properties aConfigProperties)(Code) | | Parameters: anInstallConfigPS - Description of Parameter Parameters: aConfigProperties - Description of Parameter |
getCompAppConfigPropertySheet | public static PropertySheet getCompAppConfigPropertySheet(String anAction, List<AppConfigField> aListOfFields)(Code) | | Dynamically populates a sun:propertySheet element for the
Component Application Configuration creation or viewing/editing
use-cases.
Parameters: anAction - one of: create or edit Parameters: aListOfFields - with zero or more AppConfigField elements to produce dynamic sun:property elements. a property sheet for viewing/editing an existingComponent Application Configuration (i.e. the name is known andnot changeable) or for creating a new one (the name is not knownand is a required input). |
getCompInstallationConfigPS | public static PropertySheet getCompInstallationConfigPS(String aCompName, String aCompType, List<ConfigPropertyGroup> aListOfPropertyGroups)(Code) | | Dynamically populates a sun:propertySheet element for
component installation configuration properties
Parameters: aCompName - the component name Parameters: aCompType - Description of Parameter Parameters: aListOfPropertyGroups - Description of Parameter a property sheet with editableinstallation configuration properties |
getCompRuntimeCompConfigPS | public static PropertySheet getCompRuntimeCompConfigPS(String anInstanceName, String aCompName, String aCompType, String aSummaryMessage)(Code) | | Dynamically populates a sun:propertySheet element for
component runtime component configuration properties
Parameters: anInstanceName - the instance Parameters: aCompName - the component name Parameters: aCompType - Description of Parameter Parameters: aSummaryMessage - tbd a property sheet with editable componentruntime component configuration properties |
getCompStatsPS | public static PropertySheet getCompStatsPS(TabularData aTableOfCompStats, List aListOfEndpointsStatsCDs, String aCompName, String anInstanceName)(Code) | | Dynamically populates a sun:propertySheet element for the
Component Statistics
Parameters: aTableOfCompStats - a table of component statistics Parameters: aListOfEndpointsStatsCDs - Description of Parameter Parameters: aCompName - the component name for thesestatistics Parameters: anInstanceName - display statistics only for thisinstance a property sheet for viewing theComponent Statistics |
getNoConfigPS | public static PropertySheet getNoConfigPS(String aConfigType, String aCompName, String aCompType)(Code) | | Dynamically populates a sun:propertySheet element for
component installation configuration properties
Parameters: aConfigType - Description of Parameter Parameters: aCompName - the component name Parameters: aCompType - Description of Parameter a property sheet with editable installationconfiguration properties |
getSaStatsPS | public static PropertySheet getSaStatsPS(TabularData aTableOfSaStats, TabularData aTableOfEndpointStats, String anInstanceName, String anSaName)(Code) | | Dynamically populates a sun:propertySheet element for the
Service Assembly Statistics
Parameters: aTableOfSaStats - a table of Service Asssemly statistics Parameters: aTableOfEndpointStats - a table of Endpoint statistics Parameters: anInstanceName - display statistics only for this instance Parameters: anSaName - the Service Assembly name for thesestatistics a property sheet for viewing the ServiceUnit Statistics |
getSuStatsPS | public static PropertySheet getSuStatsPS(TabularData aTableOfSaStats, TabularData aTableOfEndpointStats, String anInstanceName, String anSaName, String anSuName)(Code) | | Dynamically populates a sun:propertySheet element for the
Service Unit Statistics
Parameters: aTableOfSaStats - a table of Service Asssemly statistics Parameters: aTableOfEndpointStats - a table of Endpoint statistics Parameters: anInstanceName - display statistics only for this instance Parameters: anSaName - the Service Assembly name for thesestatistics Parameters: anSuName - the Service Unit name for thesestatistics a property sheet for viewing the ServiceUnit Statistics |
|
|