|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.ejbjar31.MethodPermissionTypeImpl<T>
public class MethodPermissionTypeImpl<T>
This class implements 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.
Constructor Summary | |
---|---|
MethodPermissionTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
MethodPermissionTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
|
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()
|
T |
up()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MethodPermissionTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node)
public MethodPermissionTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node, org.jboss.shrinkwrap.descriptor.spi.Node childNode)
Method Detail |
---|
public T up()
up
in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
public MethodPermissionType<T> setDescription(java.lang.String description)
description
element
setDescription
in interface MethodPermissionType<T>
MethodPermissionType
public MethodPermissionType<T> setDescriptionList(java.lang.String... values)
description
elements,
a new description
element
setDescriptionList
in interface MethodPermissionType<T>
list
- of description
objects
MethodPermissionType
public MethodPermissionType<T> removeAllDescription()
description
element
removeAllDescription
in interface MethodPermissionType<T>
MethodPermissionType
public java.util.List<java.lang.String> getDescriptionList()
description
elements
getDescriptionList
in interface MethodPermissionType<T>
description
public MethodPermissionType<T> removeAllMethod()
method
elements
removeAllMethod
in interface MethodPermissionType<T>
MethodPermissionType
public MethodType<MethodPermissionType<T>> method()
method
element
method
in interface MethodPermissionType<T>
method
public java.util.List<MethodType<MethodPermissionType<T>>> getMethodList()
method
elements
getMethodList
in interface MethodPermissionType<T>
method
public MethodPermissionType<T> setRoleName(java.lang.String roleName)
role-name
element
setRoleName
in interface MethodPermissionType<T>
MethodPermissionType
public MethodPermissionType<T> setRoleNameList(java.lang.String... values)
role-name
elements,
a new role-name
element
setRoleNameList
in interface MethodPermissionType<T>
list
- of role-name
objects
MethodPermissionType
public MethodPermissionType<T> removeAllRoleName()
role-name
element
removeAllRoleName
in interface MethodPermissionType<T>
MethodPermissionType
public java.util.List<java.lang.String> getRoleNameList()
role-name
elements
getRoleNameList
in interface MethodPermissionType<T>
role-name
public MethodPermissionType<T> unchecked()
unchecked
in interface MethodPermissionType<T>
public java.lang.Boolean isUnchecked()
isUnchecked
in interface MethodPermissionType<T>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |