ca.bc.gov.webade.preferences
Interface MultiValueWebADEPreference

All Superinterfaces:
WebADEPreference
All Known Implementing Classes:
DefaultMultiValueWebADEPreference

public interface MultiValueWebADEPreference
extends WebADEPreference

Author:
jross

Method Summary
 void addPreferenceValue(java.lang.String preferenceValue)
          Add the given value to the preference.
 void clearPreferenceValues()
          Removes all preference values for this preference, leaving this preference with an empty array of values.
 java.util.List getPreferenceValues()
           
 void removePreferenceValue(java.lang.String preferenceValue)
          Removes the given value from the preference.
 
Methods inherited from interface ca.bc.gov.webade.preferences.WebADEPreference
clone, getPreferenceName, getPreferenceValue, setPreferenceValue
 

Method Detail

getPreferenceValues

public java.util.List getPreferenceValues()
Returns:
Returns the preferenceValues assigned to the preference name.

addPreferenceValue

public void addPreferenceValue(java.lang.String preferenceValue)
Add the given value to the preference.

Parameters:
preferenceValue - The preference value to add.

removePreferenceValue

public void removePreferenceValue(java.lang.String preferenceValue)
Removes the given value from the preference. If the value is not found, no change will occur.

Parameters:
preferenceValue - The preference value to remove.

clearPreferenceValues

public void clearPreferenceValues()
Removes all preference values for this preference, leaving this preference with an empty array of values.