public class CreateRelation extends Object
| Modifier and Type | Field and Description | 
|---|---|
static String | 
ID  | 
protected DocumentModel | 
object  | 
protected boolean | 
outgoing  | 
protected String | 
predicate  | 
protected DocumentRelationManager | 
relations  | 
protected CoreSession | 
session  | 
| Constructor and Description | 
|---|
CreateRelation()  | 
| Modifier and Type | Method and Description | 
|---|---|
DocumentModel | 
run(DocumentModel doc)  | 
public static final String ID
protected CoreSession session
protected DocumentRelationManager relations
protected DocumentModel object
protected boolean outgoing
public CreateRelation()
public DocumentModel run(DocumentModel doc)
Copyright © 2019 Nuxeo. All rights reserved.