Examples of generateURL()


Examples of com.sparc.knappsack.util.WebRequest.generateURL()

                Locale locale = LocaleContextHolder.getLocale();
                message.setFrom(fromAddress);

                if (users != null) {
                    String orgName = organization.getName();
                    String url = webRequest.generateURL("");
                    long bandwidthLimit = organization.getDomainConfiguration().getMegabyteBandwidthLimit();
                    for (UserModel user : users) {
                        Context ctx = new Context(locale);
                        ctx.setVariable("user", user);
                        ctx.setVariable("organizationName", orgName);
View Full Code Here

Examples of com.sparc.knappsack.util.WebRequest.generateURL()

                message.setFrom(fromAddress);

                Application parentApplication = applicationVersion.getApplication();
                if (parentApplication != null) {
                    String applicationName = parentApplication.getName();
                    String url = webRequest.generateURL(String.format("/manager/editVersion/%s/%s", parentApplication.getId(), applicationVersion.getId()));
                    List<User> users = userService.get(userIds);
                    for (User user : users) {
                        Context ctx = new Context(locale);
                        ctx.setVariable("user", user);
                        ctx.setVariable("url", url);
View Full Code Here

Examples of com.sparc.knappsack.util.WebRequest.generateURL()

                Application parentApplication = applicationVersion.getApplication();
                if (parentApplication != null) {
                    String applicationName = parentApplication.getName();
                    String url;
                    if (resignSuccess) {
                        url = webRequest.generateURL(String.format("/detail/%s", parentApplication.getId()));
                    } else {
                        url = webRequest.generateURL(String.format("/manager/editVersion/%s/%s", parentApplication.getId(), applicationVersion.getId()));
                    }

                    List<User> users = userService.get(userIds);
View Full Code Here

Examples of com.sparc.knappsack.util.WebRequest.generateURL()

                    String applicationName = parentApplication.getName();
                    String url;
                    if (resignSuccess) {
                        url = webRequest.generateURL(String.format("/detail/%s", parentApplication.getId()));
                    } else {
                        url = webRequest.generateURL(String.format("/manager/editVersion/%s/%s", parentApplication.getId(), applicationVersion.getId()));
                    }

                    List<User> users = userService.get(userIds);
                    for (User user : users) {
                        Context ctx = new Context(locale);
View Full Code Here

Examples of com.sparc.knappsack.util.WebRequest.generateURL()

                Region region = domainRequest.getRegion();
                if (region != null && region.getEmails() != null && region.getEmails().size() > 0) {
                    emailCount = region.getEmails().size();
                    for (String email : region.getEmails()) {
                        Context ctx = new Context(locale);
                        ctx.setVariable("url", webRequest.generateURL("/manager/requestsPending/" + domainRequest.getDomain().getId()));
                        ctx.setVariable("domain", domainRequest.getDomain());
                        ctx.setVariable("requesterFirstName", domainRequest.getFirstName());
                        ctx.setVariable("requesterLastName", domainRequest.getLastName());
                        ctx.setVariable("requesterEmail", domainRequest.getEmailAddress());
                        ctx.setVariable("requesterAddress", domainRequest.getAddress());
View Full Code Here

Examples of com.sparc.knappsack.util.WebRequest.generateURL()

                    emailCount = (users == null ? 0 : users.size());

                    if (users != null) {
                        for (User user : users) {
                            Context ctx = new Context(locale);
                            ctx.setVariable("url", webRequest.generateURL("/manager/requestsPending/" + domainRequest.getDomain().getId()));
                            ctx.setVariable("domain", domainRequest.getDomain());
                            ctx.setVariable("requesterFirstName", domainRequest.getFirstName());
                            ctx.setVariable("requesterLastName", domainRequest.getLastName());
                            ctx.setVariable("requesterEmail", domainRequest.getEmailAddress());
                            ctx.setVariable("requesterAddress", domainRequest.getAddress());
View Full Code Here

Examples of com.sparc.knappsack.util.WebRequest.generateURL()

            model.setDistributionKeyPassword((keyVaultEntry).getDistributionKeyPassword());
            model.setDistributionProfile((keyVaultEntry).getDistributionProfile().getRelativePath());

            NameValuePair requestedAppStateParam = new BasicNameValuePair("appState", requestedAppState.name());
            NameValuePair initiationUserParam = new BasicNameValuePair("user", applicationVersion.getChangedBy());
            model.setCallbackUrl(webRequest.generateURL(String.format("/resigner/webhook/%s", applicationVersion.getId()), requestedAppStateParam, initiationUserParam));

            if (checkAllRequiredFields(model)) {
                success = super.resign(model);
            }
        }
View Full Code Here

Examples of org.brixcms.web.reference.Reference.generateUrl()

        IModel<String> labelModel = new AbstractModel<String>() {
            @Override
            public String getObject() {
                Reference reference = ReferenceColumnPanel.this.getModelObject();
                if (reference != null && !reference.isEmpty()) {
                    return reference.generateUrl();
                } else {
                    return "";
                }
            }
        };
View Full Code Here

Examples of org.jfree.chart.urls.CategoryURLGenerator.generateURL()

            tip = tipster.generateToolTip(dataset, row, column);
        }
        String url = null;
        CategoryURLGenerator urlster = getItemURLGenerator(row, column);
        if (urlster != null) {
            url = urlster.generateURL(dataset, row, column);
        }
        CategoryItemEntity entity = new CategoryItemEntity(hotspot, tip, url,
                dataset, dataset.getRowKey(row), dataset.getColumnKey(column));
        entities.add(entity);
    }
View Full Code Here

Examples of org.jfree.chart.urls.CategoryURLGenerator.generateURL()

            tip = generator.generateToolTip(dataset, row, column);
        }
        String url = null;
        CategoryURLGenerator urlster = getItemURLGenerator(row, column);
        if (urlster != null) {
            url = urlster.generateURL(dataset, row, column);
        }
        CategoryItemEntity entity = new CategoryItemEntity(s, tip, url,
                dataset, dataset.getRowKey(row), dataset.getColumnKey(column));
        entities.add(entity);
    }
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.