@Name(value="docRoutingSuggestionActions") @Scope(value=CONVERSATION) public class DocumentRoutingSuggestionActionsBean extends DocumentContextBoundActionBean implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
CURRENT_DOC_ROUTING_SEARCH_ATTACHED_DOC |
protected CoreSession |
documentManager |
| Constructor and Description |
|---|
DocumentRoutingSuggestionActionsBean() |
| Modifier and Type | Method and Description |
|---|---|
DocumentModel |
getDocumentModel(String id) |
List<DocumentModel> |
getDocumentSuggestions(Object input) |
List<DocumentModel> |
getRouteModelSuggestions(Object input) |
protected void |
resetBeanCache(DocumentModel newCurrentDocumentModel) |
getCurrentDocument, onContextChangepublic static final String CURRENT_DOC_ROUTING_SEARCH_ATTACHED_DOC
@In(create=true,
required=false)
protected transient CoreSession documentManager
public DocumentRoutingSuggestionActionsBean()
public DocumentModel getDocumentModel(String id)
public List<DocumentModel> getDocumentSuggestions(Object input)
public List<DocumentModel> getRouteModelSuggestions(Object input)
protected void resetBeanCache(DocumentModel newCurrentDocumentModel)
resetBeanCache in class DocumentContextBoundActionBeanCopyright © 2018 Nuxeo. All rights reserved.