|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.figure8.join.control.config.OperationConstraintConfig
public class OperationConstraintConfig
A JavaBean reprenseting configuraiton information about security constraints
on business operation execution.
An operation represents a business method of an <action>
element from a Struts application module configuration file.
Constructor Summary | |
---|---|
OperationConstraintConfig()
Creates a new instance of OperationConstraintConfig |
Method Summary | |
---|---|
void |
addRole(RoleConfig role)
Add a new RoleConfig instance to the set associated. |
java.lang.String |
getName()
|
java.util.Collection |
getRoles()
Return the list of security roles allowed to request the associated operation if any; otherwise return an empty collection. |
void |
setName(java.lang.String name)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OperationConstraintConfig()
Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- This operation name within actionpublic void addRole(RoleConfig role)
RoleConfig
instance to the set associated.
role
- The new role configuration instance to be addedpublic java.util.Collection getRoles()
RoleConfig
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |