Package org.jitterbit.integration.client.deploy.serverapi

Examples of org.jitterbit.integration.client.deploy.serverapi.RenamedEntity


                if (id == null) {
                    continue;
                }
                final String oldName = child.getString(OLD_NAME);
                final String newName = child.getString(NEW_NAME);
                renames.add(new RenamedEntity() {

                    @Override
                    public IntegrationEntityId getIntegrationId() {
                        return id;
                    }
View Full Code Here


            }
            return sb.toString();
        }

        private String getRenameMessage(IntegrationEntityId id) {
            RenamedEntity rename = renamedEntities.get(id);
            return (rename == null) ? "" : Strings.format("Deploy.Warnings.Messages.Rename",
                            rename.getOldName(), rename.getNewName());
        }
View Full Code Here

    }

    private void processProjectRename() throws InterchangeSavingException {
        DeployLog.LOG.fine("Processing project rename");
        IntegrationProject p = currentProject.getProject();
        RenamedEntity dr = renamedEntities.get(p.getID());
        if (dr != null) {
            currentProject.renameProject(dr.getNewName());
        }
    }
View Full Code Here

            currentProject.renameProject(dr.getNewName());
        }
    }

    private void processEntityRename(IntegrationEntity e) {
        RenamedEntity dr = renamedEntities.get(e.getID());
        if (dr == null) {
            return;
        }
        String nameOnServer = dr.getNewName();
        String finalName = EntityUtils.getAvailableName(e, nameOnServer);
        e.setName(finalName);
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.client.deploy.serverapi.RenamedEntity

Copyright © 2018 www.massapicom. 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.