com.stellent.cis.common.bean
Interface IParamBean

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
ParamBean

public interface IParamBean
extends java.io.Serializable

Represents a bean that takes is populated from a Map of properties


Field Summary
static java.lang.String LABEL_PREFIX
           
 
Method Summary
 java.lang.String getFieldName(java.lang.String field)
          Get the localized name of the given field
 java.util.ResourceBundle getResourceBundle()
          Get the resource bundle associated with this parameter bean
 void populateData(java.util.Map data)
          Populate this bean
 void setResourceBundle(java.lang.String bundleName)
          Set the name of the resource bundle for this parameter bean
 void setResourceBundle(java.lang.String bundleName, java.util.Locale locale)
          Set the name of the resource bundle for this parameter bean
 void validate()
          Validate the parameters.
 

Field Detail

LABEL_PREFIX

static final java.lang.String LABEL_PREFIX
See Also:
Constant Field Values
Method Detail

populateData

void populateData(java.util.Map data)
Populate this bean

Parameters:
data -
Throws:
java.lang.IllegalArgumentException - if an error occurs during data population

validate

void validate()
              throws ParameterValidationException
Validate the parameters.

Throws:
ParameterValidationException - if the parameters are invalid

getResourceBundle

java.util.ResourceBundle getResourceBundle()
Get the resource bundle associated with this parameter bean

Returns:

setResourceBundle

void setResourceBundle(java.lang.String bundleName)
Set the name of the resource bundle for this parameter bean

Parameters:
bundleName -

setResourceBundle

void setResourceBundle(java.lang.String bundleName,
                       java.util.Locale locale)
Set the name of the resource bundle for this parameter bean

Parameters:
bundleName -

getFieldName

java.lang.String getFieldName(java.lang.String field)
Get the localized name of the given field

Parameters:
field -
Returns: