|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfo.magnolia.module.workflow.jcr.JCRWorkItemStore
public class JCRWorkItemStore
The Magnolia-specific workflow participant.
Constructor Summary | |
---|---|
JCRWorkItemStore()
|
|
JCRWorkItemStore(boolean useLifeTimeJCRSession,
boolean cleanUp,
boolean shouldBackupWorkItems)
|
Method Summary | |
---|---|
boolean |
checkContentWithEID(Content ct,
openwfe.org.engine.expressions.FlowExpressionId eid)
check if the content contains the right work Item with same id. |
String |
convertPath(String id)
convert the name to valid path. |
String |
createPathFromId(openwfe.org.engine.expressions.FlowExpressionId eid)
create the jcr node path for work Item by its id. |
List |
doQuery(String queryString)
execute the xPath Query. |
List |
doQuery(String queryString,
String language)
|
protected void |
encodeWorkItemToNode(openwfe.org.engine.workitem.InFlowWorkItem wi,
Content newc)
|
protected HierarchyManager |
getHierarchyManager()
|
Content |
getWorkItemById(openwfe.org.engine.expressions.FlowExpressionId fei)
get work item by id. |
Content |
getWorkItemByParticipant(String participant)
retrieve a work item by participant name. |
boolean |
hasWorkItem(openwfe.org.engine.expressions.FlowExpressionId fei)
check whether the specified work item exists. |
openwfe.org.engine.workitem.InFlowWorkItem |
loadWorkItem(Content ct)
load a work item from a JCR content. |
void |
removeWorkItem(openwfe.org.engine.expressions.FlowExpressionId fei)
Deletes or moves a workItem to the backup folder. |
openwfe.org.engine.workitem.InFlowWorkItem |
retrieveWorkItem(String storeName,
openwfe.org.engine.expressions.FlowExpressionId fei)
retrieve work item by FlowExpressionId. |
void |
storeWorkItem(String arg0,
openwfe.org.engine.workitem.InFlowWorkItem wi)
Stores a workitem. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JCRWorkItemStore(boolean useLifeTimeJCRSession, boolean cleanUp, boolean shouldBackupWorkItems)
public JCRWorkItemStore() throws Exception
Exception
Method Detail |
---|
protected HierarchyManager getHierarchyManager()
public void removeWorkItem(openwfe.org.engine.expressions.FlowExpressionId fei) throws openwfe.org.worklist.store.StoreException
openwfe.org.worklist.store.StoreException
public openwfe.org.engine.workitem.InFlowWorkItem retrieveWorkItem(String storeName, openwfe.org.engine.expressions.FlowExpressionId fei) throws openwfe.org.worklist.store.StoreException
storeName
- TODO : this parameter is not used ...fei
-
openwfe.org.worklist.store.StoreException
public openwfe.org.engine.workitem.InFlowWorkItem loadWorkItem(Content ct) throws Exception
ct
- the content node
Exception
public Content getWorkItemByParticipant(String participant)
participant
- the full participant name (for example, user-superuser)public Content getWorkItemById(openwfe.org.engine.expressions.FlowExpressionId fei)
fei
- public boolean hasWorkItem(openwfe.org.engine.expressions.FlowExpressionId fei) throws AccessDeniedException, javax.jcr.RepositoryException
fei
- expression id of work item
AccessDeniedException
javax.jcr.RepositoryException
public boolean checkContentWithEID(Content ct, openwfe.org.engine.expressions.FlowExpressionId eid)
ct
- JCR contenteid
- id of work itempublic final String convertPath(String id)
id
- public String createPathFromId(openwfe.org.engine.expressions.FlowExpressionId eid)
eid
- public void storeWorkItem(String arg0, openwfe.org.engine.workitem.InFlowWorkItem wi) throws openwfe.org.worklist.store.StoreException
arg0
- TODO : this parameter is not used ...wi
- the work item to be stored
openwfe.org.worklist.store.StoreException
protected void encodeWorkItemToNode(openwfe.org.engine.workitem.InFlowWorkItem wi, Content newc) throws openwfe.org.util.beancoder.BeanCoderException
openwfe.org.util.beancoder.BeanCoderException
public List doQuery(String queryString)
public List doQuery(String queryString, String language)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |