1 package org.jahia.services.usermanager; 2 3 import org.jahia.data.JahiaDOMObject; 4 import org.jahia.exceptions.JahiaException; 5 import org.jahia.services.JahiaService; 6 7 import java.util.Properties ; 8 import java.util.Vector ; 9 10 19 20 public abstract class JahiaGroupManagerProvider extends JahiaService { 21 22 32 public abstract JahiaGroup createGroup (int siteID, String name, Properties properties); 33 34 46 public abstract JahiaGroup lookupGroup (int siteID, String name); 47 48 58 public abstract JahiaGroup lookupGroup (String groupKey); 59 60 70 public abstract boolean groupExists (int siteID, String name); 71 72 79 public abstract boolean removeUserFromAllGroups (JahiaUser user); 80 81 87 public abstract Vector getGroupnameList (); 88 89 97 public abstract Vector getGroupnameList (int siteID); 98 99 109 public abstract Vector getGroupList (int siteID); 110 111 121 public abstract Vector getGroupList (); 122 123 132 public abstract Vector getUserMembership (JahiaUser user); 133 134 137 public abstract JahiaGroup getAdministratorGroup (int siteID); 138 139 148 public abstract Vector getAdminGrantedSites (JahiaUser user) throws JahiaException; 149 150 155 public abstract JahiaGroup getUsersGroup (int siteID); 156 157 162 public abstract JahiaGroup getGuestGroup (int siteID); 163 164 173 public abstract JahiaDOMObject getGroupsAsDOM (int siteID) throws JahiaException; 174 175 184 public abstract JahiaDOMObject getGroupPropsAsDOM (int siteID) throws JahiaException; 185 186 195 public abstract JahiaDOMObject getAppRoleGroupsAsDOM (int siteID) throws JahiaException; 196 197 206 public abstract JahiaDOMObject getUserGroupAccessAsDOM (int siteID) throws JahiaException; 207 208 218 public abstract JahiaDOMObject getAppGroupAccessAsDOM (int siteID) throws JahiaException; 219 220 226 public abstract void updateCache(JahiaGroup jahiaGroup); 227 228 } 229 | Popular Tags |