org.nuxeo.cm.web.invalidations
Class CaseManagementContextBoundInstance
java.lang.Object
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
CaseManagementContextBoundInstance
public CaseManagementContextBoundInstance()
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
Copyright © 2011 Nuxeo SAS. All Rights Reserved.