org.apache.lenya.cms.cocoon.acting
Class ReservedCheckoutTestAction

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.acting.AbstractAction
          extended by org.apache.lenya.cms.cocoon.acting.RevisionControllerAction
              extended by org.apache.lenya.cms.cocoon.acting.ReservedCheckoutTestAction
All Implemented Interfaces:
org.apache.avalon.framework.component.Component, org.apache.avalon.framework.logger.LogEnabled, org.apache.cocoon.acting.Action

public class ReservedCheckoutTestAction
extends RevisionControllerAction

An action that tests if a document is already checked out by a given user. If it isn't, a check out will be tried.


Field Summary
 
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP
 
Fields inherited from interface org.apache.cocoon.acting.Action
ROLE
 
Constructor Summary
ReservedCheckoutTestAction()
           
 
Method Summary
 java.util.Map act(org.apache.cocoon.environment.Redirector redirector, org.apache.cocoon.environment.SourceResolver resolver, java.util.Map objectModel, java.lang.String src, org.apache.avalon.framework.parameters.Parameters parameters)
          (non-Javadoc)
 
Methods inherited from class org.apache.lenya.cms.cocoon.acting.RevisionControllerAction
getDocument, getFilename, getRc, getUsername
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReservedCheckoutTestAction

public ReservedCheckoutTestAction()
Method Detail

act

public java.util.Map act(org.apache.cocoon.environment.Redirector redirector,
                         org.apache.cocoon.environment.SourceResolver resolver,
                         java.util.Map objectModel,
                         java.lang.String src,
                         org.apache.avalon.framework.parameters.Parameters parameters)
                  throws java.lang.Exception
(non-Javadoc)

Specified by:
act in interface org.apache.cocoon.acting.Action
Overrides:
act in class RevisionControllerAction
Parameters:
redirector - DOCUMENT ME!
resolver - DOCUMENT ME!
objectModel - DOCUMENT ME!
src - DOCUMENT ME!
parameters - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
java.lang.Exception - DOCUMENT ME!
See Also:
Action.act(org.apache.cocoon.environment.Redirector, org.apache.cocoon.environment.SourceResolver, java.util.Map, java.lang.String, org.apache.avalon.framework.parameters.Parameters)


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.