Package | Description |
---|---|
org.jboss.shrinkwrap.descriptor.api.portletapp20 |
Provides the interfaces and enumeration types as defined in the schema
|
Modifier and Type | Method and Description |
---|---|
PortletPreferencesType<PortletType<T>> |
PortletType.getOrCreatePortletPreferences()
If not already created, a new
portlet-preferences element with the given value will be created. |
PortletPreferencesType<T> |
PortletPreferencesType.id(String id)
Sets the
id attribute |
PortletPreferencesType<T> |
PortletPreferencesType.preferencesValidator(String preferencesValidator)
Sets the
preferences-validator element |
PortletPreferencesType<T> |
PortletPreferencesType.removeAllPreference()
Removes all
preference elements |
PortletPreferencesType<T> |
PortletPreferencesType.removeId()
Removes the
id attribute |
PortletPreferencesType<T> |
PortletPreferencesType.removePreferencesValidator()
Removes the
preferences-validator element |
Modifier and Type | Method and Description |
---|---|
PreferenceType<PortletPreferencesType<T>> |
PortletPreferencesType.createPreference()
Creates a new
preference element |
List<PreferenceType<PortletPreferencesType<T>>> |
PortletPreferencesType.getAllPreference()
Returns all
preference elements |
PreferenceType<PortletPreferencesType<T>> |
PortletPreferencesType.getOrCreatePreference()
If not already created, a new
preference element will be created and returned. |
Copyright © 2017 JBoss by Red Hat. All rights reserved.