lumis.portal.preferences
Class PreferencesManager
java.lang.Object
lumis.portal.preferences.PreferencesManager
- All Implemented Interfaces:
- IPreferencesManager
public class PreferencesManager
- extends Object
- implements IPreferencesManager
Preferences manager implementation.
- Since:
- 4.0.7
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PreferencesManager
public PreferencesManager()
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 6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.