public interface SecurityConstraintType<T> extends Child<T>, PortletSecurityConstraintCommonType<T,SecurityConstraintType<T>,PortletCollectionType<SecurityConstraintType<T>>,UserDataConstraintType<SecurityConstraintType<T>>>
security-constraintType
xsd typeModifier 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
objectsSecurityConstraintType
List<String> getAllDisplayName()
display-name
elementsdisplay-name
SecurityConstraintType<T> removeAllDisplayName()
display-name
elementSecurityConstraintType
PortletCollectionType<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
elementSecurityConstraintType
UserDataConstraintType<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
elementSecurityConstraintType
SecurityConstraintType<T> id(String id)
id
attributeid
- the value for the attribute id
SecurityConstraintType
String getId()
id
attributeid
SecurityConstraintType<T> removeId()
id
attributeSecurityConstraintType
Copyright © 2019 JBoss by Red Hat. All rights reserved.