Examples of save()


Examples of com.groupon.jenkins.dynamic.build.DynamicProject.save()

            }
            project.addProperty(new ParametersDefinitionProperty(new GithubBranchParameterDefinition("BRANCH", "master",githubRepository.getUrl())));
            project.addProperty(new GithubRepoProperty(githubRepository.getUrl()));
            project.addProperty(new BuildTypeProperty(SetupConfig.get().getDefaultBuildType()));

            project.save();
            folder.addItem(project);
            folder.save();
            return project;
        } catch (IOException e) {
            throw new RuntimeException(e);
View Full Code Here

Examples of com.groupon.jenkins.dynamic.organizationcontainer.OrganizationContainer.save()

            project.addProperty(new GithubRepoProperty(githubRepository.getUrl()));
            project.addProperty(new BuildTypeProperty(SetupConfig.get().getDefaultBuildType()));

            project.save();
            folder.addItem(project);
            folder.save();
            return project;
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }
View Full Code Here

Examples of com.gwtmobile.phonegap.client.Contacts.Contact.save()

    name.setGivenName("Jane");
    name.setFamilyName("Doe");
    contact.setDisplayName(name.getGivenName() + " " + name.getFamilyName());
    contact.setName(name);
   
    contact.save(new Callback() {     
      @Override
      public void onSuccess() {
        text.setHTML("Contact " + contact.getName().getGivenName() + " "
            + contact.getName().getFamilyName() + " created.");
      }     
View Full Code Here

Examples of com.ibm.sbt.services.client.connections.communities.Community.save()

    String type = "public";
    if (TestEnvironment.isSmartCloudEnvironment()) {
      type = "private";
    }
    community.setCommunityType(type);
    community = community.save();
    community = community.load();
    return community;
  }

  @Ignore
View Full Code Here

Examples of com.ibm.sbt.services.client.connections.forums.Forum.save()

    List<String> tags = new ArrayList<String>();
    tags.add("tag1");
    tags.add("tag2");
    forum.setTags(tags);
    try {
      forum = forum.save();
      testForumID = forum.getUid();
    } catch (ClientServicesException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    }
View Full Code Here

Examples of com.ibs.academic.dao.DAOStudent.save()

        }else {
            studentCourses = new ArrayList<StudentCourse>();
        }
        studentCourses.add(e);
        student.setStudentCourses(studentCourses);
        daoStudent.save(student);

        //Reseteando transaccion
        transactionItem = new Transaction();
    }
}
View Full Code Here

Examples of com.intel.mtwilson.crypto.SimpleKeystore.save()

            File keystoreFile = new File(directory.getAbsoluteFile() + File.separator + Filename.encode(username) + ".jks");
            SimpleKeystore keystore = new SimpleKeystore(keystoreFile, password);
            KeyPair keypair = RsaUtil.generateRsaKeyPair(RsaUtil.MINIMUM_RSA_KEY_SIZE);
            X509Certificate certificate = RsaUtil.generateX509Certificate(subject, keypair, RsaUtil.DEFAULT_RSA_KEY_EXPIRES_DAYS);
            keystore.addKeyPairX509(keypair.getPrivate(), certificate, username, password);
            keystore.save();
            System.out.println("Created keystore: "+keystoreFile.getName());
    }

}
View Full Code Here

Examples of com.intellij.openapi.fileChooser.FileSaverDialog.save()

                final FileSaverDescriptor descriptor = new FileSaverDescriptor("Save results to", "");
                final FileSaverDialog dialog = FileChooserFactory.getInstance().createSaveFileDialog(
                        descriptor, javaPuzzlersGame.getProject());
                VirtualFile base = javaPuzzlersGame.getProject().getBaseDir();

                final VirtualFileWrapper fileWrapper = dialog.save(base, "results.html");
                if (fileWrapper != null) {
                    ApplicationManager.getApplication().invokeLater(new Runnable() {
                        public void run() {
                            final VirtualFile fileToSave = fileWrapper.getVirtualFile(true);
                            assert fileToSave != null;
View Full Code Here

Examples of com.isfasiel.main.user.web.LoginInfo.save()

    if (user == null) {
      errors.reject("invalidLogin", "Invalid Login");
    }
    else {
      LoginInfo loginInfo = loginInfoProvider.get();
      loginInfo.save(user);
    }
    inputUser = null;
   
  }
}
View Full Code Here

Examples of com.itstherules.image.AWTImage.save()

    String directory = (String) parameters.get("directory");
    String imageName = (String) parameters.get("image");
    IImage image = new AWTImage(PathResolver.resolve("photos/"+directory+"/"+imageName, PhotosController.class));
    image.rotate(getIntParameter(parameters.get("rotation")));
    image.scale(getIntParameter(parameters.get("width")), getIntParameter(parameters.get("height")), true, true);
    image.save();
    try {
      IImage thumbnailImage = new AWTImage(PathResolver.resolve("photos/"+directory+"/thumbnails/"+imageName, PhotosController.class));
        thumbnailImage.rotate(getIntParameter(parameters.get("rotation")));
        thumbnailImage.save();
    } catch(FileNotFoundException e){
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.