1 54 55 package org.apache.jetspeed.services.cms.manager; 56 57 import java.util.Vector ; 59 60 import org.apache.jetspeed.services.cms.JetspeedCMSException; 62 import org.apache.jetspeed.om.cms.*; 63 import org.apache.turbine.util.upload.FileItem; 64 65 70 public interface CmsManager 71 { 72 73 78 void init (String namespace) 79 throws JetspeedCMSException; 80 81 86 public void exportRepository (String xmlFileName) 87 throws JetspeedCMSException; 88 89 95 public void populateCatalog (Catalog catalog) 96 throws JetspeedCMSException; 97 98 106 public void populateCatalog (Catalog catalog, 107 boolean withSubCatalog, boolean withContent) 108 throws JetspeedCMSException; 109 110 119 public void populateCatalog (Catalog catalog, 120 boolean withSubCatalog, boolean withContent, 121 int numberOfLevels ) 122 throws JetspeedCMSException ; 123 124 130 public Vector getUriList (String parentUri) 131 throws JetspeedCMSException; 132 133 134 141 public Resource getResource (String uri ) 142 throws JetspeedCMSException ; 143 144 152 153 154 public Vector getCatalogs(String fromUri, String toUri) 155 throws JetspeedCMSException ; 156 157 162 public Vector getSecurity (String uri ) 163 throws JetspeedCMSException ; 164 165 174 public void grantPermission (String objectUri , String userUri, 175 String actionUri, boolean inheritable, 176 boolean negative) 177 throws JetspeedCMSException ; 178 183 public void createResource (Resource resource) 184 throws JetspeedCMSException ; 185 191 public void createResource (Resource resource, FileItem stream) 192 throws JetspeedCMSException; 193 194 199 public void createLink (Link link) 200 throws JetspeedCMSException; 201 } 202 | Popular Tags |