1 8 12 package org.jahia.services.applications; 13 14 import org.jahia.data.JahiaDOMObject; 15 import org.jahia.data.applications.ApplicationBean; 16 import org.jahia.exceptions.JahiaException; 17 import org.jahia.services.JahiaService; 18 import org.jahia.services.usermanager.JahiaUser; 19 20 import java.util.Vector ; 21 22 23 33 34 public abstract class JahiaApplicationsPersistanceService extends JahiaService { 35 36 37 43 public abstract Vector getWebSites () throws JahiaException; 44 45 46 58 public abstract Vector get_applications_list (boolean visibleOnly) throws JahiaException; 59 60 61 75 public abstract Vector get_applications_list (int jahiaID, boolean visibleOnly) 76 throws JahiaException; 77 78 88 public abstract ApplicationBean get_application_definition (int appID) 89 throws JahiaException; 90 91 94 public abstract ApplicationBean get_application_definition (String context) 95 throws JahiaException; 96 97 98 106 public abstract void add_application (ApplicationBean theApp) 107 throws JahiaException; 108 109 119 public abstract void update_application (ApplicationBean theApp) 120 throws JahiaException; 121 122 132 public abstract void removeApplication (ApplicationBean theApp) 133 throws JahiaException; 134 135 145 public abstract void removeApplication (int appID) 146 throws JahiaException; 147 148 155 public abstract JahiaDOMObject getApplicationDefsAsDOM (int siteID) 156 throws JahiaException; 157 158 159 public abstract void fake_create_application_groups (ApplicationBean theApp, 169 int fieldID, 170 JahiaUser user) 171 throws JahiaException; 172 173 } 174 | Popular Tags |