
public interface SecurityConstraintType<T> extends Child<T>, PortletSecurityConstraintCommonType<T,SecurityConstraintType<T>,PortletCollectionType<SecurityConstraintType<T>>,UserDataConstraintType<SecurityConstraintType<T>>>
security-constraintType xsd type| Modifier and Type | Method and Description |
|---|---|
SecurityConstraintType<T> |
displayName(String... values)
Creates for all String objects representing
display-name elements,
a new display-name element |
List<String> |
getAllDisplayName()
Returns all
display-name elements |
String |
getId()
Returns the
id attribute |
PortletCollectionType<SecurityConstraintType<T>> |
getOrCreatePortletCollection()
If not already created, a new
portlet-collection element with the given value will be created. |
UserDataConstraintType<SecurityConstraintType<T>> |
getOrCreateUserDataConstraint()
If not already created, a new
user-data-constraint element with the given value will be created. |
SecurityConstraintType<T> |
id(String id)
Sets the
id attribute |
SecurityConstraintType<T> |
removeAllDisplayName()
Removes the
display-name element |
SecurityConstraintType<T> |
removeId()
Removes the
id attribute |
SecurityConstraintType<T> |
removePortletCollection()
Removes the
portlet-collection element |
SecurityConstraintType<T> |
removeUserDataConstraint()
Removes the
user-data-constraint element |
SecurityConstraintType<T> displayName(String... values)
display-name elements,
a new display-name elementvalues - list of display-name objectsSecurityConstraintTypeList<String> getAllDisplayName()
display-name elementsdisplay-nameSecurityConstraintType<T> removeAllDisplayName()
display-name elementSecurityConstraintTypePortletCollectionType<SecurityConstraintType<T>> getOrCreatePortletCollection()
portlet-collection element with the given value will be created.
Otherwise, the existing portlet-collection element will be returned.PortletCollectionType> SecurityConstraintType<T> removePortletCollection()
portlet-collection elementSecurityConstraintTypeUserDataConstraintType<SecurityConstraintType<T>> getOrCreateUserDataConstraint()
user-data-constraint element with the given value will be created.
Otherwise, the existing user-data-constraint element will be returned.UserDataConstraintType> SecurityConstraintType<T> removeUserDataConstraint()
user-data-constraint elementSecurityConstraintTypeSecurityConstraintType<T> id(String id)
id attributeid - the value for the attribute idSecurityConstraintTypeString getId()
id attributeidSecurityConstraintType<T> removeId()
id attributeSecurityConstraintTypeCopyright © 2025 JBoss by Red Hat. All rights reserved.