org.sakaiproject.service.legacy.preference.cover
Class PreferencesService

java.lang.Object
  extended byorg.sakaiproject.service.legacy.preference.cover.PreferencesService

public class PreferencesService
extends Object

PreferencesService is a static Cover for the PreferencesService; 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_PREFS
           
static String SECURE_EDIT_PREFS
           
static String SECURE_REMOVE_PREFS
           
static String SERVICE_NAME
           
 
Constructor Summary
PreferencesService()
           
 
Method Summary
static PreferencesEdit add(String param0)
           
static boolean allowUpdate(String param0)
           
static void cancel(PreferencesEdit param0)
           
static void commit(PreferencesEdit param0)
           
static PreferencesEdit edit(String param0)
           
static PreferencesService getInstance()
          Access the component instance: special cover only method.
static Preferences getPreferences(String param0)
           
static void remove(PreferencesEdit 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_PREFS

public static String SECURE_ADD_PREFS

SECURE_EDIT_PREFS

public static String SECURE_EDIT_PREFS

SECURE_REMOVE_PREFS

public static String SECURE_REMOVE_PREFS
Constructor Detail

PreferencesService

public PreferencesService()
Method Detail

getInstance

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

Returns:
the component instance.

commit

public static void commit(PreferencesEdit param0)

getPreferences

public static Preferences getPreferences(String param0)

allowUpdate

public static boolean allowUpdate(String param0)

add

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

remove

public static void remove(PreferencesEdit param0)

cancel

public static void cancel(PreferencesEdit param0)

edit

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