|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface to represent a preferences object that is witable. This interface provides methods for the purpose of creating and adding preference objects to a preferences object.
Method Summary | |
EbiPortletPreference |
createPreference(String name,
String dataType,
boolean readOnly)
Factory method to create a new EbiPortletPreference object. |
EbiPortletPreference |
overridePreference(String name)
Creates an override of the preference at a level higher in the hierarchy, and adds it to the current level's preference store. |
void |
removePreference(EbiPortletPreference prefToRemove)
Removes a preference from the preference collection. |
Methods implemented from interface com.novell.afw.portlet.api.EbiPortletPreferences |
getAllPreferences,
getDisplayableXML,
getParentPreferences,
getPreference,
getPreferenceMap,
isPreferenceInherited,
toXML |
Method Detail |
public EbiPortletPreference createPreference(String name, String dataType, boolean readOnly) throws EboItemExistenceException
name
- String name of the preference.dataType
- String type of the preference to create. Use one of the constants defined
on EbiPortletPreference for this value.readOnly
- boolean false if the preference should be allowed to be modified.public EbiPortletPreference overridePreference(String name) throws EboItemExistenceException
name
- String name of the preference to override.public void removePreference(EbiPortletPreference prefToRemove)
|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |