|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.jetspeed.om.preference.impl.PrefsPreference
| Field Summary | |
static String[] |
DEFAULT_OPEN_NODES
|
protected static String |
LOCALE_TOKEN
|
protected String |
name
|
static String |
PORTLET_PREFERENCES_ROOT
|
protected Preferences |
prefNode
|
protected Preferences |
prefValueNode
|
protected static String |
VALUES_PATH
|
| Fields inherited from interface org.apache.jetspeed.om.common.preference.PreferenceComposite |
DEFAULT_PREFERENCE, USER_PREFERENCE |
| Constructor Summary | |
PrefsPreference(org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite portlet,
String name)
|
|
PrefsPreference(Preferences prefNode,
String name)
|
|
| Method Summary | |
void |
addDescription(Locale locale,
String description)
addDescription |
void |
addValue(String value)
addValue |
String[] |
cloneValues()
clone |
static Preferences |
createPrefenceNode(org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite portlet)
createPrefenceNode |
boolean |
equals(Object obj)
equals |
void |
flush()
|
org.apache.pluto.om.common.Description |
getDescription(Locale locale)
getDescription |
Iterator |
getDescriptions()
getDescriptions |
String |
getName()
getName |
String |
getType()
getType |
String[] |
getValueArray()
getValueArray |
String |
getValueAt(int index)
getValueAt |
Iterator |
getValues()
getValues |
int |
hashCode()
hashCode |
boolean |
isReadOnly()
isReadOnly |
boolean |
isValueSet()
isValueSet |
protected Locale |
parseLocal(String localString)
|
void |
removeValueAt(int index)
|
void |
setName(String name)
setName |
void |
setReadOnly(boolean readOnly)
|
void |
setReadOnly(String readOnly)
setReadOnly |
void |
setType(String string)
setType |
void |
setValueAt(int index,
String value)
setValueAt |
void |
setValues(List arg0)
setValues |
void |
setValues(String[] stringValues)
setValues |
String |
toString()
toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected static final String VALUES_PATH
public static final String PORTLET_PREFERENCES_ROOT
protected static final String LOCALE_TOKEN
protected Preferences prefValueNode
protected Preferences prefNode
protected String name
public static final String[] DEFAULT_OPEN_NODES
| Constructor Detail |
public PrefsPreference(Preferences prefNode,
String name)
public PrefsPreference(org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite portlet,
String name)
| Method Detail |
public void addDescription(Locale locale,
String description)
addDescription
addDescription in interface org.apache.jetspeed.om.common.preference.PreferenceCompositelocale - PreferenceComposite.addDescription(java.util.Locale,
java.lang.String)public org.apache.pluto.om.common.Description getDescription(Locale locale)
getDescription
getDescription in interface org.apache.jetspeed.om.common.preference.PreferenceCompositelocale -
PreferenceComposite.getDescription(java.util.Locale)public String getValueAt(int index)
getValueAt
getValueAt in interface org.apache.jetspeed.om.common.preference.PreferenceCompositeindex -
PreferenceComposite.getValueAt(int)public void removeValueAt(int index)
removeValueAt in interface org.apache.jetspeed.om.common.preference.PreferenceComposite
public void setValueAt(int index,
String value)
setValueAt
setValueAt in interface org.apache.jetspeed.om.common.preference.PreferenceCompositeindex - value - PreferenceComposite.setValueAt(int,
java.lang.String)public void addValue(String value)
addValue
addValue in interface org.apache.jetspeed.om.common.preference.PreferenceCompositevalue - PreferenceComposite.addValue(java.lang.String)public String[] getValueArray()
getValueArray
getValueArray in interface org.apache.jetspeed.om.common.preference.PreferenceCompositePreferenceComposite.getValueArray()public void setValues(String[] stringValues)
setValues
setValues in interface org.apache.jetspeed.om.common.preference.PreferenceCompositestringValues - PreferenceComposite.setValues(java.lang.String[])public String getType()
getType
getType in interface org.apache.jetspeed.om.common.preference.PreferenceCompositePreferenceComposite.getType()public void setType(String string)
setType
setType in interface org.apache.jetspeed.om.common.preference.PreferenceCompositestring - PreferenceComposite.setType(java.lang.String)public void setName(String name)
setName
setName in interface org.apache.pluto.om.common.PreferenceCtrlPreferenceCtrl.setName(java.lang.String)public void setValues(List arg0)
setValues
setValues in interface org.apache.pluto.om.common.PreferenceCtrlarg0 - PreferenceCtrl.setValues(java.util.List)public void setReadOnly(String readOnly)
setReadOnly
setReadOnly in interface org.apache.pluto.om.common.PreferenceCtrlPreferenceCtrl.setReadOnly(java.lang.String)public void setReadOnly(boolean readOnly)
public String getName()
getName
getName in interface org.apache.pluto.om.common.PreferencePreference.getName()public Iterator getValues()
getValues
getValues in interface org.apache.pluto.om.common.PreferencePreference.getValues()public boolean isReadOnly()
isReadOnly
isReadOnly in interface org.apache.pluto.om.common.PreferencePreference.isReadOnly()public boolean isValueSet()
isValueSet
isValueSet in interface org.apache.pluto.om.common.PreferencePreference.isValueSet()protected Locale parseLocal(String localString)
public String[] cloneValues()
clone
cloneValues in interface org.apache.jetspeed.om.common.preference.PreferenceCompositeObject.clone()public boolean equals(Object obj)
equals
obj -
Object.equals(java.lang.Object)public int hashCode()
hashCode
Object.hashCode()public String toString()
toString
Object.toString()
public void flush()
throws BackingStoreException
BackingStoreExceptionpublic Iterator getDescriptions()
getDescriptions
getDescriptions in interface org.apache.jetspeed.om.common.preference.PreferenceCompositePreferenceComposite.getDescriptions()public static Preferences createPrefenceNode(org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite portlet)
createPrefenceNode
Creates a Preferences object for this portlet
portlet -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||