org.apache.jackrabbit.standalone.cli.info
Class LsCollectedItems
java.lang.Object
org.apache.jackrabbit.standalone.cli.info.AbstractLs
org.apache.jackrabbit.standalone.cli.info.AbstractLsItems
org.apache.jackrabbit.standalone.cli.info.LsCollectedItems
- All Implemented Interfaces:
- org.apache.commons.chain.Command
public class LsCollectedItems
- extends AbstractLsItems
Lists collected Item
s.
This Command
looks for an Iterator
under the
given Context
variable and lists its Items.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LsCollectedItems
public LsCollectedItems()
getFromKey
public String getFromKey()
- Returns:
- the context variable
setFromKey
public void setFromKey(String from)
- Sets the context variable
- Parameters:
from
- from key to set
getItems
protected Iterator getItems(org.apache.commons.chain.Context ctx)
throws CommandException,
RepositoryException
-
- Specified by:
getItems
in class AbstractLsItems
- 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
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.