|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.context.AbstractContext info.magnolia.context.ContextDecorator info.magnolia.module.workflow.WorkItemContext
public class WorkItemContext
This context wrapps a workitem and delegates the most of the methods to the inner context.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
Map.Entry<K,V> |
Field Summary |
---|
Fields inherited from class info.magnolia.context.ContextDecorator |
---|
ctx |
Fields inherited from class info.magnolia.context.AbstractContext |
---|
locale |
Fields inherited from interface info.magnolia.context.Context |
---|
APPLICATION_SCOPE, ATTRIBUTE_COMMENT, ATTRIBUTE_EXCEPTION, ATTRIBUTE_MESSAGE, ATTRIBUTE_PATH, ATTRIBUTE_RECURSIVE, ATTRIBUTE_REPOSITORY, ATTRIBUTE_UUID, ATTRIBUTE_VERSION, ATTRIBUTE_VERSION_MAP, LOCAL_SCOPE, SESSION_SCOPE |
Constructor Summary | |
---|---|
WorkItemContext(info.magnolia.context.Context ctx,
openwfe.org.engine.workitem.WorkItem workItem)
|
Method Summary | |
---|---|
Object |
getAttribute(String name,
int scope)
Use work item if request scope. |
Map<String,Object> |
getAttributes(int scope)
Use work item if request scope. |
openwfe.org.engine.workitem.WorkItem |
getWorkItem()
|
void |
removeAttribute(String name,
int scope)
Use work item if request scope. |
void |
setAttribute(String name,
Object value,
int scope)
Use work item if request scope. |
void |
setWorkItem(openwfe.org.engine.workitem.WorkItem workItem)
|
Methods inherited from class info.magnolia.context.ContextDecorator |
---|
getAccessManager, getHierarchyManager, getQueryManager, getUser, getWrappedContext, release |
Methods inherited from class info.magnolia.context.AbstractContext |
---|
clear, containsKey, containsValue, entrySet, get, getAccessManager, getAttribute, getAttributes, getAttributeStrategy, getHierarchyManager, getLocale, getMessages, getMessages, getQueryManager, getRepositoryStrategy, isEmpty, keySet, put, putAll, remove, setAttributeStrategy, setLocale, setRepositoryStrategy, size, values |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
equals, hashCode |
Constructor Detail |
---|
public WorkItemContext(info.magnolia.context.Context ctx, openwfe.org.engine.workitem.WorkItem workItem)
Method Detail |
---|
public Object getAttribute(String name, int scope)
getAttribute
in class info.magnolia.context.ContextDecorator
public Map<String,Object> getAttributes(int scope)
getAttributes
in class info.magnolia.context.ContextDecorator
public void setAttribute(String name, Object value, int scope)
setAttribute
in class info.magnolia.context.ContextDecorator
public void removeAttribute(String name, int scope)
removeAttribute
in class info.magnolia.context.ContextDecorator
public openwfe.org.engine.workitem.WorkItem getWorkItem()
public void setWorkItem(openwfe.org.engine.workitem.WorkItem workItem)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |