public abstract class CaseManagementContextBoundInstance extends Object implements CaseManagementContextHolder
Subclasses have to override its methods to invalidated their fields accordingly.
Constructor and Description |
---|
CaseManagementContextBoundInstance() |
Modifier and Type | Method and Description |
---|---|
Case |
getCachedCase() |
DocumentModel |
getCachedCaseItem() |
Mailbox |
getCachedMailbox() |
Case |
getCurrentCase() |
DocumentModel |
getCurrentCaseItem() |
DocumentModel |
getCurrentClassificationRoot() |
Mailbox |
getCurrentMailbox() |
DocumentModel |
getCurrentRouteRoot() |
void |
onMailboxContextChange(CaseManagementContextHolder correspContextHolder) |
public void onMailboxContextChange(CaseManagementContextHolder correspContextHolder) throws ClientException
ClientException
public DocumentModel getCachedCaseItem() throws ClientException
ClientException
public Case getCachedCase() throws ClientException
ClientException
public Mailbox getCachedMailbox() throws ClientException
ClientException
public DocumentModel getCurrentCaseItem() throws ClientException
getCurrentCaseItem
in interface CaseManagementContextHolder
ClientException
public Case getCurrentCase() throws ClientException
getCurrentCase
in interface CaseManagementContextHolder
ClientException
public Mailbox getCurrentMailbox() throws ClientException
getCurrentMailbox
in interface CaseManagementContextHolder
ClientException
public DocumentModel getCurrentRouteRoot() throws ClientException
getCurrentRouteRoot
in interface CaseManagementContextHolder
ClientException
public DocumentModel getCurrentClassificationRoot() throws ClientException
getCurrentClassificationRoot
in interface CaseManagementContextHolder
ClientException
Copyright © 2013 Nuxeo SA. All Rights Reserved.