Examples of updateProcess()


Examples of org.infoglue.cms.applications.databeans.ProcessBean.updateProcess()

            publicationVO.setName("Direct publication by " + this.getInfoGluePrincipal().getName());
            publicationVO.setDescription(getVersionComment());
            publicationVO.setRepositoryId(repositoryId);
          publicationVO = PublicationController.getController().createAndPublish(publicationVO, events, newsiteNodeMap, newContentMap, overrideVersionModifyer, this.getInfoGluePrincipal());
     
          processBean.updateProcess("Creating publication"/*getLocalizedString(getLocale(), "tool.structuretool.publicationProcess.gettingItems")*/);
        }
        else
        {
                setActionMessage(userSessionKey, getLocalizedString(getLocale(), "tool.common.publishing.submitToPublishingInlineOperationDoneHeader"));
        }
View Full Code Here

Examples of org.infoglue.cms.applications.databeans.ProcessBean.updateProcess()

        siteNodeVersionIdList.add(new Integer(siteNodeIds[i]));
 
      Map<Integer,SiteNodeVO> siteNodeMap = SiteNodeController.getController().getSiteNodeVOMapWithNoStateCheck(siteNodeVersionIdList);
      Map<Integer,ContentVO> contentMap = new HashMap<Integer,ContentVO>();
 
      processBean.updateProcess("Found " + siteNodeMap.size() + " pages");

      //System.out.println("Read all siteNodes:" + siteNodeMap);
 
      /*
      for(Entry<Integer,SiteNodeVO> entry : siteNodeMap.entrySet())
View Full Code Here

Examples of org.infoglue.cms.applications.databeans.ProcessBean.updateProcess()

        logger.info("Publishing:" + siteNodeVersionId);
        SiteNodeVersionVO siteNodeVersion = SiteNodeStateController.getController().changeState(siteNodeVersionId, entry.getValue(), SiteNodeVersionVO.PUBLISH_STATE, getVersionComment(), this.overrideVersionModifyer, this.recipientFilter, this.getInfoGluePrincipal(), events);
      }
      */
 
      processBean.updateProcess("Processing " + siteNodeIds.length + " pages");
     
          for(int i=0; i < siteNodeIds.length; i++)
      {
            if (i % 10 == 0)
              processBean.updateLastDescription("Unpublished " + i + " pages");
View Full Code Here

Examples of org.infoglue.cms.applications.databeans.ProcessBean.updateProcess()

        siteNodeVersionIdList.add(new Integer(siteNodeIds[i]));
 
      Map<Integer,SiteNodeVO> siteNodeMap = SiteNodeController.getController().getSiteNodeVOMapWithNoStateCheck(siteNodeVersionIdList);
      Map<Integer,ContentVO> contentMap = new HashMap<Integer,ContentVO>();
 
      processBean.updateProcess("Found " + siteNodeMap.size() + " pages")
      processBean.updateProcess("Processing " + siteNodeIds.length + " pages");
     
          for(int i=0; i < siteNodeIds.length; i++)
      {
            if (i % 10 == 0)
View Full Code Here

Examples of org.infoglue.cms.applications.databeans.ProcessBean.updateProcess()

 
      Map<Integer,SiteNodeVO> siteNodeMap = SiteNodeController.getController().getSiteNodeVOMapWithNoStateCheck(siteNodeVersionIdList);
      Map<Integer,ContentVO> contentMap = new HashMap<Integer,ContentVO>();
 
      processBean.updateProcess("Found " + siteNodeMap.size() + " pages")
      processBean.updateProcess("Processing " + siteNodeIds.length + " pages");
     
          for(int i=0; i < siteNodeIds.length; i++)
      {
            if (i % 10 == 0)
              processBean.updateLastDescription("Unpublished " + i + " pages");
View Full Code Here

Examples of org.infoglue.cms.applications.databeans.ProcessBean.updateProcess()

        //Set<ContentVersionVO> contentVersionVOList = new HashSet<ContentVersionVO>();
 
        ContentVersionController.getContentVersionController().getContentAndAffectedItemsRecursive(this.contentId, ContentVersionVO.WORKING_STATE, this.siteNodeVersionVOList, this.contentVersionVOList, true, true, processBean);
        RequestAnalyser.getRequestAnalyser().registerComponentStatistics("ViewListContentVersion getContentAndAffectedItemsRecursive", t.getElapsedTime());
       
        processBean.updateProcess("Found " + this.siteNodeVersionVOList.size() + " pages and " + this.contentVersionVOList.size() + " contents");
       
        /*
        Set<ContentVersionVO> contentVersionVOListSet = new HashSet<ContentVersionVO>();
        for(Integer contentVersionId : contentVersionVOSet)
        {
View Full Code Here

Examples of org.infoglue.cms.applications.databeans.ProcessBean.updateProcess()

                logger.warn("An error occurred so we should not complete the transaction:" + e, e);
                rollbackTransaction(db);
                throw new SystemException(e.getMessage());
            }
 
        processBean.updateProcess("Added metadata");

          Collections.sort(contentVersionVOList, Collections.reverseOrder(new ReflectionComparator("modifiedDateTime")));
             
        Set siteNodeVersionVOListSet = new HashSet();
        siteNodeVersionVOListSet.addAll(siteNodeVersionVOList);
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.