As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
NodeRef test = getnoderef(id)
NodeRef(String nodeRef) NodeRef(StoreRef storeRef, String id) NodeRef(String protocol, String identifier,String id)
NodeRef node = new NodeRef(nodeRef); //Si vous avez le nodeRef NodeRef node = new NodeRef(new StoreRef("workspace", "SpacesStore"), id); //Si vous avez que l'id et que le Store et le workspace://SpacesStore NodeRef node = new NodeRef("workspace", "SpacesStore", id);
NodeRef actionedUponNodeRef = new NodeRef(new StoreRef("workspace", "SpacesStore"), this.ActionID); Action ruleAction = actionService.getAction(actionedUponNodeRef,this.RuleID);
NodeRef docNode = new NodeRef(new StoreRef("workspace", "SpacesStore"), temp[1]); Action ruleAction = this.actionService.getActions(docNode,this.RuleID);
List<Action> actions = this.actionService.getActions(this.nodeRef);
NodeRef rule = new NodeRef(new StoreRef("workspace", "SpacesStore"), temp[2] ); List<ChildAssociationRef> children = nodeService.getChildAssocs(rule); for (ChildAssociationRef childAssoc : children) { NodeRef childNodeRef = childAssoc.getChildRef(); String tempory_name = (String)this.nodeService.getProperty(childNodeRef, QName.createQName("http://www.alfresco.org/model/action/1.0", "parameterName")); if(tempory_name != null){ if(tempory_name.equals("template")){ this.templateRef_x = childNodeRef; } if(tempory_name.equals("text")){ this.text_x = (String)this.nodeService.getProperty(childNodeRef, QName.createQName("http://www.alfresco.org/model/action/1.0", "parameterValue")); } if(tempory_name.equals("to")){ this.to_x=(String)this.nodeService.getProperty(childNodeRef, QName.createQName("http://www.alfresco.org/model/action/1.0", "parameterValue")); } if(tempory_name.equals("to_many")){ this.to_many_x = this.nodeService.getProperty(childNodeRef, QName.createQName("http://www.alfresco.org/model/action/1.0", "parameterValue")); } if(tempory_name.equals("from")){ this.from_x = (String)this.nodeService.getProperty(childNodeRef, QName.createQName("http://www.alfresco.org/model/action/1.0", "parameterValue")); } if(tempory_name.equals("subject")){ this.Subject_x = (String)this.nodeService.getProperty(childNodeRef, QName.createQName("http://www.alfresco.org/model/action/1.0", "parameterValue")); } } }
QName.createQName("http://www.alfresco.org/model/action/1.0", "parameterName") ActionModel.PROP_PARAMETER_NAME QName.createQName("http://www.alfresco.org/model/action/1.0", "parameterValue") ActionModel.PROP_PARAMETER_VALUE