1 13 package org.jahia.services.usermanager; 14 15 import org.jahia.data.JahiaDOMObject; 16 import org.jahia.exceptions.JahiaException; 17 import org.jahia.services.JahiaService; 18 19 import java.util.Hashtable ; 20 import java.util.Vector ; 21 22 23 28 public abstract class JahiaSiteUserManagerService extends JahiaService { 29 30 31 37 public abstract boolean addMember (int siteID, JahiaUser user) throws JahiaException; 38 39 40 46 public abstract boolean removeMember (int siteID, JahiaUser user) throws JahiaException; 47 48 49 54 public abstract boolean removeMember (JahiaUser user) throws JahiaException; 55 56 57 62 public abstract boolean removeMembers (int siteID) throws JahiaException; 63 64 65 72 public abstract Hashtable getMembersMap (int siteID) throws JahiaException; 73 74 75 82 public abstract Vector getMembers (int siteID) throws JahiaException; 83 84 85 93 public abstract JahiaUser getMember (int siteID, String username) throws JahiaException; 94 95 96 103 public abstract JahiaDOMObject getUserMembershipsAsDOM (int siteID) 104 throws JahiaException; 105 106 107 115 public abstract JahiaDOMObject getAuthExternalUsersAsDOM (int siteID) 116 throws JahiaException; 117 118 119 public abstract void refreshUser(int id, String username); 120 } 121 | Popular Tags |