|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EditableWindowContextManager
Allows to implement custom implementations of WindowContextManager
Field Summary |
---|
Fields inherited from interface org.apache.myfaces.extensions.cdi.core.impl.scope.conversation.spi.WindowContextManager |
---|
AUTOMATED_ENTRY_POINT_PARAMETER_KEY, WINDOW_CONTEXT_ID_PARAMETER_KEY |
Method Summary | |
---|---|
boolean |
activateWindowContext(EditableWindowContext windowContext)
Activates the given WindowContext |
boolean |
activateWindowContext(String windowContextId)
Activates the WindowContext with has
the given window-id. |
void |
closeAllWindowContexts()
Closes all WindowContext of the current
user(-session) |
void |
closeCurrentWindowContext()
Closes all conversations of the current WindowContext |
void |
closeWindowContext(EditableWindowContext windowContext)
Closes all conversations of the given WindowContext |
void |
closeWindowContext(String windowContextId)
Closes all conversations of the WindowContext
with the given window-id |
Collection<EditableWindowContext> |
getWindowContexts()
Exposes all WindowContext instances for
the current user(-session) |
boolean |
isWindowContextActive(String windowContextId)
Evaluates if the WindowContext with the
given window-id is currently active |
void |
restartConversations()
Restarts all conversations of the current WindowContext |
void |
restartConversations(EditableWindowContext windowContext)
Restarts all conversations of the given WindowContext |
void |
restartConversations(String windowContextId)
Restarts all conversations of the WindowContext
with the given window-id |
Methods inherited from interface org.apache.myfaces.extensions.cdi.core.impl.scope.conversation.spi.WindowContextManager |
---|
getCurrentWindowContext, getWindowContext |
Method Detail |
---|
boolean activateWindowContext(String windowContextId)
WindowContext
with has
the given window-id. If there is no
WindowContext
which has the given id a new context will be created automatically.
windowContextId
- window-id
boolean activateWindowContext(EditableWindowContext windowContext)
WindowContext
windowContext
- window-context which has to be activated
void restartConversations()
WindowContext
void restartConversations(String windowContextId)
WindowContext
with the given window-id
windowContextId
- current window-idvoid restartConversations(EditableWindowContext windowContext)
WindowContext
windowContext
- window-context which will be restarted (the conversations of it)void closeCurrentWindowContext()
WindowContext
void closeWindowContext(String windowContextId)
WindowContext
with the given window-id
windowContextId
- current window-idvoid closeWindowContext(EditableWindowContext windowContext)
WindowContext
windowContext
- window-context which will be closed (the conversations of it)Collection<EditableWindowContext> getWindowContexts()
WindowContext
instances for
the current user(-session)
void closeAllWindowContexts()
WindowContext
of the current
user(-session)
boolean isWindowContextActive(String windowContextId)
WindowContext
with the
given window-id is currently active
windowContextId
- current window-id
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |