org.sakaiproject.service.legacy.alias.cover
Class AliasService

java.lang.Object
  extended byorg.sakaiproject.service.legacy.alias.cover.AliasService

public class AliasService
extends Object

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

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

Field Summary
static String REFERENCE_ROOT
           
static String SECURE_ADD_ALIAS
           
static String SECURE_REMOVE_ALIAS
           
static String SECURE_UPDATE_ALIAS
           
static String SERVICE_NAME
           
 
Constructor Summary
AliasService()
           
 
Method Summary
static AliasEdit add(String param0)
           
static String aliasReference(String param0)
           
static boolean allowAdd()
           
static boolean allowEdit(String param0)
           
static boolean allowRemoveAlias(String param0)
           
static boolean allowRemoveTargetAliases(String param0)
           
static boolean allowSetAlias(String param0, String param1)
           
static void cancel(AliasEdit param0)
           
static void commit(AliasEdit param0)
           
static int countAliases()
           
static int countSearchAliases(String param0)
           
static AliasEdit edit(String param0)
           
static List getAliases(int param0, int param1)
           
static List getAliases(String param0)
           
static List getAliases(String param0, int param1, int param2)
           
static AliasService getInstance()
          Access the component instance: special cover only method.
static String getTarget(String param0)
           
static void remove(AliasEdit param0)
           
static void removeAlias(String param0)
           
static void removeTargetAliases(String param0)
           
static List searchAliases(String param0, int param1, int param2)
           
static void setAlias(String param0, String param1)
           
 
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_ALIAS

public static String SECURE_ADD_ALIAS

SECURE_UPDATE_ALIAS

public static String SECURE_UPDATE_ALIAS

SECURE_REMOVE_ALIAS

public static String SECURE_REMOVE_ALIAS
Constructor Detail

AliasService

public AliasService()
Method Detail

getInstance

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

Returns:
the component instance.

allowSetAlias

public static boolean allowSetAlias(String param0,
                                    String param1)

setAlias

public static void setAlias(String param0,
                            String param1)
                     throws IdUsedException,
                            IdInvalidException,
                            PermissionException
Throws:
IdUsedException
IdInvalidException
PermissionException

allowRemoveAlias

public static boolean allowRemoveAlias(String param0)

removeAlias

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

allowRemoveTargetAliases

public static boolean allowRemoveTargetAliases(String param0)

removeTargetAliases

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

getAliases

public static List getAliases(int param0,
                              int param1)

getAliases

public static List getAliases(String param0)

getAliases

public static List getAliases(String param0,
                              int param1,
                              int param2)

countAliases

public static int countAliases()

searchAliases

public static List searchAliases(String param0,
                                 int param1,
                                 int param2)

countSearchAliases

public static int countSearchAliases(String param0)

aliasReference

public static String aliasReference(String param0)

allowAdd

public static boolean allowAdd()

allowEdit

public static boolean allowEdit(String param0)

commit

public static void commit(AliasEdit param0)

add

public static AliasEdit add(String param0)
                     throws IdInvalidException,
                            IdUsedException,
                            PermissionException
Throws:
IdInvalidException
IdUsedException
PermissionException

remove

public static void remove(AliasEdit param0)
                   throws PermissionException
Throws:
PermissionException

cancel

public static void cancel(AliasEdit param0)

getTarget

public static String getTarget(String param0)
                        throws IdUnusedException
Throws:
IdUnusedException

edit

public static AliasEdit edit(String param0)
                      throws IdUnusedException,
                             PermissionException,
                             InUseException
Throws:
IdUnusedException
PermissionException
InUseException