Examples of update()


Examples of org.infoglue.cms.applications.workflowtool.util.ContentFactory.update()

        parentContentVO = (ContentVO) getParameter(FOLDER_PARAMETER);
        newContentVO = factory.create(parentContentVO, categories, getDatabase());
      }
      else
      {
        newContentVO = factory.update(getContentVO(), categories, getDatabase());
      }
      if(newContentVO != null)
      {
        setPropertySetString(ContentProvider.CONTENT_ID_PROPERTYSET_KEY, newContentVO.getContentId().toString());
      }
View Full Code Here

Examples of org.intalio.tempo.workflow.tms.ITaskManagementService.update()

    public void testUpdate2() throws Exception {
      ITaskManagementService tms = new RemoteTMSFactory(TMS_REMOTE_URL, TOKEN).getService();
      Task[] tasks = tms.getAvailableTasks(TaskType.ACTIVITY.name(), "");
      Random rand = new Random();
      ((PATask)tasks[0]).setPriority(rand.nextInt(10));
      tms.update(tasks[0]);
    }
   
    public void testMultipleReassign() throws Exception {
      ITaskManagementService tms = new RemoteTMSFactory(TMS_REMOTE_URL, TOKEN).getService();
     
View Full Code Here

Examples of org.iq80.leveldb.util.PureJavaCrc32C.update()

    }

    public static int crc32c(Slice data, CompressionType type)
    {
        PureJavaCrc32C crc32c = new PureJavaCrc32C();
        crc32c.update(data.getRawArray(), data.getRawOffset(), data.length());
        crc32c.update(type.persistentId() & 0xFF);
        return crc32c.getMaskedValue();
    }

    public void ensureCompressedOutputCapacity(int capacity)
View Full Code Here

Examples of org.jab.docsearch.spider.LinkFinder.update()

        logger.debug("doSpiderUpdate() Previously found link num total=" + oldSpiderLinks.size());

        LinkFinder ulf = new LinkFinder(idx.getPath(), linksListName, idx.getDepth(), ds, idx, oldSpiderLinks);
        ulf.init();
        try {
            ulf.update();
        }
        catch (IOException ioe) {
            logger.fatal("doSpiderUpdate() failed with IOException", ioe);
            ds.showMessage(I18n.getString("error"), ioe.toString());
        }
View Full Code Here

Examples of org.jamesii.core.experiments.execonfig.OverallParamBlockUpdate.update()

    Integer newParam = new Integer(23);
    OverallParamBlockUpdate update =
        new OverallParamBlockUpdate(PATH_ABSTRACT_FACTORY, NAME_PARAMETER,
            newParam);

    update.update(testBlock);

    assertTrue(afBlock1.hasSubBlock(NAME_PARAMETER));
    assertTrue(afBlock2.hasSubBlock(NAME_PARAMETER));
    assertEquals(23, afBlock1.getSubBlockValue(NAME_PARAMETER));
    assertEquals(23, afBlock2.getSubBlockValue(NAME_PARAMETER));
View Full Code Here

Examples of org.jamesii.core.experiments.execonfig.SingularParamBlockUpdate.update()

        new SingularParamBlockUpdate(new String[] { "just", "a", "test" },
            PATH_ABSTRACT_FACTORY, paramBlock);

    ParameterBlock testBlock = new ParameterBlock();

    update.update(testBlock);

    assertTrue(testBlock.hasSubBlock("just"));
    ParameterBlock justBlock = testBlock.getSubBlock("just");
    assertTrue(justBlock.hasSubBlock("a"));
    ParameterBlock aBlock = justBlock.getSubBlock("a");
View Full Code Here

Examples of org.jamesii.gui.utils.history.HistoryItem.update()

  }

  @Override
  public HistoryItem getTestObject() throws Exception {
    HistoryItem item = new HistoryItem("HelloWorld");
    item.update();
    return item;
  }

}
View Full Code Here

Examples of org.jasig.portal.groups.IEntityGroup.update()

             if ( group.isEditable() ) {
               IEntityGroup lg =
                 GroupService.findLockableGroup( group.getKey(), this.getClass().getName() );

               lg.removeMember( gm );
               lg.update();

               LOG.info("Removed " + userName + " from " + group.getKey());
             }// if
          }// for
View Full Code Here

Examples of org.jasig.portal.tools.dbloader.ISchemaExport.update()

            PortalShell.LOGGER.info("");
            PortalShell.LOGGER.info("Hibernate Update DDL: " + databaseQualifier);

            outputFile = StringUtils.trimToNull(outputFile);

            schemaExportBean.update(export, outputFile, true);
        }
        catch (Exception e) {
            throw new RuntimeException(target + " for " + databaseQualifier + " failed", e);
        }
       
View Full Code Here

Examples of org.jaudiotagger.audio.mp4.atom.Mp4BoxHeader.update()

        //logger.info("headerlengthsays:" + length + "datalength:" + metadataBuffer.limit());
        int read = 0;
        //logger.info("Started to read metadata fields at position is in metadata buffer:" + metadataBuffer.position());
        while (read < length) {
            //Read the boxHeader
            boxHeader.update(metadataBuffer);

            //Create the corresponding datafield from the id, and slice the buffer so position of main buffer
            //wont get affected
            //logger.info("Next position is at:" + metadataBuffer.position());
            createMp4Field(tag, boxHeader, metadataBuffer.slice());
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.