Examples of update()


Examples of net.sf.joafip.store.entity.conversion.input.ConversionDefForClass.update()

      conversionDefForClass = new ConversionDefForClass(
          conversionDefEntry);
      // add conversion definition
      conversionDefByIdMap.put(from, conversionDefForClass);
    } else {
      conversionDefForClass.update(conversionDefEntry);
    }
  }

  /**
   * @param previous
View Full Code Here

Examples of net.sf.mrailsim.signals.MainSignal.update()

//    MainLookaheadSignal signal = new MainLookaheadSignal( signalId );
//    signal.setLookaheads( aheadAmount, track, node );
    MainSignal signal = new MainSignal( signalId );
    signal.setBound( track, node );
    signal.makeLookaheadSignal( aheadAmount );
    signal.update();
    signalList.add( signal );
  }

  private void addPreSignal( long preSignalId, long mainSignalId, long trackId, long nodeId ) {
    Signal signal = getSignal( mainSignalId );
View Full Code Here

Examples of net.sf.pmr.agilePlanning.service.IterationService.update()

        if (iterationform.getPersistanceId() == 0) {
            // add
            errors = iterationService.add(basicProjectPersistanceId.intValue(), iterationform.getStartDate(), iterationform.getEndDate());   
        } else {
            // update
            errors = iterationService.update(iterationform.getStartDate(), iterationform.getEndDate(), iterationform.getPersistanceId(), iterationform.getPersistanceVersion());
        }

        // Convert into struts action errors
        ActionMessages actionMessages = new ActionMessages();
View Full Code Here

Examples of net.sf.pmr.agilePlanning.service.ReleaseService.update()

        if (releaseform.getPersistanceId() == 0) {
            // add
            errors = releaseService.add(basicProjectPersistanceId.intValue(), releaseform.getNumber(), releaseform.getDate());   
        } else {
            // update
            errors = releaseService.update(releaseform.getNumber(), releaseform.getDate(), releaseform.getPersistanceId(), releaseform.getPersistanceVersion());
        }

        // Convert into struts action errors
        if (errors.hasErrors()) {
            ActionMessages actionMessages = ActionMessageUtils.convertFromKeopsErrorsToActionMessages(errors);
View Full Code Here

Examples of net.sf.pmr.agilePlanning.service.StoryService.update()

                    storyform.getShortDescription(),
                    storyform.getDescription(), storyform.getDaysEstimated(),
                    storyform.getBusinessValueId(), storyform.getRiskLevelId());
        } else {
            // update
             errors = storyService.update(storyform.getShortDescription(),
             storyform.getDescription(), storyform.getDaysEstimated(),
             storyform.getBusinessValueId(), storyform.getRiskLevelId(),
             storyform.getPersistanceId(), storyform.getPersistanceVersion());
        }
View Full Code Here

Examples of net.sf.pmr.core.service.ProjectService.update()

      // add
      errors = projectService.add(basicProjectForm.getCode(),
          basicProjectForm.getName(), user.getPersistanceId());
    } else {
      // update
      errors = projectService.update(basicProjectForm
          .getPersistanceId(), basicProjectForm.getCode(),
          basicProjectForm.getName(), basicProjectForm
              .getPersistanceVersion());
    }
View Full Code Here

Examples of net.sf.pmr.toDo.service.ToDoService.update()

          
            toDoService.add(toDoForm.getDescription(), toDoForm.getDate(), toDoForm.getDone() ,user.getPersistanceId(), basicProjectPersistanceId);
           
        } else {
            // update
          toDoService.update(toDoForm.getPersistanceId(), toDoForm.getPersistanceVersion(), toDoForm.getDescription(), toDoForm.getDate(), toDoForm.getDone());
           
        }

        // populate the summary
        populateListForProjectSummary(request);
View Full Code Here

Examples of net.sf.robocode.repository.items.IRepositoryItem.update()

    visitDirectory(rootPath, items, itemsLastModification);

    // Run thru all found repository items and update these according to their 'last modified' date
    for (int i = 0; i < items.size(); i++) {
      IRepositoryItem repositoryItem = items.get(i);
      repositoryItem.update(itemsLastModification.get(i), force);
    }
  }

  private void visitDirectory(File path, final List<IRepositoryItem> items, final List<Long> itemsLastModification) {
   
View Full Code Here

Examples of net.sourceforge.jtds.util.MD4Digest.update()

        Arrays.fill(key, (byte)0);
        byte[] pwd = password.getBytes("UnicodeLittleUnmarked");

        // do the md4 hash of the unicode passphrase...
        MD4Digest md4 = new MD4Digest();
        md4.update(pwd, 0, pwd.length);
        md4.doFinal(key, 0);
        return key;
    }

    /**
 
View Full Code Here

Examples of net.sourceforge.jtds.util.MD5Digest.update()

    }

    private static byte[] md5(byte[] data)
    {
        MD5Digest md5 = new MD5Digest();
        md5.update(data, 0, data.length);
        byte[] hash = new byte[16];
        md5.doFinal(hash, 0);
        return hash;
    }
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.