/** * @return A map of properties for the workflow task, includes all appropriate bpm model properties. */ public Map<String, Serializable> getProperties() { if (this.properties == null) { // convert properties to a QName accessable Map with TemplateNode objects as required PropertyConverter converter = new PropertyConverter(); this.properties = new QNameMap<String, Serializable>(this); for (QName qname : this.task.properties.keySet()) { Serializable value = converter.convertProperty( this.task.properties.get(qname), qname, this.services, this.resolver); this.properties.put(qname.toString(), value); } } return this.properties; }
/** * @return A map of properties for the workflow task, includes all appropriate bpm model properties. */ public Map<String, Serializable> getProperties() { if (this.properties == null) { // convert properties to a QName accessable Map with TemplateNode objects as required PropertyConverter converter = new PropertyConverter(); this.properties = new QNameMap<String, Serializable>(this); for (QName qname : this.task.properties.keySet()) { Serializable value = converter.convertProperty( this.task.properties.get(qname), qname, this.services, this.resolver); this.properties.put(qname.toString(), value); } } return this.properties; }
/** * @return All the properties known about this node. */ public Map<String, Serializable> getProperties() { if (this.propsRetrieved == false) { Map<QName, Serializable> props = this.services.getNodeService().getProperties(this.nodeRef); for (QName qname : props.keySet()) { Serializable value = this.propertyConverter.convertProperty( props.get(qname), qname, this.services, getImageResolver()); this.properties.put(qname.toString(), value); } this.propsRetrieved = true; } return this.properties; }
/** * @return All the properties known about this node. */ public Map<String, Serializable> getProperties() { if (this.propsRetrieved == false) { Map<QName, Serializable> props = this.services.getNodeService().getProperties(this.nodeRef); for (QName qname : props.keySet()) { Serializable value = this.propertyConverter.convertProperty( props.get(qname), qname, this.services, getImageResolver()); this.properties.put(qname.toString(), value); } this.propsRetrieved = true; } return this.properties; }
/** * Get the map containing the version property values. * * @return the map containing the version properties */ public Map<String, Serializable> getProperties() { if (propsRetrieved == false) { Map<QName, Serializable> props = parent.services.getNodeService().getProperties( this.version.getFrozenStateNodeRef()); for (QName qname : props.keySet()) { Serializable propValue = parent.new TemplatePropertyConverter().convertProperty(props.get(qname), qname, parent.services, parent.imageResolver); this.properties.put(qname.toString(), propValue); } propsRetrieved = true; } return this.properties; }
/** * Get the map containing the version property values. * * @return the map containing the version properties */ public Map<String, Serializable> getProperties() { if (propsRetrieved == false) { Map<QName, Serializable> props = parent.services.getNodeService().getProperties( this.version.getFrozenStateNodeRef()); for (QName qname : props.keySet()) { Serializable propValue = parent.new TemplatePropertyConverter().convertProperty(props.get(qname), qname, parent.services, parent.imageResolver); this.properties.put(qname.toString(), propValue); } propsRetrieved = true; } return this.properties; }