|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SecurityRoleRefType<T>
This interface defines the contract for the security-role-refType xsd type
Original Documentation:
The security-role-refType contains the declaration of a
security role reference in a component's or a
Deployment Component's code. The declaration consists of an
optional description, the security role name used in the
code, and an optional link to a security role. If the
security role is not specified, the Deployer must choose an
appropriate security role.
| Method Summary | |
|---|---|
java.util.List<java.lang.String> |
getDescriptionList()
Returns all description elements |
java.lang.String |
getRoleLink()
Returns the role-link element |
java.lang.String |
getRoleName()
Returns the role-name element |
SecurityRoleRefType<T> |
removeAllDescription()
Removes the description element |
SecurityRoleRefType<T> |
removeRoleLink()
Removes the role-link element |
SecurityRoleRefType<T> |
removeRoleName()
Removes the role-name element |
SecurityRoleRefType<T> |
setDescription(java.lang.String description)
Creates a new description element |
SecurityRoleRefType<T> |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
SecurityRoleRefType<T> |
setRoleLink(java.lang.String roleLink)
If not already created, a new role-link element with the given value will be created. |
SecurityRoleRefType<T> |
setRoleName(java.lang.String roleName)
If not already created, a new role-name element with the given value will be created. |
| Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
|---|
up |
| Method Detail |
|---|
SecurityRoleRefType<T> setDescription(java.lang.String description)
description element
SecurityRoleRefTypeSecurityRoleRefType<T> setDescriptionList(java.lang.String... values)
description elements,
a new description element
list - of description objects
SecurityRoleRefTypeSecurityRoleRefType<T> removeAllDescription()
description element
SecurityRoleRefTypejava.util.List<java.lang.String> getDescriptionList()
description elements
descriptionSecurityRoleRefType<T> setRoleName(java.lang.String roleName)
role-name element with the given value will be created.
Otherwise, the existing role-name element will be updated with the given value.
SecurityRoleRefTypeSecurityRoleRefType<T> removeRoleName()
role-name element
SecurityRoleRefTypejava.lang.String getRoleName()
role-name element
role-nameSecurityRoleRefType<T> setRoleLink(java.lang.String roleLink)
role-link element with the given value will be created.
Otherwise, the existing role-link element will be updated with the given value.
SecurityRoleRefTypeSecurityRoleRefType<T> removeRoleLink()
role-link element
SecurityRoleRefTypejava.lang.String getRoleLink()
role-link element
role-link
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||