1 package org.jahia.services.homepages; 18 19 import java.util.Enumeration ; 20 import java.util.Hashtable ; 21 import java.util.Vector ; 22 23 import org.jahia.data.JahiaDOMObject; 24 import org.jahia.exceptions.JahiaException; 25 import org.jahia.services.JahiaService; 26 import org.jahia.services.sites.JahiaSite; 27 28 33 public abstract class JahiaHomepagesService extends JahiaService 34 { 35 36 42 public abstract Enumeration getHomepages() throws JahiaException; 43 44 45 51 public abstract Enumeration getHomepages(JahiaSite site) 52 throws JahiaException; 53 54 55 62 public abstract JahiaHomepage getHomepage( int id ) 63 throws JahiaException; 64 65 66 79 public abstract JahiaHomepage createHomepage( String name, 80 String descr, 81 String siteKey, 82 int type, 83 Hashtable props, 84 int aclID 85 ) throws JahiaException ; 86 87 88 94 public abstract void deleteHomepage( int id ) 95 throws JahiaException ; 96 97 98 106 public abstract void saveHomepage( JahiaHomepage hp, int parentAclID ) 107 throws JahiaException ; 108 109 110 116 public abstract JahiaDOMObject getHomepageDefsAsDOM( String siteKey ) 117 throws JahiaException ; 118 119 125 public abstract JahiaDOMObject getHomepageDefPropsAsDOM( String siteKey ) 126 throws JahiaException ; 127 128 135 public abstract Vector getAclIDs( String siteKey ) 136 throws JahiaException; 137 138 139 140 } 141 142 | Popular Tags |