|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object openwfe.org.AbstractService openwfe.org.engine.impl.expool.AbstractExpressionStore info.magnolia.module.workflow.jcr.JCRExpressionStore
public class JCRExpressionStore
The JCR implementation of the expression store.
Nested Class Summary | |
---|---|
protected class |
JCRExpressionStore.StoreIterator
'lightweight' storeIterator. |
Field Summary |
---|
Fields inherited from interface openwfe.org.Service |
---|
CONFIGURATION_FILE |
Constructor Summary | |
---|---|
JCRExpressionStore(boolean useLifeTimeJCRSession,
boolean cleanUp)
|
Method Summary | |
---|---|
Iterator |
contentIterator(Class assignClass)
Returns an iterator on the content of that expression store. |
static void |
deleteAndRemoveEmptyParents(javax.jcr.Node node,
int level)
|
protected HierarchyManager |
getHierarchyManager()
|
void |
init(String serviceName,
openwfe.org.ApplicationContext context,
Map serviceParams)
|
openwfe.org.engine.expressions.FlowExpression |
loadExpression(openwfe.org.engine.expressions.FlowExpressionId fei)
Loads an expression given its id. |
int |
size()
Returns the number of expressions currently stored in that store. |
void |
storeExpression(openwfe.org.engine.expressions.FlowExpression fe)
Stores one expression. |
String |
toXPathFriendlyString(openwfe.org.engine.expressions.FlowExpressionId fei)
|
void |
unstoreExpression(openwfe.org.engine.expressions.FlowExpression fe)
Removes the expression from the JCR storage. |
Methods inherited from class openwfe.org.engine.impl.expool.AbstractExpressionStore |
---|
determineExpressionShortNames, getExpressionPool, loadAll, loadEngineEnvironment |
Methods inherited from class openwfe.org.AbstractService |
---|
getContext, getName, getParams, getState, getStatus, isRunning, pause, play, setState, stop, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JCRExpressionStore(boolean useLifeTimeJCRSession, boolean cleanUp)
Method Detail |
---|
public void init(String serviceName, openwfe.org.ApplicationContext context, Map serviceParams) throws openwfe.org.ServiceException
init
in interface openwfe.org.Service
init
in class openwfe.org.AbstractService
openwfe.org.ServiceException
public void storeExpression(openwfe.org.engine.expressions.FlowExpression fe) throws openwfe.org.engine.expool.PoolException
openwfe.org.engine.expool.PoolException
public void unstoreExpression(openwfe.org.engine.expressions.FlowExpression fe) throws openwfe.org.engine.expool.PoolException
openwfe.org.engine.expool.PoolException
public static void deleteAndRemoveEmptyParents(javax.jcr.Node node, int level) throws javax.jcr.PathNotFoundException, javax.jcr.RepositoryException, AccessDeniedException
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException
AccessDeniedException
public Iterator contentIterator(Class assignClass)
public openwfe.org.engine.expressions.FlowExpression loadExpression(openwfe.org.engine.expressions.FlowExpressionId fei) throws openwfe.org.engine.expool.PoolException
openwfe.org.engine.expool.PoolException
public int size()
public final String toXPathFriendlyString(openwfe.org.engine.expressions.FlowExpressionId fei)
protected HierarchyManager getHierarchyManager()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |