public interface EditableWindowContextManager
extends org.apache.myfaces.extensions.cdi.core.impl.scope.conversation.spi.WindowContextManager
WindowContextManager
Modifier and Type | Method and Description |
---|---|
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 |
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-idboolean activateWindowContext(EditableWindowContext windowContext)
WindowContext
windowContext
- window-context which has to be activatedvoid restartConversations()
WindowContext
void restartConversations(String windowContextId)
WindowContext
with the given window-idwindowContextId
- 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-idwindowContextId
- 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 activewindowContextId
- current window-idCopyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.