org.apache.jetspeed.om.common.preference
Interface PreferenceComposite

All Superinterfaces:
org.apache.pluto.om.Controller, org.apache.pluto.om.Model, org.apache.pluto.om.common.Preference, org.apache.pluto.om.common.PreferenceCtrl, java.io.Serializable

public interface PreferenceComposite
extends org.apache.pluto.om.common.PreferenceCtrl, org.apache.pluto.om.common.Preference, java.io.Serializable

PreferenceComposite

Version:
$Id: PreferenceComposite.java,v 1.2 2004/06/18 20:46:21 weaver Exp $
Author:
Scott T. Weaver

Field Summary
static java.lang.String DEFAULT_PREFERENCE
           
static java.lang.String USER_PREFERENCE
           
 
Method Summary
 void addDescription(java.util.Locale locale, java.lang.String Description)
           
 void addValue(java.lang.String value)
           addValue
 org.apache.pluto.om.common.Description getDescription(java.util.Locale locale)
           
 java.util.Iterator getDescriptions()
           
 java.util.List<java.lang.String> getValuesList()
           
 
Methods inherited from interface org.apache.pluto.om.common.PreferenceCtrl
setName, setReadOnly, setValues
 
Methods inherited from interface org.apache.pluto.om.common.Preference
getName, getValues, isReadOnly, isValueSet
 

Field Detail

DEFAULT_PREFERENCE

static final java.lang.String DEFAULT_PREFERENCE
See Also:
Constant Field Values

USER_PREFERENCE

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

addDescription

void addDescription(java.util.Locale locale,
                    java.lang.String Description)

getDescription

org.apache.pluto.om.common.Description getDescription(java.util.Locale locale)

addValue

void addValue(java.lang.String value)

addValue

Adds a new value to this Preference.

Parameters:
value - Vale to add to the preference

getValuesList

java.util.List<java.lang.String> getValuesList()
Returns:

getDescriptions

java.util.Iterator getDescriptions()


Copyright © 1999-2008 Apache Software Foundation. All Rights Reserved.