Nuxeo Enterprise Platform 5.4

org.nuxeo.cm.web.invalidations
Class CaseManagementContextBoundInstance

java.lang.Object
  extended by org.nuxeo.cm.web.invalidations.CaseManagementContextBoundInstance
All Implemented Interfaces:
Serializable, CaseManagementContextHolder
Direct Known Subclasses:
ActionableCaseLinkActionsBean, CaseItemDocumentActionsBean, CaseManagementCaseActionsBean, CaseManagementDistributionActionsBean, CaseManagementHistoryActionsBean, CaseManagementMailboxActionsBean, CaseManagementMailboxTabsActionsBean, CaseManagementRelationActionsBean, CaseManagementRoutingActionsBean, CorrespondenceCommentActionsBean, CorrespondenceDistributeOutgoingMailActionsBean, CorrespondenceDocumentActionsBean, CorrespondenceEditOutgoingMailActionsBean, CorrespondenceEditOutgoingMailTabsBean, CorrespondenceMailboxActionsBean, CorrespondenceRelationActionsBean, CorrespondenceSearchDocumentBean, MailboxMailingListBean

public abstract class CaseManagementContextBoundInstance
extends Object
implements CaseManagementContextHolder

Base class for Seam beans that would like to invalidate some cached information based on casemanagement context changes.

Subclasses have to override its methods to invalidated their fields accordingly.

Author:
Anahide Tchertchian
See Also:
Serialized Form

Constructor Summary
CaseManagementContextBoundInstance()
           
 
Method Summary
 Case getCachedCase()
           
 org.nuxeo.ecm.core.api.DocumentModel getCachedCaseItem()
           
 Mailbox getCachedMailbox()
           
 Case getCurrentCase()
           
 org.nuxeo.ecm.core.api.DocumentModel getCurrentCaseItem()
           
 Mailbox getCurrentMailbox()
           
 void onMailboxContextChange(CaseManagementContextHolder correspContextHolder)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CaseManagementContextBoundInstance

public CaseManagementContextBoundInstance()
Method Detail

onMailboxContextChange

public void onMailboxContextChange(CaseManagementContextHolder correspContextHolder)
                            throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

getCachedCaseItem

public org.nuxeo.ecm.core.api.DocumentModel getCachedCaseItem()
                                                       throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

getCachedCase

public Case getCachedCase()
                   throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

getCachedMailbox

public Mailbox getCachedMailbox()
                         throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

getCurrentCaseItem

public org.nuxeo.ecm.core.api.DocumentModel getCurrentCaseItem()
                                                        throws org.nuxeo.ecm.core.api.ClientException
Specified by:
getCurrentCaseItem in interface CaseManagementContextHolder
Throws:
org.nuxeo.ecm.core.api.ClientException

getCurrentCase

public Case getCurrentCase()
                    throws org.nuxeo.ecm.core.api.ClientException
Specified by:
getCurrentCase in interface CaseManagementContextHolder
Throws:
org.nuxeo.ecm.core.api.ClientException

getCurrentMailbox

public Mailbox getCurrentMailbox()
                          throws org.nuxeo.ecm.core.api.ClientException
Specified by:
getCurrentMailbox in interface CaseManagementContextHolder
Throws:
org.nuxeo.ecm.core.api.ClientException

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.