@Scope(value=CONVERSATION) @Name(value="routeSecurityChecker") @Install(precedence=10) public class RouteSecurityChecker extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected NuxeoPrincipal |
currentUser |
protected CoreSession |
documentManager |
protected NavigationContext |
navigationContext |
Constructor and Description |
---|
RouteSecurityChecker() |
Modifier and Type | Method and Description |
---|---|
boolean |
canValidateRoute()
Deprecated.
|
boolean |
canValidateRoute(DocumentModel routeDocument) |
DocumentRoutingService |
getDocumentRoutingService() |
@In(required=true, create=false) protected NuxeoPrincipal currentUser
@In(required=true, create=false) protected CoreSession documentManager
@In(create=true) protected transient NavigationContext navigationContext
public RouteSecurityChecker()
@Deprecated public boolean canValidateRoute()
public boolean canValidateRoute(DocumentModel routeDocument)
public DocumentRoutingService getDocumentRoutingService()
Copyright © 2017 Nuxeo. All rights reserved.