Nuxeo Enterprise Platform 5.4

org.nuxeo.cm.web.relations
Class CaseManagementRelationActionsBean

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

@Name(value="cmRelationActions")
@Scope(value=CONVERSATION)
@Install(precedence=10)
public class CaseManagementRelationActionsBean
extends CaseManagementContextBoundInstance

Retrieves relations for current email.

Author:
Anahide Tchertchian
See Also:
Serialized Form

Field Summary
static String CURRENT_CASE_ITEM_RELATION_SEARCH_QUERYMODEL
           
 
Constructor Summary
CaseManagementRelationActionsBean()
           
 
Method Summary
 String addStatement()
           
 String deleteStatement(org.nuxeo.ecm.platform.relations.web.StatementInfo stmtInfo)
           
 String getComment()
           
 org.nuxeo.ecm.core.api.DocumentModel getDocumentModel(org.nuxeo.ecm.platform.relations.api.Node node)
           
 org.nuxeo.ecm.core.api.DocumentModel getDocumentModel(String id)
           
 List<org.nuxeo.ecm.core.api.DocumentModel> getDocumentRelationSuggestions(Object input)
           
 org.nuxeo.ecm.platform.relations.api.QNameResource getDocumentResource(org.nuxeo.ecm.core.api.DocumentModel document)
           
 List<org.nuxeo.ecm.platform.relations.web.StatementInfo> getIncomingStatementsInfo()
           
 org.nuxeo.ecm.platform.ui.web.model.SelectDataModel getIncomingStatementsInfoSelectModel()
           
 List<org.nuxeo.ecm.platform.relations.web.StatementInfo> getOutgoingStatementsInfo()
           
 org.nuxeo.ecm.platform.ui.web.model.SelectDataModel getOutgoingStatementsInfoSelectModel()
           
 String getPredicateUri()
           
 String getSearchKeywords()
           
 Boolean getShowCreateForm()
           
 List<String> getTargetCreationDocuments()
           
 void resetStatements()
           
 void setComment(String comment)
           
 void setPredicateUri(String predicateUri)
           
 void setSearchKeywords(String searchKeywords)
           
 void setTargetCreationDocuments(List<String> targetCreationDocuments)
           
 void toggleCreateForm(ActionEvent event)
           
 
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
 

Field Detail

CURRENT_CASE_ITEM_RELATION_SEARCH_QUERYMODEL

public static final String CURRENT_CASE_ITEM_RELATION_SEARCH_QUERYMODEL
See Also:
Constant Field Values
Constructor Detail

CaseManagementRelationActionsBean

public CaseManagementRelationActionsBean()
Method Detail

getDocumentModel

public org.nuxeo.ecm.core.api.DocumentModel getDocumentModel(org.nuxeo.ecm.platform.relations.api.Node node)
                                                      throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

getDocumentResource

public org.nuxeo.ecm.platform.relations.api.QNameResource getDocumentResource(org.nuxeo.ecm.core.api.DocumentModel document)
                                                                       throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

getIncomingStatementsInfo

public List<org.nuxeo.ecm.platform.relations.web.StatementInfo> getIncomingStatementsInfo()
                                                                                   throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

getIncomingStatementsInfoSelectModel

public org.nuxeo.ecm.platform.ui.web.model.SelectDataModel getIncomingStatementsInfoSelectModel()
                                                                                         throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

getOutgoingStatementsInfo

public List<org.nuxeo.ecm.platform.relations.web.StatementInfo> getOutgoingStatementsInfo()
                                                                                   throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

getOutgoingStatementsInfoSelectModel

public org.nuxeo.ecm.platform.ui.web.model.SelectDataModel getOutgoingStatementsInfoSelectModel()
                                                                                         throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

resetStatements

public void resetStatements()

getShowCreateForm

public Boolean getShowCreateForm()

toggleCreateForm

public void toggleCreateForm(ActionEvent event)

getPredicateUri

public String getPredicateUri()

setPredicateUri

public void setPredicateUri(String predicateUri)

getComment

public String getComment()

setComment

public void setComment(String comment)

getSearchKeywords

public String getSearchKeywords()

setSearchKeywords

public void setSearchKeywords(String searchKeywords)

getTargetCreationDocuments

public List<String> getTargetCreationDocuments()

setTargetCreationDocuments

public void setTargetCreationDocuments(List<String> targetCreationDocuments)

getDocumentModel

public org.nuxeo.ecm.core.api.DocumentModel getDocumentModel(String id)
                                                      throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

getDocumentRelationSuggestions

public List<org.nuxeo.ecm.core.api.DocumentModel> getDocumentRelationSuggestions(Object input)
                                                                          throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

addStatement

public String addStatement()
                    throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

deleteStatement

public String deleteStatement(org.nuxeo.ecm.platform.relations.web.StatementInfo stmtInfo)
                       throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.