Nuxeo Enterprise Platform 5.4

org.nuxeo.cm.web.mailbox
Class CaseManagementMailboxTabsActionsBean

java.lang.Object
  extended by org.nuxeo.cm.web.invalidations.CaseManagementContextBoundInstance
      extended by org.nuxeo.cm.web.mailbox.CaseManagementMailboxTabsActionsBean
All Implemented Interfaces:
Serializable, CaseManagementContextHolder

@Name(value="cmMailboxTabsActionsBean")
@Scope(value=CONVERSATION)
public class CaseManagementMailboxTabsActionsBean
extends CaseManagementContextBoundInstance

Handle tabs behaviors for Mailbox View and Mailbox Management.

Author:
nulrich
See Also:
Serialized Form

Constructor Summary
CaseManagementMailboxTabsActionsBean()
           
 
Method Summary
 org.nuxeo.ecm.platform.actions.Action getCurrentDistributionCaseAction()
           
 org.nuxeo.ecm.platform.actions.Action getCurrentManageMailboxAction()
           
 org.nuxeo.ecm.platform.actions.Action getCurrentViewMailboxAction()
           
 List<org.nuxeo.ecm.platform.actions.Action> getDistributionCaseActionTabs()
           
 List<org.nuxeo.ecm.platform.actions.Action> getManageMailboxActionTabs()
           
 List<org.nuxeo.ecm.platform.actions.Action> getViewMailboxActionTabs()
           
 String openMailboxManage()
           
 String openMailboxView()
           
 void resetViewMailboxActionTabs()
           
 void setCurrentDistributionCaseAction(String actionId)
          Sets the current tab (Action) for Distribution Envelope view.
 void setCurrentManageMailboxAction(String actionId)
          Sets the current tab (Action) for Mailbox View.
 void setCurrentViewMailboxAction(String actionId)
          Sets the current tab (Action) for Mailbox Management.
 
Methods inherited from class org.nuxeo.cm.web.invalidations.CaseManagementContextBoundInstance
getCachedCase, getCachedCaseItem, getCachedMailbox, getCurrentCase, getCurrentCaseItem, getCurrentMailbox, onMailboxContextChange
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CaseManagementMailboxTabsActionsBean

public CaseManagementMailboxTabsActionsBean()
Method Detail

getViewMailboxActionTabs

@Factory(value="viewMailboxActionTabs",
         scope=EVENT)
public List<org.nuxeo.ecm.platform.actions.Action> getViewMailboxActionTabs()
Returns:
All the Actions for Mailbox View

resetViewMailboxActionTabs

public void resetViewMailboxActionTabs()

getManageMailboxActionTabs

@Factory(value="manageMailboxActionTabs",
         scope=EVENT)
public List<org.nuxeo.ecm.platform.actions.Action> getManageMailboxActionTabs()
Returns:
All the Actions for Mailbox Management

getDistributionCaseActionTabs

@Factory(value="distributionCaseActionTabs",
         scope=EVENT)
public List<org.nuxeo.ecm.platform.actions.Action> getDistributionCaseActionTabs()
Returns:
All the Actions for Mail Distribution

getCurrentViewMailboxAction

@Factory(value="currentViewMailboxAction",
         scope=EVENT)
public org.nuxeo.ecm.platform.actions.Action getCurrentViewMailboxAction()
Returns:
current Action of Mailbox View

getCurrentDistributionCaseAction

@Factory(value="currentDistributionCaseAction",
         scope=EVENT)
public org.nuxeo.ecm.platform.actions.Action getCurrentDistributionCaseAction()
Returns:
current Action of Mailbox Management

getCurrentManageMailboxAction

@Factory(value="currentManageMailboxAction",
         scope=EVENT)
public org.nuxeo.ecm.platform.actions.Action getCurrentManageMailboxAction()
Returns:
current Action of Envelope Distribution

setCurrentViewMailboxAction

public void setCurrentViewMailboxAction(String actionId)
                                 throws org.nuxeo.ecm.core.api.ClientException
Sets the current tab (Action) for Mailbox Management.

Throws:
org.nuxeo.ecm.core.api.ClientException

setCurrentManageMailboxAction

public void setCurrentManageMailboxAction(String actionId)
                                   throws org.nuxeo.ecm.core.api.ClientException
Sets the current tab (Action) for Mailbox View.

Throws:
org.nuxeo.ecm.core.api.ClientException

setCurrentDistributionCaseAction

public void setCurrentDistributionCaseAction(String actionId)
                                      throws org.nuxeo.ecm.core.api.ClientException
Sets the current tab (Action) for Distribution Envelope view.

Throws:
org.nuxeo.ecm.core.api.ClientException

openMailboxManage

public String openMailboxManage()
Returns:
Mailbox Management view

openMailboxView

public String openMailboxView()
Returns:
Mailbox View view

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.