public class MethodPermissionMetaData extends IdMetaDataImplWithDescriptions
| Constructor and Description |
|---|
MethodPermissionMetaData()
Create a new MethodPermissionMetaData.
|
| Modifier and Type | Method and Description |
|---|---|
MethodPermissionMetaData |
clone() |
MethodPermissionMetaData |
getMethodPermissionByEjbName(String ejbName)
Get the method permissions for an ejb
|
MethodsMetaData |
getMethods()
Get the methods.
|
Set<String> |
getRoles()
Get the roles.
|
EmptyMetaData |
getUnchecked()
Get the unchecked.
|
boolean |
isNotChecked()
Get the unchecked.
|
boolean |
isNotChecked(String methodName,
Class[] params,
MethodInterfaceType interfaceType)
Whether this is not checked
|
boolean |
matches(String methodName,
Class[] params,
MethodInterfaceType interfaceType)
Whether this matches
|
void |
setMethods(MethodsMetaData methods)
Set the methods.
|
void |
setRoles(Set<String> roles)
Set the roles.
|
void |
setUnchecked(EmptyMetaData unchecked)
Set the unchecked.
|
String |
toString() |
getDescriptions, setDescriptionsequals, getId, hashCode, setIdpublic MethodPermissionMetaData()
public boolean isNotChecked()
public EmptyMetaData getUnchecked()
public void setUnchecked(EmptyMetaData unchecked)
unchecked - the unchecked.public MethodsMetaData getMethods()
public void setMethods(MethodsMetaData methods)
methods - the methods.IllegalArgumentException - for a null methodspublic MethodPermissionMetaData getMethodPermissionByEjbName(String ejbName)
ejbName - the ejb nameIllegalArgumentException - for a null ejb namepublic MethodPermissionMetaData clone()
clone in class IdMetaDataImplpublic boolean matches(String methodName, Class[] params, MethodInterfaceType interfaceType)
methodName - the method nameparams - the parametersinterfaceType - the interface typepublic boolean isNotChecked(String methodName, Class[] params, MethodInterfaceType interfaceType)
methodName - the method nameparams - the parametersinterfaceType - the interface typeCopyright © 2019 JBoss by Red Hat. All rights reserved.