Package org.infoglue.cms.entities.management

Examples of org.infoglue.cms.entities.management.RepositoryVO


     private String userSessionKey;
    private String returnAddress;

  public CreateRepositoryAction()
  {
    this(new RepositoryVO());
  }
View Full Code Here


    return "input";
  }

  public String doInputCopy() throws Exception
  {
    RepositoryVO repositoryVO = RepositoryController.getController().getRepositoryVOWithId(repositoryId);
   
    standardReplacement = repositoryVO.getName() + "=" + repositoryVO.getName() + " copy";
   
    return "inputCopy";
  }
View Full Code Here

      if(repositoryId == null)
      {
          List repositories = RepositoryController.getController().getAuthorizedRepositoryVOList(this.getInfoGluePrincipal(), false);
          for(Iterator i=repositories.iterator();i.hasNext();)
          {
              RepositoryVO r = (RepositoryVO) i.next();
          ContentVO contentVO = ContentControllerProxy.getController().getRootContentVO(r.getId(), this.getInfoGluePrincipal().getName());
             
          String src= action + "?repositoryId=" + r.getId() + urlArgSeparator + "parent=" + contentVO.getId();
        if(createAction && src.length() >0) src += urlArgSeparator + "createAction=true";
        if(action.length()>0 && src.length() >0) src += urlArgSeparator + "action=" + action;
        String allowedContentTypeIdsUrlEncodedString = getAllowedContentTypeIdsAsUrlEncodedString();
          if(allowedContentTypeIdsUrlEncodedString.length()>0 && src.length() >0) src += urlArgSeparator + allowedContentTypeIdsUrlEncodedString;
              String text=r.getName();
              Element element = root.addElement("tree");
              element
            .addAttribute("id", "" + r.getId())
                .addAttribute("repositoryId", "" + r.getId())
                .addAttribute("text", text)
                .addAttribute("src", src)
                .addAttribute("type", TYPE_REPOSITORY);
          }
          out(getFormattedDocument(doc));
View Full Code Here

TOP

Related Classes of org.infoglue.cms.entities.management.RepositoryVO

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.