Examples of CmsProject


Examples of org.opencms.file.CmsProject

  
   * @param projectName
   * @throws Exception
   */
  public void saveAndPublish(String projectName) throws Exception {
    CmsProject oldProject = cms.getRequestContext().currentProject();
    cms.getRequestContext().setCurrentProject(cms.readProject(projectName));
   
    CmsFile file = content.getFile();
    file.setContents(content.marshal());
    cms.lockResource(file.getRootPath());
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.