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
-
-
Field Summary
-
Fields inherited from class org.apache.jackrabbit.standalone.cli.info.AbstractLs
longWidth
-
-
Constructor Summary
Constructors Constructor Description AbstractLsItems()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
execute(org.apache.commons.chain.Context ctx)
protected abstract Iterator
getItems(org.apache.commons.chain.Context ctx)
-
Methods inherited from class org.apache.jackrabbit.standalone.cli.info.AbstractLs
getDefaultMaxItems, getMaxItems, getMaxItemsKey, isPath, printFooter, setDefaultMaxItems, setMaxItemsKey, setPath
-
-
-
-
Method Detail
-
getItems
protected abstract Iterator getItems(org.apache.commons.chain.Context ctx) throws CommandException, RepositoryException
- Parameters:
ctx
- theContext
- Returns:
- Iterator containing the Items to list
- Throws:
CommandException
- if an errors occursRepositoryException
- if the currentRepository
throws aRepositoryException
-
-