Novell exteNd
Director 5.2 API

com.sssw.fw.usermgr.api
Interface EbiGroupPreferenceDelegate

All Superinterfaces:
EbiDelegate

public interface EbiGroupPreferenceDelegate
extends EbiDelegate

Group Preference Delegate that is Provided as a facade to access group preference related information either from the local personalize manager or through EJB api provided by the user service.


Fields inherited from interface com.sssw.fw.api.EbiDelegate
SERVICE_LOCAL, SERVICE_REMOTE
 
Method Summary
 boolean addGroupPreference(EbiContext context, EbiGroupPreferenceInfo groupPref)
          Adds a group preference info.
 EbiGroupPreferenceInfo createGroupPreferenceInfo()
          Gets a new group preference info object for use in group preference creation.
 EbiGroupPreferenceInfo getGroupPreference(EbiContext context, String elementType, String elementID)
          Gets a group preference info.
 EbiGroupPreferenceInfo[] getGroupPreferences(EbiContext context, String elementType)
          Gets group preference info list for a specified element type.
 boolean modifyGroupPreference(EbiContext context, EbiGroupPreferenceInfo groupPref)
          Modifies a group preference info.
 boolean removeGroupPreference(EbiContext context, String elementType, String elementID)
          Removes a group preference info.
 boolean removeGroupPreferences(EbiContext context, String elementType)
          Removes group preference info objects with a specified element type.
 
Methods implemented from interface com.sssw.fw.api.EbiDelegate
getName
 

Method Detail

createGroupPreferenceInfo

public EbiGroupPreferenceInfo createGroupPreferenceInfo()
                                                 throws EboUnrecoverableSystemException,
                                                        EboSecurityException
Gets a new group preference info object for use in group preference creation.
Returns:
a new EbiGroupPreferenceInfo object.

getGroupPreference

public EbiGroupPreferenceInfo getGroupPreference(EbiContext context,
                                                 String elementType,
                                                 String elementID)
                                          throws EboUnrecoverableSystemException,
                                                 EboSecurityException
Gets a group preference info.
Parameters:
context - an EbiContext object.
elementType - an element type
elementID - an element ID.
Returns:
an EbiGroupPreferenceInfo object for a specified element.

getGroupPreferences

public EbiGroupPreferenceInfo[] getGroupPreferences(EbiContext context,
                                                    String elementType)
                                             throws EboUnrecoverableSystemException,
                                                    EboSecurityException
Gets group preference info list for a specified element type.
Parameters:
context - an EbiContext object.
elementType - an element type.
Returns:
an array of EbiGroupPreference objects for a specified element type.

addGroupPreference

public boolean addGroupPreference(EbiContext context,
                                  EbiGroupPreferenceInfo groupPref)
                           throws EboUnrecoverableSystemException,
                                  EboSecurityException
Adds a group preference info.
Parameters:
context - an EbiContext object.
groupPref - an EbiGroupPreference object.

modifyGroupPreference

public boolean modifyGroupPreference(EbiContext context,
                                     EbiGroupPreferenceInfo groupPref)
                              throws EboUnrecoverableSystemException,
                                     EboSecurityException
Modifies a group preference info.
Parameters:
context - an EbiContext object.
groupPref - an EbiGroupPreference object.

removeGroupPreference

public boolean removeGroupPreference(EbiContext context,
                                     String elementType,
                                     String elementID)
                              throws EboUnrecoverableSystemException,
                                     EboSecurityException
Removes a group preference info.
Parameters:
context - an EbiContext object.
elementType - an element type.
elementID - an element ID.

removeGroupPreferences

public boolean removeGroupPreferences(EbiContext context,
                                      String elementType)
                               throws EboUnrecoverableSystemException,
                                      EboSecurityException
Removes group preference info objects with a specified element type.
Parameters:
context - an EbiContext object.
elementType - an element type.

Novell exteNd
Director 5.2 API