|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.webapp.action.WebActionsBean
@Name(value="webActions") @Scope(value=CONVERSATION) @Install(precedence=10) public class WebActionsBean
Web actions bean that manages actions.
Implements specific behavior to handle special mechanism of the documents tabbed content.
Field Summary |
---|
Fields inherited from interface org.nuxeo.ecm.platform.ui.web.api.WebActions |
---|
NULL_TAB_ID |
Constructor Summary | |
---|---|
WebActionsBean()
|
Method Summary | |
---|---|
void |
destroy()
|
java.util.List<Action> |
getActionsList(java.lang.String category)
|
java.util.List<Action> |
getActionsList(java.lang.String category,
ActionContext context)
|
java.util.List<Action> |
getAllActions(java.lang.String category)
|
java.lang.String |
getCurrentLifeCycleState()
Deprecated. Unused |
Action |
getCurrentSubTabAction()
|
java.lang.String |
getCurrentSubTabId()
|
Action |
getCurrentTabAction()
|
java.lang.String |
getCurrentTabId()
|
java.util.List<Action> |
getSubTabsList()
|
java.util.List<Action> |
getSubViewActionsList()
Deprecated. |
java.util.List<Action> |
getTabsList()
|
java.util.List<Action> |
getUnfiltredActionsList(java.lang.String category)
|
java.util.List<Action> |
getUnfiltredActionsList(java.lang.String category,
ActionContext context)
|
void |
initialize()
|
void |
readState()
Activate method. |
void |
resetCurrentTab()
|
void |
resetTabList()
|
void |
saveState()
Passivate method. |
void |
selectTabAction()
|
void |
setCurrentSubTabAction(Action tabAction)
|
void |
setCurrentSubTabId(java.lang.String tabId)
|
void |
setCurrentTabAction(Action currentTabAction)
|
void |
setCurrentTabAction(java.lang.String currentTabActionId)
Deprecated. |
java.lang.String |
setCurrentTabAndNavigate(DocumentModel document,
java.lang.String currentTabActionId)
This method is used to nagivate to the given document and open the view page of the given document in the given tab argument. |
java.lang.String |
setCurrentTabAndNavigate(java.lang.String currentTabActionId)
|
void |
setCurrentTabId(java.lang.String tabId)
|
void |
setSubTabsList(java.util.List<Action> tabsList)
|
void |
setTabsList(java.util.List<Action> tabsList)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebActionsBean()
Method Detail |
---|
public void initialize()
initialize
in interface WebActionsLocal
@Destroy public void destroy()
destroy
in interface WebActionsLocal
public void saveState()
StatefulBaseLifeCycle
saveState
in interface StatefulBaseLifeCycle
public void readState()
StatefulBaseLifeCycle
readState
in interface StatefulBaseLifeCycle
public java.util.List<Action> getActionsList(java.lang.String category, ActionContext context)
getActionsList
in interface WebActions
public java.util.List<Action> getActionsList(java.lang.String category)
getActionsList
in interface WebActions
public java.util.List<Action> getUnfiltredActionsList(java.lang.String category, ActionContext context)
getUnfiltredActionsList
in interface WebActions
public java.util.List<Action> getUnfiltredActionsList(java.lang.String category)
getUnfiltredActionsList
in interface WebActions
public java.util.List<Action> getAllActions(java.lang.String category)
getAllActions
in interface WebActions
@Deprecated public java.util.List<Action> getSubViewActionsList()
getSubViewActionsList
in interface WebActions
@Observer(value={"userAllDocumentTypesSelectionChanged","locationSelectionChanged"}, create=false) @BypassInterceptors public void resetTabList()
resetTabList
in interface WebActions
public void resetCurrentTab()
resetCurrentTab
in interface WebActions
@Factory(value="tabsActionsList", scope=EVENT) public java.util.List<Action> getTabsList()
getTabsList
in interface WebActions
@Factory(value="subTabsActionsList", scope=EVENT) public java.util.List<Action> getSubTabsList()
getSubTabsList
in interface WebActions
public void setTabsList(java.util.List<Action> tabsList)
setTabsList
in interface WebActions
public void setSubTabsList(java.util.List<Action> tabsList)
setSubTabsList
in interface WebActions
public Action getCurrentTabAction()
getCurrentTabAction
in interface WebActions
public void setCurrentTabAction(Action currentTabAction)
setCurrentTabAction
in interface WebActions
public Action getCurrentSubTabAction()
getCurrentSubTabAction
in interface WebActions
public void setCurrentSubTabAction(Action tabAction)
setCurrentSubTabAction
in interface WebActions
@Deprecated public void setCurrentTabAction(java.lang.String currentTabActionId)
setCurrentTabAction
in interface WebActions
public java.lang.String getCurrentTabId()
getCurrentTabId
in interface WebActions
public void setCurrentTabId(java.lang.String tabId)
setCurrentTabId
in interface WebActions
public java.lang.String getCurrentSubTabId()
getCurrentSubTabId
in interface WebActions
public void setCurrentSubTabId(java.lang.String tabId)
setCurrentSubTabId
in interface WebActions
public java.lang.String setCurrentTabAndNavigate(java.lang.String currentTabActionId)
setCurrentTabAndNavigate
in interface WebActions
public java.lang.String setCurrentTabAndNavigate(DocumentModel document, java.lang.String currentTabActionId)
WebActions
setCurrentTabAndNavigate
in interface WebActions
document
- to document which will be shown in the view pagecurrentTabActionId
- the tab which will be focused in the view page
public void selectTabAction()
selectTabAction
in interface WebActions
@Deprecated public java.lang.String getCurrentLifeCycleState() throws ClientException
getCurrentLifeCycleState
in interface WebActions
ClientException
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |