org.exoplatform.frameworks.jcr.cli
Class CliAppContext
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap
org.apache.commons.chain.impl.ContextBase
org.exoplatform.frameworks.jcr.command.BasicAppContext
org.exoplatform.frameworks.jcr.cli.CliAppContext
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.Map, org.apache.commons.chain.Context, JCRAppContext
public class CliAppContext
- extends BasicAppContext
Created by The eXo Platform SAS .
- Version:
- $Id: CliAppContext.java 35179 2009-08-07 13:58:20Z pnedonosko $
- Author:
- Gennady Azarenkov
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface java.util.Map |
java.util.Map.Entry<K,V> |
| Methods inherited from class org.apache.commons.chain.impl.ContextBase |
clear, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, values |
| Methods inherited from class java.util.HashMap |
clone, containsKey, size |
| Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
currentItemKey
protected final java.lang.String currentItemKey
- See Also:
- Constant Field Values
parametersKey
protected final java.lang.String parametersKey
outputKey
protected final java.lang.String outputKey
- See Also:
- Constant Field Values
CliAppContext
public CliAppContext(ManageableRepository rep,
java.lang.String parametersKey)
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
CliAppContext
@Deprecated
public CliAppContext(ManageableRepository rep,
java.lang.String parametersKey,
javax.jcr.Credentials cred)
throws javax.naming.NamingException
- Deprecated.
- Throws:
javax.naming.NamingException
getUserName
public java.lang.String getUserName()
getCurrentWorkspace
public java.lang.String getCurrentWorkspace()
getParameters
public java.util.List<java.lang.String> getParameters()
getParameter
public java.lang.String getParameter(int index)
throws ParameterNotFoundException
- Throws:
ParameterNotFoundException
setCurrentItem
public void setCurrentItem(javax.jcr.Item item)
getCurrentItem
public javax.jcr.Item getCurrentItem()
getOutput
public java.lang.String getOutput()
setOutput
public void setOutput(java.lang.String output)
clearOutput
public void clearOutput()
Copyright © 2010 eXo Platform SAS. All Rights Reserved.