|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PortletPreferencesType<T>
This interface defines the contract for the portlet-preferencesType
xsd type
Method Summary | |
---|---|
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 |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
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
element
PreferenceType>
List<PreferenceType<PortletPreferencesType<T>>> getAllPreference()
preference
elements
preference
PortletPreferencesType<T> removeAllPreference()
preference
elements
PreferenceType>
PortletPreferencesType<T> preferencesValidator(String preferencesValidator)
preferences-validator
element
preferencesValidator
- the value for the element preferences-validator
PortletPreferencesType
String getPreferencesValidator()
preferences-validator
element
preferences-validator
PortletPreferencesType<T> removePreferencesValidator()
preferences-validator
element
PortletPreferencesType
PortletPreferencesType<T> id(String id)
id
attribute
id
- the value for the attribute id
PortletPreferencesType
String getId()
id
attribute
id
PortletPreferencesType<T> removeId()
id
attribute
PortletPreferencesType
|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |