@Name(value="relatedRouteAction") @Scope(value=EVENT) public class RelatedRouteActionBean extends Object
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
documentManager |
protected NavigationContext |
navigationContext |
Constructor and Description |
---|
RelatedRouteActionBean() |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
findRelatedRoute() |
List<DocumentModel> |
findRelatedRoute(String documentId) |
DocumentRoutingService |
getDocumentRoutingService() |
boolean |
hasRelatedRoute() |
boolean |
hasRelatedRoute(String documentId) |
@In(required=true, create=true) protected NavigationContext navigationContext
@In(create=true, required=false) protected CoreSession documentManager
public RelatedRouteActionBean()
@Factory(value="relatedRoutes") public List<DocumentModel> findRelatedRoute()
public List<DocumentModel> findRelatedRoute(String documentId)
public boolean hasRelatedRoute(String documentId)
public boolean hasRelatedRoute()
public DocumentRoutingService getDocumentRoutingService()
Copyright © 2019 Nuxeo. All rights reserved.