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:
Serializable,Cloneable,Map,org.apache.commons.chain.Context,JCRAppContext
Created by The eXo Platform SAS .
- Version:
- $Id: $
- Author:
- Gennady Azarenkov
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Stringprotected final Stringprotected final StringFields inherited from class org.exoplatform.frameworks.jcr.command.BasicAppContext
currentWorkspace, LOG, repository, sessionProvider -
Constructor Summary
ConstructorsConstructorDescriptionCliAppContext(org.exoplatform.services.jcr.core.ManageableRepository rep, String parametersKey) -
Method Summary
Modifier and TypeMethodDescriptionvoidjavax.jcr.ItemgetParameter(int index) voidsetCurrentItem(javax.jcr.Item item) voidMethods inherited from class org.exoplatform.frameworks.jcr.command.BasicAppContext
getSession, setCurrentWorkspaceMethods inherited from class org.apache.commons.chain.impl.ContextBase
clear, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, valuesMethods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll, sizeMethods inherited from class java.util.AbstractMap
equals, hashCode, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Field Details
-
currentItemKey
- See Also:
-
parametersKey
-
outputKey
- See Also:
-
-
Constructor Details
-
CliAppContext
public CliAppContext(org.exoplatform.services.jcr.core.ManageableRepository rep, String parametersKey) throws NamingException - Throws:
NamingException
-
-
Method Details
-
getUserName
-
getCurrentWorkspace
-
getParameters
-
getParameter
- Throws:
ParameterNotFoundException
-
setCurrentItem
public void setCurrentItem(javax.jcr.Item item) -
getCurrentItem
public javax.jcr.Item getCurrentItem() -
getOutput
-
setOutput
-
clearOutput
public void clearOutput()
-