Package org.infoglue.cms.entities.structure

Examples of org.infoglue.cms.entities.structure.ServiceBindingVO


      Collection serviceBindings = originalSiteNodeVersion.getServiceBindings()
      Iterator iterator = serviceBindings.iterator();
      while(iterator.hasNext())
      {
        ServiceBinding serviceBinding = (ServiceBinding)iterator.next();
        ServiceBindingVO serviceBindingVO = serviceBinding.getValueObject();     
        ServiceBindingVO newServiceBindingVO = new ServiceBindingVO();
        newServiceBindingVO.setBindingTypeId(serviceBindingVO.getBindingTypeId());
        newServiceBindingVO.setName(serviceBindingVO.getName());
        newServiceBindingVO.setPath(serviceBindingVO.getPath());
        ServiceBinding newServiceBinding = ServiceBindingController.create(newServiceBindingVO, serviceBinding.getAvailableServiceBinding().getAvailableServiceBindingId(), newSiteNodeVersion.getSiteNodeVersionId(), serviceBinding.getServiceDefinition().getServiceDefinitionId(), db);
        newSiteNodeVersion.getServiceBindings().add(newServiceBinding);
        copyQualifyers(serviceBinding, newServiceBinding, db);
      }
      }
View Full Code Here


          }
          ContentVersionController.getContentVersionController().update(contentVO.getId(), contentVersionVO.getLanguageId(), contentVersionVO, db);
        }
      }

          ServiceBindingVO serviceBindingVO = new ServiceBindingVO();
          serviceBindingVO.setName(newSiteNode.getName() + " Metainfo");
          serviceBindingVO.setPath("/None specified/");
       
          String qualifyerXML = "<?xml version='1.0' encoding='UTF-8'?><qualifyer><contentId>" + contentVO.getId() + "</contentId></qualifyer>";
       
          //ServiceBindingController.getController().create(db, serviceBindingVO, qualifyerXML, availableServiceBindingId, siteNodeVersionVO.getId(), singleServiceDefinitionVO.getId()); 
          //RequestAnalyser.getRequestAnalyser().registerComponentStatistics("meta info service bind", t.getElapsedTime());
View Full Code Here

   * is handling.
   */

  public BaseEntityVO getNewVO()
  {
    return new ServiceBindingVO();
  }
View Full Code Here

     private ServiceBindingVO serviceBindingVO = null;
  
 
    public ViewMultiSelectStructureTreeForServiceBindingAction()
  {
    this(new ServiceBindingVO());
  }
View Full Code Here

     private ServiceBindingVO serviceBindingVO = null;
  
 
    public DeleteServiceBindingAction()
  {
    this(new ServiceBindingVO());
  }
View Full Code Here

     private ServiceBindingVO serviceBindingVO = null;
  
 
    public ViewStructureTreeForServiceBindingAction()
  {
    this(new ServiceBindingVO());
  }
View Full Code Here

     private ServiceBindingVO serviceBindingVO = null;
  
 
    public CreateServiceBindingAction()
  {
    this(new ServiceBindingVO());
  }
View Full Code Here

     private ServiceBindingVO serviceBindingVO = null;
  
 
    public ViewContentTreeForServiceBindingAction()
  {
    this(new ServiceBindingVO());
  }
View Full Code Here

     private ServiceBindingVO serviceBindingVO = null;
  
 
    public ViewListTemplateAction()
  {
    this(new ServiceBindingVO());
  }
View Full Code Here

              {
                List serviceBindings = SiteNodeVersionController.getServiceBindningVOList(this.siteNodeVersionVO.getId(), db);
                Iterator serviceBindingIterator = serviceBindings.iterator();
                while(serviceBindingIterator.hasNext())
                {
                  ServiceBindingVO serviceBindingVO = (ServiceBindingVO)serviceBindingIterator.next();
                  if(serviceBindingVO.getAvailableServiceBindingId().intValue() == metaInfoAvailableServiceBindingId.intValue())
                  {
                    List boundContents = ContentController.getInTransactionBoundContents(db, serviceBindingVO.getServiceBindingId());      
                    if(boundContents.size() > 0)
                      {
                        ContentVO contentVO = (ContentVO)boundContents.get(0);
                        metaInfoContentId = contentVO.getId();
                        metaInfoContentVersionVO = ContentVersionController.getContentVersionController().getLatestActiveContentVersionVO(contentVO.getId(), languageId, db);
View Full Code Here

TOP

Related Classes of org.infoglue.cms.entities.structure.ServiceBindingVO

Copyright © 2018 www.massapicom. 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.