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

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

public abstract class AbstractLsNodes
extends AbstractLs

List nodes.
The following attributes will be used in order to customize the output:


Field Summary
 
Fields inherited from class org.apache.jackrabbit.standalone.cli.info.AbstractLs
longWidth
 
Constructor Summary
AbstractLsNodes()
           
 
Method Summary
 boolean execute(org.apache.commons.chain.Context ctx)
          
 String getHasLockKey()
           
 String getLockableKey()
           
 String getLockedKey()
           
 String getLockTokenKey()
           
 String getMixinKey()
           
 String getModifiedKey()
           
 String getNew_Key()
           
protected abstract  Iterator getNodes(org.apache.commons.chain.Context ctx)
           
 String getNodesSizeKey()
           
 String getPathKey()
           
 String getPropertiesSizeKey()
           
 String getReferenceableKey()
           
 String getReferencesSizeKey()
           
 String getUuidKey()
           
 String getVersionableKey()
           
 void setHasLockKey(String hasLockKey)
           
 void setLockableKey(String lockableKey)
           
 void setLockedKey(String lockedKey)
           
 void setLockTokenKey(String lockTokenKey)
           
 void setMixinKey(String mixinKey)
           
 void setModifiedKey(String modifiedKey)
           
 void setNew_Key(String new_Key)
           
 void setNodesSizeKey(String nodesSizeKey)
           
 void setPathKey(String pathKey)
           
 void setPropertiesSizeKey(String propertiesSizeKey)
           
 void setReferenceableKey(String referenceableKey)
           
 void setReferencesSizeKey(String referencesSizeKey)
           
 void setUuidKey(String uuidKey)
           
 void setVersionableKey(String versionableKey)
           
 
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

AbstractLsNodes

public AbstractLsNodes()
Method Detail

execute

public final boolean execute(org.apache.commons.chain.Context ctx)
                      throws Exception

Throws:
Exception

getNodes

protected abstract Iterator getNodes(org.apache.commons.chain.Context ctx)
                              throws CommandException,
                                     RepositoryException
Parameters:
ctx - the Context
Returns:
the Nodes to show
Throws:
RepositoryException - if the current working Repository throws a RepositoryException
CommandException

getHasLockKey

public String getHasLockKey()
Returns:
Returns the hasLockKey.

setHasLockKey

public void setHasLockKey(String hasLockKey)
Parameters:
hasLockKey - The hasLockKey to set.

getLockableKey

public String getLockableKey()
Returns:
Returns the lockableKey.

setLockableKey

public void setLockableKey(String lockableKey)
Parameters:
lockableKey - The lockableKey to set.

getLockedKey

public String getLockedKey()
Returns:
Returns the lockedKey.

setLockedKey

public void setLockedKey(String lockedKey)
Parameters:
lockedKey - The lockedKey to set.

getMixinKey

public String getMixinKey()
Returns:
Returns the mixinKey.

setMixinKey

public void setMixinKey(String mixinKey)
Parameters:
mixinKey - The mixinKey to set.

getModifiedKey

public String getModifiedKey()
Returns:
Returns the modifiedKey.

setModifiedKey

public void setModifiedKey(String modifiedKey)
Parameters:
modifiedKey - The modifiedKey to set.

getNew_Key

public String getNew_Key()
Returns:
Returns the new_Key.

setNew_Key

public void setNew_Key(String new_Key)
Parameters:
new_Key - The new_Key to set.

getNodesSizeKey

public String getNodesSizeKey()
Returns:
Returns the nodesSizeKey.

setNodesSizeKey

public void setNodesSizeKey(String nodesSizeKey)
Parameters:
nodesSizeKey - The nodesSizeKey to set.

getPathKey

public String getPathKey()
Returns:
Returns the pathKey.

setPathKey

public void setPathKey(String pathKey)
Parameters:
pathKey - The pathKey to set.

getPropertiesSizeKey

public String getPropertiesSizeKey()
Returns:
Returns the propertiesSizeKey.

setPropertiesSizeKey

public void setPropertiesSizeKey(String propertiesSizeKey)
Parameters:
propertiesSizeKey - The propertiesSizeKey to set.

getReferenceableKey

public String getReferenceableKey()
Returns:
Returns the referenceableKey.

setReferenceableKey

public void setReferenceableKey(String referenceableKey)
Parameters:
referenceableKey - The referenceableKey to set.

getReferencesSizeKey

public String getReferencesSizeKey()
Returns:
Returns the referencesSizeKey.

setReferencesSizeKey

public void setReferencesSizeKey(String referencesSizeKey)
Parameters:
referencesSizeKey - The referencesSizeKey to set.

getUuidKey

public String getUuidKey()
Returns:
Returns the uuidKey.

setUuidKey

public void setUuidKey(String uuidKey)
Parameters:
uuidKey - The uuidKey to set.

getVersionableKey

public String getVersionableKey()
Returns:
Returns the versionableKey.

setVersionableKey

public void setVersionableKey(String versionableKey)
Parameters:
versionableKey - The versionableKey to set.

getLockTokenKey

public String getLockTokenKey()
Returns:
the lock token key

setLockTokenKey

public void setLockTokenKey(String lockTokenKey)
Parameters:
lockTokenKey - the lock token to set


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