org.apache.jackrabbit.standalone.cli.info
Class LsItems

java.lang.Object
  extended by org.apache.jackrabbit.standalone.cli.info.AbstractLs
      extended by org.apache.jackrabbit.standalone.cli.info.AbstractLsItems
          extended by org.apache.jackrabbit.standalone.cli.info.LsItems
All Implemented Interfaces:
org.apache.commons.chain.Command

public class LsItems
extends AbstractLsItems

List items


Field Summary
 
Fields inherited from class org.apache.jackrabbit.standalone.cli.info.AbstractLs
longWidth
 
Constructor Summary
LsItems()
           
 
Method Summary
protected  Iterator getItems(org.apache.commons.chain.Context ctx)
          
 String getPatternKey()
           
 void setPatternKey(String pattern)
           
 
Methods inherited from class org.apache.jackrabbit.standalone.cli.info.AbstractLsItems
execute
 
Methods inherited from class org.apache.jackrabbit.standalone.cli.info.AbstractLs
getDefaultMaxItems, getMaxItems, getMaxItemsKey, isPath, printFooter, setDefaultMaxItems, setMaxItemsKey, setPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LsItems

public LsItems()
Method Detail

getPatternKey

public String getPatternKey()
Returns:
the name pattern

setPatternKey

public void setPatternKey(String pattern)
Parameters:
pattern - the pattern

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.