|
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.cm.web.invalidations.CaseManagementContextBoundInstance org.nuxeo.cm.web.caseitem.CaseItemDocumentActionsBean
@Name(value="cmDocumentActions") @Scope(value=CONVERSATION) @Install(precedence=10) public class CaseItemDocumentActionsBean
Constructor Summary | |
---|---|
CaseItemDocumentActionsBean()
|
Method Summary | |
---|---|
String |
backToMailbox()
|
String |
createCaseItemInCase()
Creates a new document from current changeable document. |
String |
createDocument(String typeName)
Returns the create view of given document type. |
String |
createEmptyCase()
|
boolean |
getCanEditCurrentCaseItem()
Check if the current user can edit the document (right + lock) |
boolean |
getCanEditCurrentDocument()
Check if the current user can edit the document (right + lock) |
String |
getCaseItemLayoutMode()
Return the Layout Mode for the current user. |
boolean |
isCaseItem()
Check if the current document is a CaseItem |
boolean |
isCurrentCaseItemPreviewAvailable()
|
boolean |
isEditingCaseItem()
|
void |
quitEditingMail()
|
String |
save()
|
void |
startEditingCaseItem()
|
void |
updateCurrentCaseItem()
Saves changes hold by the changeableDocument document model. |
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 |
---|
public CaseItemDocumentActionsBean()
Method Detail |
---|
public String createDocument(String typeName) throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientException
public String createCaseItemInCase() throws org.nuxeo.ecm.core.api.ClientException
CaseManagementDocumentActions
Document will be created in a hierarchy yyyy/mm/dd below current document (mail root)
createCaseItemInCase
in interface CaseManagementDocumentActions
org.nuxeo.ecm.core.api.ClientException
public String createEmptyCase() throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientException
public boolean getCanEditCurrentDocument() throws org.nuxeo.ecm.core.api.ClientException
CaseManagementDocumentActions
getCanEditCurrentDocument
in interface CaseManagementDocumentActions
org.nuxeo.ecm.core.api.ClientException
public boolean getCanEditCurrentCaseItem() throws org.nuxeo.ecm.core.api.ClientException
CaseManagementDocumentActions
getCanEditCurrentCaseItem
in interface CaseManagementDocumentActions
org.nuxeo.ecm.core.api.ClientException
public void updateCurrentCaseItem() throws org.nuxeo.ecm.core.api.ClientException
updateCurrentCaseItem
in interface CaseManagementDocumentActions
org.nuxeo.ecm.core.api.ClientException
public boolean isCurrentCaseItemPreviewAvailable() throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientException
public boolean isEditingCaseItem() throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientException
public void startEditingCaseItem() throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientException
public void quitEditingMail() throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientException
public String getCaseItemLayoutMode() throws org.nuxeo.ecm.core.api.ClientException
CaseManagementDocumentActions
getCaseItemLayoutMode
in interface CaseManagementDocumentActions
org.nuxeo.ecm.core.api.ClientException
public String backToMailbox() throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientException
public String save() throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientException
public boolean isCaseItem() throws org.nuxeo.ecm.core.api.ClientException
CaseManagementDocumentActions
isCaseItem
in interface CaseManagementDocumentActions
org.nuxeo.ecm.core.api.ClientException
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |