Keel 2.1RC2

org.keel.apps.security.models
Class OperationSecurity

java.lang.Object
  extended byorg.keel.services.model.StandardModel
      extended byorg.keel.services.model.StandardLogEnabledModel
          extended byorg.keel.services.model.SecurableStandardLogEnabledModel
              extended byorg.keel.apps.security.models.OperationSecurity
All Implemented Interfaces:
Configurable, Contextualizable, LogEnabled, Model, Securable

public class OperationSecurity
extends SecurableStandardLogEnabledModel
implements Contextualizable

Author:
sdutt To change this generated comment edit the template variable "typecomment": Window>Preferences>Java>Templates. To enable and disable the creation of type comments go to Window>Preferences>Java>Code Generation.

Field Summary
private  Context context
           
 
Fields inherited from class org.keel.services.model.SecurableStandardLogEnabledModel
 
Fields inherited from class org.keel.services.model.StandardLogEnabledModel
log
 
Fields inherited from class org.keel.services.model.StandardModel
configuration
 
Fields inherited from interface org.keel.services.model.Model
ROLE
 
Constructor Summary
OperationSecurity()
           
 
Method Summary
 void contextualize(Context context)
          Pass the Context to the component.
 ModelResponse execute(ModelRequest req)
           
private  PersistentFactory getPersistentFactory(ModelRequest req)
          Obtains the PersistentFactory
private  ModelResponse processOperationAdd(ModelRequest req, ModelResponse res)
           
private  java.util.Map verifyUserInput(ModelRequest req)
           
 
Methods inherited from class org.keel.services.model.SecurableStandardLogEnabledModel
getAuthorizationManager, setAuthorizationManager
 
Methods inherited from class org.keel.services.model.StandardLogEnabledModel
enableLogging
 
Methods inherited from class org.keel.services.model.StandardModel
configure, getConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

private Context context
Constructor Detail

OperationSecurity

public OperationSecurity()
Method Detail

execute

public ModelResponse execute(ModelRequest req)
                      throws ModelException
Specified by:
execute in interface Model
Throws:
ModelException
See Also:
Model.execute(ModelRequest)

processOperationAdd

private ModelResponse processOperationAdd(ModelRequest req,
                                          ModelResponse res)
                                   throws ModelException
Throws:
ModelException

verifyUserInput

private java.util.Map verifyUserInput(ModelRequest req)
                               throws ModelException
Throws:
ModelException

getPersistentFactory

private PersistentFactory getPersistentFactory(ModelRequest req)
                                        throws ModelException
Obtains the PersistentFactory

Throws:
ModelException

contextualize

public void contextualize(Context context)
                   throws ContextException
Description copied from interface: Contextualizable
Pass the Context to the component. This method is called after the Loggable.setLogger() (if present) method and before any other method.

Specified by:
contextualize in interface Contextualizable
Parameters:
context - the context. Must not be null.
Throws:
ContextException - if context is invalid
See Also:
Contextualizable.contextualize(org.apache.avalon.framework.context.Context)

Keel 2.1RC2

Please see keelframework.org for information about new Keel releases.