Examples of AssetDTO


Examples of org.jbpm.formbuilder.server.xml.AssetDTO

                for (String url : pkg.getAssets()) {
                    GetMethod subCall = createGetMethod(url);
                    try {
                        subCall.setRequestHeader("Accept", "application/xml");
                        client.executeMethod(subCall);
                        AssetDTO subDto = jaxbTransformation(AssetDTO.class, subCall.getResponseBodyAsStream(), AssetDTO.RELATED_CLASSES);
                        if (subDto.getMetadata().getUuid().equals(uuid)) {
                            return pkg.getTitle();
                        }
                    } finally {
                        subCall.releaseConnection();
                    }
View Full Code Here

Examples of org.jbpm.formbuilder.server.xml.AssetDTO

                    GetMethod subCall = helper.createGetMethod(url);
                    try {
                        helper.setAuth(client, call);
                        subCall.addRequestHeader("Accept", "application/xml");
                        client.executeMethod(subCall);
                        AssetDTO subDto = helper.jaxbTransformation(AssetDTO.class,
                                subCall.getResponseBodyAsStream(),
                                AssetDTO.RELATED_CLASSES);
                        if (subDto.getMetadata().getFormat().equals("bpmn2")) {
                            urls.add(subDto.getSourceLink());
                        }
                    } finally {
                        subCall.releaseConnection();
                    }
                }
View Full Code Here

Examples of org.jbpm.formbuilder.server.xml.AssetDTO

                    GetMethod subCall = helper.createGetMethod(url);
                    try {
                        helper.setAuth(client, subCall);
                        subCall.addRequestHeader("Accept", "application/xml");
                        client.executeMethod(subCall);
                        AssetDTO subDto = helper.jaxbTransformation(AssetDTO.class,
                                subCall.getResponseBodyAsStream(),
                                AssetDTO.RELATED_CLASSES);
                        if (subDto.getMetadata().getUuid().equals(uuid)) {
                            processUrl = subDto.getSourceLink();
                            format = subDto.getMetadata().getFormat();
                            break;
                        }
                    } finally {
                        subCall.releaseConnection();
                    }
View Full Code Here

Examples of org.jbpm.formbuilder.server.xml.AssetDTO

                    GetMethod subCall = helper.createGetMethod(url);
                    try {
                        helper.setAuth(client, subCall);
                        subCall.addRequestHeader("Accept", "application/xml");
                        client.executeMethod(subCall);
                        AssetDTO subDto = helper.jaxbTransformation(AssetDTO.class, subCall.getResponseBodyAsStream(), AssetDTO.class, MetaDataDTO.class);
                        if (subDto.getMetadata().getUuid().equals(uuid)) {
                            formDefUrl = subDto.getSourceLink();
                            format = subDto.getMetadata().getFormat();
                            break;
                        }
                    } finally {
                        subCall.releaseConnection();
                    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.