lumis.portal.preferences
Class PreferencesManager

Package class diagram package PreferencesManager
java.lang.Object
  extended by lumis.portal.preferences.PreferencesManager
All Implemented Interfaces:
IPreferencesManager

public class PreferencesManager
extends Object
implements IPreferencesManager

Preferences manager implementation.

Since:
4.0.7

Constructor Summary
PreferencesManager()
           
 
Method Summary
 void delete(SessionConfig sessionConfig, String resourceId, int resourceType, ITransaction transaction)
          Deletes all preferences associated with the specified resource.
 IPreferences getPreferences(SessionConfig sessionConfig, String resourceId, int resourceType)
          Returns the user preferences for a specified resource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreferencesManager

public PreferencesManager()
Method Detail

getPreferences

public IPreferences getPreferences(SessionConfig sessionConfig,
                                   String resourceId,
                                   int resourceType)
                            throws PortalException
Description copied from interface: IPreferencesManager
Returns the user preferences for a specified resource.

Specified by:
getPreferences in interface IPreferencesManager
Parameters:
sessionConfig - the user session information.
resourceId - the resource id.
resourceType - the resource type.
Returns:
the requested preferences.
Throws:
PortalException

delete

public void delete(SessionConfig sessionConfig,
                   String resourceId,
                   int resourceType,
                   ITransaction transaction)
            throws PortalException
Description copied from interface: IPreferencesManager
Deletes all preferences associated with the specified resource.

Specified by:
delete in interface IPreferencesManager
Parameters:
sessionConfig - the user session information.
resourceId - the resource id.
resourceType - the resource type. One of the IPreferences constants.
transaction - transaction for persistence access.
Throws:
PortalException


Lumisportal  4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.