org.apache.jackrabbit.command.info
Class LsNodes

java.lang.Object
  extended byorg.apache.jackrabbit.command.info.AbstractLs
      extended byorg.apache.jackrabbit.command.info.AbstractLsNodes
          extended byorg.apache.jackrabbit.command.info.LsNodes
All Implemented Interfaces:
org.apache.commons.chain.Command

public class LsNodes
extends AbstractLsNodes

List the Nodes under the current working Node that match the given pattern.


Field Summary
 
Fields inherited from class org.apache.jackrabbit.command.info.AbstractLs
longWidth
 
Constructor Summary
LsNodes()
           
 
Method Summary
protected  Iterator getNodes(org.apache.commons.chain.Context ctx)
          
 String getPatternKey()
           
 void setPatternKey(String patternKey)
           
 
Methods inherited from class org.apache.jackrabbit.command.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.command.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

LsNodes

public LsNodes()
Method Detail

getNodes

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

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

getPatternKey

public String getPatternKey()
Returns:
the pattern key

setPatternKey

public void setPatternKey(String patternKey)
Parameters:
patternKey - the pattern key to set


Copyright © 2005 . All Rights Reserved.