org.sakaiproject.service.legacy.authzGroup.cover
Class AuthzGroupService

java.lang.Object
  extended byorg.sakaiproject.service.legacy.authzGroup.cover.AuthzGroupService

public class AuthzGroupService
extends Object

AuthzGroupService is a static Cover for the AuthzGroupService; see that interface for usage details.

Version:
$Revision: 3310 $
Author:
University of Michigan, Sakai Software Development Team

Field Summary
static String ANON_ROLE
           
static String AUTH_ROLE
           
static String REFERENCE_ROOT
           
static String SECURE_ADD_AUTHZ_GROUP
           
static String SECURE_REMOVE_AUTHZ_GROUP
           
static String SECURE_UPDATE_AUTHZ_GROUP
           
static String SECURE_UPDATE_OWN_AUTHZ_GROUP
           
static String SERVICE_NAME
           
 
Constructor Summary
AuthzGroupService()
           
 
Method Summary
static AuthzGroup addAuthzGroup(String param0)
           
static AuthzGroup addAuthzGroup(String param0, AuthzGroup param1, String param2)
           
static boolean allowAdd(String param0)
           
static boolean allowJoinGroup(String param0)
           
static boolean allowRemove(String param0)
           
static boolean allowUnjoinGroup(String param0)
           
static boolean allowUpdate(String param0)
           
static String authzGroupReference(String param0)
           
static int countAuthzGroups(String param0)
           
static Set getAllowedFunctions(String param0, Collection param1)
           
static AuthzGroup getAuthzGroup(String param0)
           
static List getAuthzGroups(String param0, PagingPosition param1)
           
static Set getAuthzGroupsIsAllowed(String param0, String param1, Collection param2)
           
static AuthzGroupService getInstance()
          Access the component instance: special cover only method.
static String getUserRole(String param0, String param1)
           
static Set getUsersIsAllowed(String param0, Collection param1)
           
static Map getUsersRole(Collection param0, String param1)
           
static boolean isAllowed(String param0, String param1, Collection param2)
           
static boolean isAllowed(String param0, String param1, String param2)
           
static void joinGroup(String param0, String param1)
           
static AuthzGroup newAuthzGroup(String param0, AuthzGroup param1, String param2)
           
static void refreshUser(String param0)
           
static void removeAuthzGroup(AuthzGroup param0)
           
static void removeAuthzGroup(String param0)
           
static void save(AuthzGroup param0)
           
static void unjoinGroup(String param0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVICE_NAME

public static String SERVICE_NAME

REFERENCE_ROOT

public static String REFERENCE_ROOT

SECURE_ADD_AUTHZ_GROUP

public static String SECURE_ADD_AUTHZ_GROUP

SECURE_REMOVE_AUTHZ_GROUP

public static String SECURE_REMOVE_AUTHZ_GROUP

SECURE_UPDATE_AUTHZ_GROUP

public static String SECURE_UPDATE_AUTHZ_GROUP

SECURE_UPDATE_OWN_AUTHZ_GROUP

public static String SECURE_UPDATE_OWN_AUTHZ_GROUP

ANON_ROLE

public static String ANON_ROLE

AUTH_ROLE

public static String AUTH_ROLE
Constructor Detail

AuthzGroupService

public AuthzGroupService()
Method Detail

getInstance

public static AuthzGroupService getInstance()
Access the component instance: special cover only method.

Returns:
the component instance.

getAuthzGroups

public static List getAuthzGroups(String param0,
                                  PagingPosition param1)

countAuthzGroups

public static int countAuthzGroups(String param0)

getAuthzGroup

public static AuthzGroup getAuthzGroup(String param0)
                                throws IdUnusedException
Throws:
IdUnusedException

allowUpdate

public static boolean allowUpdate(String param0)

save

public static void save(AuthzGroup param0)
                 throws IdUnusedException,
                        PermissionException
Throws:
IdUnusedException
PermissionException

allowAdd

public static boolean allowAdd(String param0)

addAuthzGroup

public static AuthzGroup addAuthzGroup(String param0)
                                throws IdInvalidException,
                                       IdUsedException,
                                       PermissionException
Throws:
IdInvalidException
IdUsedException
PermissionException

addAuthzGroup

public static AuthzGroup addAuthzGroup(String param0,
                                       AuthzGroup param1,
                                       String param2)
                                throws IdInvalidException,
                                       IdUsedException,
                                       PermissionException
Throws:
IdInvalidException
IdUsedException
PermissionException

newAuthzGroup

public static AuthzGroup newAuthzGroup(String param0,
                                       AuthzGroup param1,
                                       String param2)
                                throws IdUsedException
Throws:
IdUsedException

allowRemove

public static boolean allowRemove(String param0)

removeAuthzGroup

public static void removeAuthzGroup(AuthzGroup param0)
                             throws PermissionException
Throws:
PermissionException

removeAuthzGroup

public static void removeAuthzGroup(String param0)
                             throws PermissionException
Throws:
PermissionException

authzGroupReference

public static String authzGroupReference(String param0)

joinGroup

public static void joinGroup(String param0,
                             String param1)
                      throws IdUnusedException,
                             PermissionException
Throws:
IdUnusedException
PermissionException

unjoinGroup

public static void unjoinGroup(String param0)
                        throws IdUnusedException,
                               PermissionException
Throws:
IdUnusedException
PermissionException

allowJoinGroup

public static boolean allowJoinGroup(String param0)

allowUnjoinGroup

public static boolean allowUnjoinGroup(String param0)

getUsersIsAllowed

public static Set getUsersIsAllowed(String param0,
                                    Collection param1)

getAuthzGroupsIsAllowed

public static Set getAuthzGroupsIsAllowed(String param0,
                                          String param1,
                                          Collection param2)

getAllowedFunctions

public static Set getAllowedFunctions(String param0,
                                      Collection param1)

refreshUser

public static void refreshUser(String param0)

isAllowed

public static boolean isAllowed(String param0,
                                String param1,
                                Collection param2)

isAllowed

public static boolean isAllowed(String param0,
                                String param1,
                                String param2)

getUserRole

public static String getUserRole(String param0,
                                 String param1)

getUsersRole

public static Map getUsersRole(Collection param0,
                               String param1)