|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jetspeed.om.preference.impl.PrefsPreferenceSetImpl
public class PrefsPreferenceSetImpl
Nested Class Summary | |
---|---|
protected class |
PrefsPreferenceSetImpl.PortletPrefsIterator
|
Field Summary | |
---|---|
protected org.apache.jetspeed.om.common.preference.PreferenceSetComposite |
defaults
|
protected Preferences |
prefsRootNode
|
protected org.apache.jetspeed.om.common.preference.PreferencesValidatorFactory |
validatorFactory
|
Constructor Summary | |
---|---|
PrefsPreferenceSetImpl(Preferences prefsRootNode)
|
|
PrefsPreferenceSetImpl(Preferences prefsRootNode,
org.apache.jetspeed.om.common.preference.PreferenceSetComposite defaults)
|
|
PrefsPreferenceSetImpl(Preferences prefsRootNode,
org.apache.jetspeed.om.common.preference.PreferencesValidatorFactory validatorFactory)
|
Method Summary | |
---|---|
org.apache.pluto.om.common.Preference |
add(String name,
List values)
add |
protected boolean |
arrayContains(String[] array,
String value)
|
void |
clear()
clear |
void |
flush()
|
org.apache.pluto.om.common.Preference |
get(String key)
get |
Set |
getNames()
getNames |
javax.portlet.PreferencesValidator |
getPreferencesValidator()
getPreferencesValidator |
Iterator |
iterator()
iterator |
void |
remove(org.apache.pluto.om.common.Preference pref)
remove |
org.apache.pluto.om.common.Preference |
remove(String key)
remove |
int |
size()
size |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Preferences prefsRootNode
protected org.apache.jetspeed.om.common.preference.PreferenceSetComposite defaults
protected org.apache.jetspeed.om.common.preference.PreferencesValidatorFactory validatorFactory
Constructor Detail |
---|
public PrefsPreferenceSetImpl(Preferences prefsRootNode) throws BackingStoreException
portletEntity
- PortletEntity for which to build the PreferenceSet for.
BackingStoreException
- if an error is encountered while accessing the Preferences
backing store.public PrefsPreferenceSetImpl(Preferences prefsRootNode, org.apache.jetspeed.om.common.preference.PreferencesValidatorFactory validatorFactory) throws BackingStoreException
portletEntity
- PortletEntity for which to build the PreferenceSet for.validatorFactory
- Factory for providing access to a PreferencesValidator instance
BackingStoreException
- if an error is encountered while accessing the Preferences
backing store.public PrefsPreferenceSetImpl(Preferences prefsRootNode, org.apache.jetspeed.om.common.preference.PreferenceSetComposite defaults) throws BackingStoreException
BackingStoreException
Method Detail |
---|
public Set getNames()
getNames
getNames
in interface org.apache.jetspeed.om.common.preference.PreferenceSetComposite
PreferenceSetComposite.getNames()
public org.apache.pluto.om.common.Preference get(String key)
get
get
in interface org.apache.pluto.om.common.PreferenceSet
arg0
-
PreferenceSet.get(java.lang.String)
public javax.portlet.PreferencesValidator getPreferencesValidator()
getPreferencesValidator
getPreferencesValidator
in interface org.apache.pluto.om.common.PreferenceSet
PreferenceSet.getPreferencesValidator()
public org.apache.pluto.om.common.Preference add(String name, List values)
add
add
in interface org.apache.pluto.om.common.PreferenceSetCtrl
name
- values
-
PreferenceSetCtrl.add(java.lang.String,
java.util.List)
public void remove(org.apache.pluto.om.common.Preference pref)
remove
remove
in interface org.apache.pluto.om.common.PreferenceSetCtrl
arg0
- PreferenceSetCtrl.remove(org.apache.pluto.om.common.Preference)
public org.apache.pluto.om.common.Preference remove(String key)
remove
remove
in interface org.apache.pluto.om.common.PreferenceSetCtrl
arg0
-
PreferenceSetCtrl.remove(java.lang.String)
public void flush() throws BackingStoreException
BackingStoreException
public void clear() throws BackingStoreException
clear
BackingStoreException
public int size()
size
size
in interface org.apache.jetspeed.om.common.preference.PreferenceSetComposite
PreferenceSetComposite.size()
public Iterator iterator()
iterator
iterator
in interface org.apache.pluto.om.common.PreferenceSet
PreferenceSet.iterator()
protected boolean arrayContains(String[] array, String value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |