DescriptorBean
, SettableBean
, StandardInterface
PolicyAuxiliaryMBean
, PolicyEditorMBean
public interface PolicyReaderMBean extends StandardInterface, DescriptorBean
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getPolicyExpression(java.lang.String resourceId) |
Returns the expression of an existing policy.
|
boolean |
policyExists(java.lang.String resourceId) |
Indicates whether a policy exists for a resource.
|
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener
getName
boolean policyExists(java.lang.String resourceId)
resourceId
- - The resource within which this method searches for a policy.
A null value will trigger NullPointerException.java.lang.String getPolicyExpression(java.lang.String resourceId) throws NotFoundException
resourceId
- - The resource for which this method returns the policy expression.
A null value will trigger NullPointerException.NotFoundException