1 13 19 package org.jahia.services.applications; 20 21 import org.jahia.data.JahiaDOMObject; 22 import org.jahia.data.applications.ApplicationBean; 23 import org.jahia.data.fields.JahiaField; 24 import org.jahia.exceptions.JahiaException; 25 import org.jahia.services.JahiaService; 26 27 import java.util.Vector ; 28 29 30 36 public abstract class JahiaApplicationsManagerService extends JahiaService { 37 38 39 45 public abstract Vector getWebSites () 46 throws JahiaException; 47 48 56 public abstract ApplicationBean getApplication (int appID) 57 throws JahiaException; 58 59 67 public abstract ApplicationBean getApplication (String context) 68 throws JahiaException; 69 70 76 public abstract Vector getApplications () 77 throws JahiaException; 78 79 87 public abstract Vector getApplications (int jahiaID) 88 throws JahiaException; 89 90 99 public abstract boolean setVisible (int appID, boolean visible) 100 throws JahiaException; 101 102 111 public abstract boolean addDefinition (ApplicationBean app) 112 throws JahiaException; 113 114 123 public abstract boolean saveDefinition (ApplicationBean app) 124 throws JahiaException; 125 126 137 public abstract void removeApplication (int appID) 138 throws JahiaException; 139 140 146 public abstract void deleteApplicationGroups (ApplicationBean app) 147 throws JahiaException; 148 149 153 public abstract void createApplicationGroups (ApplicationBean theApp, JahiaField theField) 154 throws JahiaException; 155 156 161 public abstract void deleteApplicationGroups (ApplicationBean theApp, JahiaField theField) 162 throws JahiaException; 163 164 172 public abstract JahiaDOMObject getApplicationDefsAsDOM (int siteID) 173 throws JahiaException; 174 175 176 } | Popular Tags |