
public interface PortletPreferencesType<T> extends Child<T>, PortletPortletPreferencesCommonType<T,PortletPreferencesType<T>,PreferenceType<PortletPreferencesType<T>>>
portlet-preferencesType xsd type| Modifier and Type | Method and Description |
|---|---|
PreferenceType<PortletPreferencesType<T>> |
createPreference()
Creates a new
preference element |
List<PreferenceType<PortletPreferencesType<T>>> |
getAllPreference()
Returns all
preference elements |
String |
getId()
Returns the
id attribute |
PreferenceType<PortletPreferencesType<T>> |
getOrCreatePreference()
If not already created, a new
preference element will be created and returned. |
String |
getPreferencesValidator()
Returns the
preferences-validator element |
PortletPreferencesType<T> |
id(String id)
Sets the
id attribute |
PortletPreferencesType<T> |
preferencesValidator(String preferencesValidator)
Sets the
preferences-validator element |
PortletPreferencesType<T> |
removeAllPreference()
Removes all
preference elements |
PortletPreferencesType<T> |
removeId()
Removes the
id attribute |
PortletPreferencesType<T> |
removePreferencesValidator()
Removes the
preferences-validator element |
PreferenceType<PortletPreferencesType<T>> getOrCreatePreference()
preference element will be created and returned.
Otherwise, the first existing preference element will be returned.preferencePreferenceType<PortletPreferencesType<T>> createPreference()
preference elementPreferenceType> List<PreferenceType<PortletPreferencesType<T>>> getAllPreference()
preference elementspreferencePortletPreferencesType<T> removeAllPreference()
preference elementsPreferenceType> PortletPreferencesType<T> preferencesValidator(String preferencesValidator)
preferences-validator elementpreferencesValidator - the value for the element preferences-validatorPortletPreferencesTypeString getPreferencesValidator()
preferences-validator elementpreferences-validatorPortletPreferencesType<T> removePreferencesValidator()
preferences-validator elementPortletPreferencesTypePortletPreferencesType<T> id(String id)
id attributeid - the value for the attribute idPortletPreferencesTypeString getId()
id attributeidPortletPreferencesType<T> removeId()
id attributePortletPreferencesTypeCopyright © 2025 JBoss by Red Hat. All rights reserved.