1 package org.jahia.services.shares; 18 19 import org.jahia.data.JahiaDOMObject; 20 import org.jahia.data.applications.ApplicationBean; 21 import org.jahia.exceptions.JahiaException; 22 import org.jahia.services.JahiaService; 23 import org.jahia.services.sites.JahiaSite; 24 25 import java.util.Enumeration ; 26 27 28 33 public abstract class AppsShareService extends JahiaService { 34 35 36 43 public abstract Enumeration getSites (ApplicationBean app) throws JahiaException; 44 45 46 52 public abstract void addShare (JahiaSite site, ApplicationBean app) throws JahiaException; 53 54 60 public abstract void removeShare (JahiaSite site, ApplicationBean app) 61 throws JahiaException; 62 63 68 public abstract void removeShares (JahiaSite site) throws JahiaException; 69 70 75 public abstract void removeShares (ApplicationBean app) throws JahiaException; 76 77 78 85 public abstract AppShare getShare (JahiaSite site, ApplicationBean app) 86 throws JahiaException; 87 88 89 99 public abstract JahiaDOMObject getApplicationSharesAsDOM (int siteID) 100 throws JahiaException; 101 102 103 } 104 105 | Popular Tags |