public interface PortletPreferencesType<T> extends Child<T>, PortletPortletPreferencesCommonType<T,PortletPreferencesType<T>,PreferenceType<PortletPreferencesType<T>>>
portlet-preferencesType
xsd typeModifier 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.preference
PreferenceType<PortletPreferencesType<T>> createPreference()
preference
elementPreferenceType>
List<PreferenceType<PortletPreferencesType<T>>> getAllPreference()
preference
elementspreference
PortletPreferencesType<T> removeAllPreference()
preference
elementsPreferenceType>
PortletPreferencesType<T> preferencesValidator(String preferencesValidator)
preferences-validator
elementpreferencesValidator
- the value for the element preferences-validator
PortletPreferencesType
String getPreferencesValidator()
preferences-validator
elementpreferences-validator
PortletPreferencesType<T> removePreferencesValidator()
preferences-validator
elementPortletPreferencesType
PortletPreferencesType<T> id(String id)
id
attributeid
- the value for the attribute id
PortletPreferencesType
String getId()
id
attributeid
PortletPreferencesType<T> removeId()
id
attributePortletPreferencesType
Copyright © 2016 JBoss by Red Hat. All rights reserved.