com.sun.rave.web.ui.util
Interface PermissionChecker.Function

All Known Implementing Classes:
PermissionChecker.BooleanFunction, PermissionChecker.StringFunction
Enclosing class:
PermissionChecker

public static interface PermissionChecker.Function

This class must be implemented by all user defined Functions.

In addition to these methods, a toString() should be implemented that reconstructs the original format of the function (i.e. function_name(arg1,arg2...)).


Method Summary
 boolean evaluate()
          This method is invoked by the PermissionCheck to evaluate the function to true or false.
 java.util.List getArguments()
          This method returns the List of arguments.
 void setArguments(java.util.List args)
          This method is invoked be the PermissionChecker to set the arguments.
 

Method Detail

getArguments

java.util.List getArguments()
This method returns the List of arguments.


setArguments

void setArguments(java.util.List args)
This method is invoked be the PermissionChecker to set the arguments.


evaluate

boolean evaluate()
This method is invoked by the PermissionCheck to evaluate the function to true or false.