org.dspace.app.xmlui.cocoon
Class SearchLoggerAction
java.lang.Object
org.apache.cocoon.util.AbstractLogEnabled
org.apache.cocoon.acting.AbstractAction
org.dspace.app.xmlui.cocoon.SearchLoggerAction
- All Implemented Interfaces:
- org.apache.cocoon.acting.Action
- Direct Known Subclasses:
- AdvancedSearchLoggerAction, DiscoverySearchLoggerAction, SimpleSearchLoggerAction
public abstract class SearchLoggerAction
- extends org.apache.cocoon.acting.AbstractAction
Fires an event each time a search occurs
- Author:
- Kevin Van de Velde (kevin at atmire dot com), Ben Bosman (ben at atmire dot com), Mark Diggory (markd at atmire dot com)
| Fields inherited from class org.apache.cocoon.acting.AbstractAction |
EMPTY_MAP |
| Fields inherited from interface org.apache.cocoon.acting.Action |
ROLE |
|
Method Summary |
Map |
act(org.apache.cocoon.environment.Redirector redirector,
org.apache.cocoon.environment.SourceResolver resolver,
Map objectModel,
String source,
org.apache.avalon.framework.parameters.Parameters parameters)
|
protected abstract List<String> |
getQueries(org.apache.cocoon.environment.Request request)
|
protected DSpaceObject |
getScope(Context context,
Map objectModel)
Determine the current scope. |
| Methods inherited from class org.apache.cocoon.util.AbstractLogEnabled |
getLogger, setLogger |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchLoggerAction
public SearchLoggerAction()
act
public Map act(org.apache.cocoon.environment.Redirector redirector,
org.apache.cocoon.environment.SourceResolver resolver,
Map objectModel,
String source,
org.apache.avalon.framework.parameters.Parameters parameters)
throws Exception
- Throws:
Exception
getQueries
protected abstract List<String> getQueries(org.apache.cocoon.environment.Request request)
throws SQLException
- Throws:
SQLException
getScope
protected DSpaceObject getScope(Context context,
Map objectModel)
throws SQLException
- Determine the current scope. This may be derived from the current url
handle if present or the scope parameter is given. If no scope is
specified then null is returned.
- Returns:
- The current scope.
- Throws:
SQLException
Copyright © 2012 DuraSpace. All Rights Reserved.