org.apache.jackrabbit.standalone.cli.info
Class AbstractLsItems
java.lang.Object
org.apache.jackrabbit.standalone.cli.info.AbstractLs
org.apache.jackrabbit.standalone.cli.info.AbstractLsItems
- All Implemented Interfaces:
- org.apache.commons.chain.Command
- Direct Known Subclasses:
- LsCollectedItems, LsItems
public abstract class AbstractLsItems
- extends AbstractLs
List items superclass
Method Summary |
boolean |
execute(org.apache.commons.chain.Context ctx)
|
protected abstract Iterator |
getItems(org.apache.commons.chain.Context ctx)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractLsItems
public AbstractLsItems()
getItems
protected abstract Iterator getItems(org.apache.commons.chain.Context ctx)
throws CommandException,
RepositoryException
- Parameters:
ctx
- the Context
- Returns:
- Iterator containing the Items to list
- Throws:
CommandException
- if an errors occurs
RepositoryException
- if the current Repository
throws a
RepositoryException
execute
public final boolean execute(org.apache.commons.chain.Context ctx)
throws Exception
-
- Throws:
Exception
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.