org.objectweb.jonas.webapp.jonasadmin
Class Jlists

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

public class Jlists
extends java.lang.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: 9637 $ $Date: 2006-09-27 20:08:32 +0000 (Wed, 27 Sep 2006) $
Author:
Craig R. McClanahan

Field Summary
static java.lang.String SEPARATOR
           
 
Constructor Summary
protected Jlists()
          Protected constructor to prevent instantiation.
 
Method Summary
static java.util.ArrayList getArrayList(java.lang.String p_String, java.lang.String p_Separator)
          Transform the string like a ArrayString, each element are separated by the separator.
static java.util.List getAuthenticationModeLdapValues()
          Return a List of LabelValueBeans for the legal settings for AuthenticationModeLdap properties.
static java.util.List getBooleanValues()
          Return a List of LabelValueBeans for the legal settings for boolean properties.
static java.util.List getDebugLevels()
          Return a List of LabelValueBeans for the legal settings for debug properties.
static java.util.List getJdbcConnectionCheckingLevels()
          Return a List of LabelValueBeans for the legal settings for Jdbc Connection Checking Levels properties.
static java.util.List getLoggerJonasLevels()
          Return a List of LabelValueBeans for the legal settings for Logger Jonas Levels properties.
static java.util.List getSecurityAlgorithms()
          Return a List of LabelValueBeans for the legal settings for SecurityAlgorithms properties.
static java.util.List getSecurityAuthenticationLdapValues()
          Return a List of LabelValueBeans for the legal settings for SecurityAuthenticationLdap properties.
static java.util.List getSpecVersion()
          Return a List of LabelValueBeans for the legal settings for Spec-Version property.
static java.lang.String getString(java.util.Collection p_Collection, java.lang.String p_Separator)
          Transform the collection like a string, each element are separated by the separator.
static java.util.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 java.lang.String SEPARATOR
See Also:
Constant Field Values
Constructor Detail

Jlists

protected Jlists()
Protected constructor to prevent instantiation.

Method Detail

getDebugLevels

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


getVerbosityLevels

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


getBooleanValues

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


getLoggerJonasLevels

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


getJdbcConnectionCheckingLevels

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


getSpecVersion

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

Returns:
a List of legal values.

getSecurityAuthenticationLdapValues

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


getAuthenticationModeLdapValues

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


getSecurityAlgorithms

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


getString

public static java.lang.String getString(java.util.Collection p_Collection,
                                         java.lang.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 java.util.ArrayList getArrayList(java.lang.String p_String,
                                               java.lang.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