org.ow2.jonas.webapp.jonasadmin
Class Jlists

java.lang.Object
  extended by org.ow2.jonas.webapp.jonasadmin.Jlists

public class Jlists
extends Object

General purpose utility methods to create lists of objects that are commonly required in building the user interface. In all cases, if there are no matching elements, a zero-length list (rather than null) is returned.

Version:
$Revision: 14503 $ $Date: 2008-07-10 17:13:06 +0200 (jeu 10 jui 2008) $
Author:
Craig R. McClanahan

Field Summary
static String SEPARATOR
           
 
Constructor Summary
protected Jlists()
          Protected constructor to prevent instantiation.
 
Method Summary
static ArrayList getArrayList(String p_String, String p_Separator)
          Transform the string like a ArrayString, each element are separated by the separator.
static List getAuthenticationModeLdapValues()
          Return a List of LabelValueBeans for the legal settings for AuthenticationModeLdap properties.
static List getBooleanValues()
          Return a List of LabelValueBeans for the legal settings for boolean properties.
static List getDebugLevels()
          Return a List of LabelValueBeans for the legal settings for debug properties.
static List getJdbcConnectionCheckingLevels()
          Return a List of LabelValueBeans for the legal settings for Jdbc Connection Checking Levels properties.
static List getLoggerJonasLevels()
          Return a List of LabelValueBeans for the legal settings for Logger Jonas Levels properties.
static List getMonitoringApplySettingsValues()
          Return a List of LabelValueBeans for the apply settings for EJB monitoring .
static List getSecurityAlgorithms()
          Return a List of LabelValueBeans for the legal settings for SecurityAlgorithms properties.
static List getSecurityAuthenticationLdapValues()
          Return a List of LabelValueBeans for the legal settings for SecurityAuthenticationLdap properties.
static List getSpecVersion()
          Return a List of LabelValueBeans for the legal settings for Spec-Version property.
static String getString(Collection p_Collection, String p_Separator)
          Transform the collection like a string, each element are separated by the separator.
static List getVerbosityLevels()
          Return a List of LabelValueBeans for the legal settings for verbosity properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SEPARATOR

public static final String SEPARATOR
See Also:
Constant Field Values
Constructor Detail

Jlists

protected Jlists()
Protected constructor to prevent instantiation.

Method Detail

getDebugLevels

public static List getDebugLevels()
Return a List of LabelValueBeans for the legal settings for debug properties.


getVerbosityLevels

public static List getVerbosityLevels()
Return a List of LabelValueBeans for the legal settings for verbosity properties.


getBooleanValues

public static List getBooleanValues()
Return a List of LabelValueBeans for the legal settings for boolean properties.


getLoggerJonasLevels

public static List getLoggerJonasLevels()
Return a List of LabelValueBeans for the legal settings for Logger Jonas Levels properties.


getJdbcConnectionCheckingLevels

public static List getJdbcConnectionCheckingLevels()
Return a List of LabelValueBeans for the legal settings for Jdbc Connection Checking Levels properties.


getSpecVersion

public static List getSpecVersion()
Return a List of LabelValueBeans for the legal settings for Spec-Version property.

Returns:
a List of legal values.

getSecurityAuthenticationLdapValues

public static List getSecurityAuthenticationLdapValues()
Return a List of LabelValueBeans for the legal settings for SecurityAuthenticationLdap properties.


getAuthenticationModeLdapValues

public static List getAuthenticationModeLdapValues()
Return a List of LabelValueBeans for the legal settings for AuthenticationModeLdap properties.


getSecurityAlgorithms

public static List getSecurityAlgorithms()
Return a List of LabelValueBeans for the legal settings for SecurityAlgorithms properties.


getString

public static String getString(Collection p_Collection,
                               String p_Separator)
Transform the collection like a string, each element are separated by the separator.

Parameters:
p_Collection - The collection to transform
p_Separator - The separator
Returns:
The collection string

getArrayList

public static ArrayList getArrayList(String p_String,
                                     String p_Separator)
Transform the string like a ArrayString, each element are separated by the separator.

Parameters:
p_String -
p_Separator - The separator
Returns:
The list

getMonitoringApplySettingsValues

public static List getMonitoringApplySettingsValues()
Return a List of LabelValueBeans for the apply settings for EJB monitoring .



Copyright © 2010 OW2 Consortium. All Rights Reserved.