Examples of updateProcess()


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

        if(protectedContentId != null && !AccessRightController.getController().getIsPrincipalAuthorized(this.getInfoGluePrincipal(), "Content.SubmitToPublish", protectedContentId.toString()))
          ceb.add(new AccessConstraintException("Content.contentId", "1005"));
       
        ceb.throwIfNotEmpty();
 
        processBean.updateProcess("Getting child contents available for unpublish");
       
        contentVOList = ContentController.getContentController().getContentVOWithParentRecursive(contentId, processBean);
      }
    }
    finally
View Full Code Here

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

          for(String contentIdString : contentIdStrings)
          {
            contentIds.add(new Integer(contentIdString));
          }
         
          processBean.updateProcess("Searching for all published versions.");
          List<SmallestContentVersionVO> contentVersionsVOList = ContentVersionController.getContentVersionController().getPublishedActiveContentVersionVOList(contentIds, db);
          Map checkedLanguages = new HashMap();
          processBean.updateProcess("Found " + contentVersionsVOList.size() + " versions");
         
          for(SmallestContentVersionVO contentVersionVO : contentVersionsVOList)
View Full Code Here

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

          }
         
          processBean.updateProcess("Searching for all published versions.");
          List<SmallestContentVersionVO> contentVersionsVOList = ContentVersionController.getContentVersionController().getPublishedActiveContentVersionVOList(contentIds, db);
          Map checkedLanguages = new HashMap();
          processBean.updateProcess("Found " + contentVersionsVOList.size() + " versions");
         
          for(SmallestContentVersionVO contentVersionVO : contentVersionsVOList)
          {
        if(checkedLanguages.get(contentVersionVO.getLanguageId()) == null)
        {
View Full Code Here

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

          }
          i++;
          }
        }

            processBean.updateProcess("Finished - cleaning up");
            Thread.sleep(1000);
    }
    catch(Exception e)
    {
      logger.error("Error in copy site nodes:" + e.getMessage(), e);
View Full Code Here

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

              }
            }
          }
        }
 
        processBean.updateProcess(getLocalizedString(getLocale(), "tool.structuretool.publicationProcess.gettingItems"));
       
        Set<SiteNodeVersionVO> siteNodeVersionVOList = new HashSet<SiteNodeVersionVO>();
        Set<ContentVersionVO> contentVersionVOList = new HashSet<ContentVersionVO>();
       
        SiteNodeVersionController.getController().getSiteNodeAndAffectedItemsRecursive(this.siteNodeId, SiteNodeVersionVO.WORKING_STATE, siteNodeVersionVOList, contentVersionVOList, false, recurseSiteNodes, this.getInfoGluePrincipal(), processBean, getLocale(), -1);
View Full Code Here

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

        Set<ContentVersionVO> contentVersionVOList = new HashSet<ContentVersionVO>();
       
        SiteNodeVersionController.getController().getSiteNodeAndAffectedItemsRecursive(this.siteNodeId, SiteNodeVersionVO.WORKING_STATE, siteNodeVersionVOList, contentVersionVOList, false, recurseSiteNodes, this.getInfoGluePrincipal(), processBean, getLocale(), -1);
        RequestAnalyser.getRequestAnalyser().registerComponentStatistics("ViewListContentVersion.getSiteNodeAndAffectedItemsRecursive", t.getElapsedTime());
       
        processBean.updateProcess(getLocalizedString(getLocale(), "tool.structuretool.publicationProcess.found", siteNodeVersionVOList.size() + "/" + contentVersionVOList.size()));
        processBean.updateProcess(getLocalizedString(getLocale(), "tool.structuretool.publicationProcess.gettingMetaData"));
       
        Database db = CastorDatabaseService.getDatabase();
 
            beginTransaction(db);
View Full Code Here

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

       
        SiteNodeVersionController.getController().getSiteNodeAndAffectedItemsRecursive(this.siteNodeId, SiteNodeVersionVO.WORKING_STATE, siteNodeVersionVOList, contentVersionVOList, false, recurseSiteNodes, this.getInfoGluePrincipal(), processBean, getLocale(), -1);
        RequestAnalyser.getRequestAnalyser().registerComponentStatistics("ViewListContentVersion.getSiteNodeAndAffectedItemsRecursive", t.getElapsedTime());
       
        processBean.updateProcess(getLocalizedString(getLocale(), "tool.structuretool.publicationProcess.found", siteNodeVersionVOList.size() + "/" + contentVersionVOList.size()));
        processBean.updateProcess(getLocalizedString(getLocale(), "tool.structuretool.publicationProcess.gettingMetaData"));
       
        Database db = CastorDatabaseService.getDatabase();
 
            beginTransaction(db);
 
View Full Code Here

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

          }

            this.siteNodeVersionVOList.addAll(siteNodeVersionVOList);
            Collections.sort(this.siteNodeVersionVOList, Collections.reverseOrder(new ReflectionComparator("modifiedDateTime")));
 
          processBean.updateProcess("Getting modifier and path to found contents.");
 
          for(ContentVersionVO contentVersionVO : contentVersionVOList)
          {
            if(contentVersionVO.getStateId() == 0
            {
View Full Code Here

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

   
        Map<Integer,SiteNodeVO> newsiteNodeMap = new HashMap<Integer,SiteNodeVO>();
        Map<Integer,ContentVO> newContentMap = new HashMap<Integer,ContentVO>();
   
        Map<Integer,SiteNodeVO> siteNodeMap = SiteNodeController.getController().getSiteNodeVOMapWithNoStateCheck(siteNodeVersionId);
        processBean.updateProcess("Read " + siteNodeMap.size() + " pages to change state on" /*getLocalizedString(getLocale(), "tool.structuretool.publicationProcess.gettingItems")*/);
        for(Entry<Integer,SiteNodeVO> entry : siteNodeMap.entrySet())
        {
          Integer siteNodeVersionId = entry.getKey();
          logger.info("Publishing:" + siteNodeVersionId);
          SiteNodeVersionVO siteNodeVersion = SiteNodeStateController.getController().changeState(siteNodeVersionId, entry.getValue(), SiteNodeVersionVO.PUBLISH_STATE, getVersionComment(), this.overrideVersionModifyer, this.recipientFilter, this.getInfoGluePrincipal(), events);
View Full Code Here

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

        */
       
        setContentVersionId( getRequest().getParameterValues("selContentVersions") );
       
        Map<Integer,ContentVO> contentMap = ContentController.getContentController().getContentVOMapWithNoStateCheck(contentVersionId);
        processBean.updateProcess("Read " + contentMap.size() + " contents to change state on" /*getLocalizedString(getLocale(), "tool.structuretool.publicationProcess.gettingItems")*/);
        processBean.updateLastDescription("Processing pages");
 
        for(Entry<Integer,ContentVO> entry : contentMap.entrySet())
        {
          Integer contentVersionId = entry.getKey();
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.