org.figure8.join.control.config
Class OperationConstraintConfig

java.lang.Object
  extended by org.figure8.join.control.config.OperationConstraintConfig
All Implemented Interfaces:
java.io.Serializable

public class OperationConstraintConfig
extends java.lang.Object
implements java.io.Serializable

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.

Version:
$Revision: 1.1 $
Author:
Laurent Broudoux
See Also:
Serialized Form

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

OperationConstraintConfig

public OperationConstraintConfig()
Creates a new instance of OperationConstraintConfig

Method Detail

getName

public java.lang.String getName()
Returns:
This operation name within action

setName

public void setName(java.lang.String name)
Parameters:
name - This operation name within action

addRole

public void addRole(RoleConfig role)
Add a new RoleConfig instance to the set associated.

Parameters:
role - The new role configuration instance to be added

getRoles

public java.util.Collection getRoles()
Return the list of security roles allowed to request the associated operation if any; otherwise return an empty collection.

Returns:
Collection of RoleConfig


Copyright © 2005-2008 Join. All Rights Reserved.