Package org.nextime.ion.framework.business

Examples of org.nextime.ion.framework.business.TypePublication


    try {
      Mapping.begin();
     
      Section section = Section.getInstance(id);
      String newId = IdGenerator.nextPublicationId();
      TypePublication type = TypePublication.getInstance(sform.getType());
      Publication publi = Publication.create(User.getInstance(request.getSession().getAttribute("userLogin")+""),newId,type, section.getMetaData("workflow")+"");
      section.addPublication(publi);
      publi.setMetaData("name", sform.getName());     
      request.setAttribute("id", newId);
View Full Code Here


       
        try {
          Mapping.begin();
         
          Publication publication = Publication.getInstance(id);
          TypePublication type = publication.getType();
          // list only XSL styles (not XSL-FO)
          Vector styleNames = type.listStyles();
          Vector styles = new Vector();
          for( int i=0; i<styleNames.size(); i++ ) {
            String n = styleNames.get(i).toString();
            if(((TypePublicationImpl)type).getStyleSheet(n).getType() == Style.XSL ) {
              styles.add(n);
View Full Code Here

TOP

Related Classes of org.nextime.ion.framework.business.TypePublication

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.