|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MethodPermissionType<T>
This interface defines the contract for the method-permissionType
xsd type
Original Documentation:
The method-permissionType specifies that one or more
security roles are allowed to invoke one or more enterprise
bean methods. The method-permissionType consists of an
optional description, a list of security role names or an
indicator to state that the method is unchecked for
authorization, and a list of method elements.
The security roles used in the method-permissionType
must be defined in the security-role elements of the
deployment descriptor, and the methods must be methods
defined in the enterprise bean's business, home, component
and/or web service endpoint interfaces.
Method Summary | |
---|---|
java.util.List<java.lang.String> |
getDescriptionList()
Returns all description elements |
java.util.List<MethodType<MethodPermissionType<T>>> |
getMethodList()
Returns all method elements |
java.util.List<java.lang.String> |
getRoleNameList()
Returns all role-name elements |
java.lang.Boolean |
isUnchecked()
|
MethodType<MethodPermissionType<T>> |
method()
Returns the method element |
MethodPermissionType<T> |
removeAllDescription()
Removes the description element |
MethodPermissionType<T> |
removeAllMethod()
Removes all method elements |
MethodPermissionType<T> |
removeAllRoleName()
Removes the role-name element |
MethodPermissionType<T> |
setDescription(java.lang.String description)
Creates a new description element |
MethodPermissionType<T> |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
MethodPermissionType<T> |
setRoleName(java.lang.String roleName)
Creates a new role-name element |
MethodPermissionType<T> |
setRoleNameList(java.lang.String... values)
Creates for all String objects representing role-name elements,
a new role-name element |
MethodPermissionType<T> |
unchecked()
|
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
MethodPermissionType<T> setDescription(java.lang.String description)
description
element
MethodPermissionType
MethodPermissionType<T> setDescriptionList(java.lang.String... values)
description
elements,
a new description
element
list
- of description
objects
MethodPermissionType
MethodPermissionType<T> removeAllDescription()
description
element
MethodPermissionType
java.util.List<java.lang.String> getDescriptionList()
description
elements
description
MethodPermissionType<T> removeAllMethod()
method
elements
MethodPermissionType
MethodType<MethodPermissionType<T>> method()
method
element
method
java.util.List<MethodType<MethodPermissionType<T>>> getMethodList()
method
elements
method
MethodPermissionType<T> setRoleName(java.lang.String roleName)
role-name
element
MethodPermissionType
MethodPermissionType<T> setRoleNameList(java.lang.String... values)
role-name
elements,
a new role-name
element
list
- of role-name
objects
MethodPermissionType
MethodPermissionType<T> removeAllRoleName()
role-name
element
MethodPermissionType
java.util.List<java.lang.String> getRoleNameList()
role-name
elements
role-name
MethodPermissionType<T> unchecked()
java.lang.Boolean isUnchecked()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |