Class AbstractLsNodes
- java.lang.Object
-
- org.apache.jackrabbit.standalone.cli.info.AbstractLs
-
- 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:- pathKey
- uuidKey
- mixinKey
- nodesSizeKey
- propertiesSizeKey
- referencesSizeKey
- versionableKey
- lockableKey
- referenceableKey
- lockedKey
- hasLockKey
- newKey
- modifiedKey
-
-
Field Summary
-
Fields inherited from class org.apache.jackrabbit.standalone.cli.info.AbstractLs
longWidth
-
-
Constructor Summary
Constructors Constructor Description AbstractLsNodes()
-
Method Summary
-
Methods inherited from class org.apache.jackrabbit.standalone.cli.info.AbstractLs
getDefaultMaxItems, getMaxItems, getMaxItemsKey, isPath, printFooter, setDefaultMaxItems, setMaxItemsKey, setPath
-
-
-
-
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
- theContext
- Returns:
- the
Node
s to show - Throws:
RepositoryException
- if the current workingRepository
throws aRepositoryException
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.
-
getNewKey
public String getNewKey()
- Returns:
- Returns the newKey.
-
setNewKey
public void setNewKey(String newKey)
- Parameters:
newKey
- 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
-
-