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

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

public class LsCollectedNodes
extends AbstractLsNodes

Lists collected Nodes.
This Command looks for an Iterator under the given Context variable and lists its Nodes.


Field Summary
 
Fields inherited from class org.apache.jackrabbit.standalone.cli.info.AbstractLs
longWidth
 
Constructor Summary
LsCollectedNodes()
           
 
Method Summary
 String getFromKey()
           
protected  Iterator getNodes(org.apache.commons.chain.Context ctx)
          
 void setFromKey(String contextVariable)
          Sets the Context variable
 
Methods inherited from class org.apache.jackrabbit.standalone.cli.info.AbstractLsNodes
execute, getHasLockKey, getLockableKey, getLockedKey, getLockTokenKey, getMixinKey, getModifiedKey, getNew_Key, getNodesSizeKey, getPathKey, getPropertiesSizeKey, getReferenceableKey, getReferencesSizeKey, getUuidKey, getVersionableKey, setHasLockKey, setLockableKey, setLockedKey, setLockTokenKey, setMixinKey, setModifiedKey, setNew_Key, setNodesSizeKey, setPathKey, setPropertiesSizeKey, setReferenceableKey, setReferencesSizeKey, setUuidKey, setVersionableKey
 
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

LsCollectedNodes

public LsCollectedNodes()
Method Detail

getFromKey

public String getFromKey()
Returns:
the context variable

setFromKey

public void setFromKey(String contextVariable)
Sets the Context variable

Parameters:
contextVariable - the context variable

getNodes

protected Iterator getNodes(org.apache.commons.chain.Context ctx)
                     throws CommandException,
                            RepositoryException

Specified by:
getNodes in class AbstractLsNodes
Parameters:
ctx - the Context
Returns:
the Nodes to show
Throws:
CommandException
RepositoryException - if the current working Repository throws a RepositoryException


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.