lumis.portal.preferences
Interface IPreferencesManager

Package class diagram package IPreferencesManager
All Known Implementing Classes:
PreferencesManager

@StableMinor(version="4.1",
             sinceVersion="4.0")
public interface IPreferencesManager

Manager for handling user preferences operations.

Since:
4.0.7

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.
 

Method Detail

getPreferences

IPreferences getPreferences(SessionConfig sessionConfig,
                            String resourceId,
                            int resourceType)
                            throws PortalException
Returns the user preferences for a specified resource.

Parameters:
sessionConfig - the user session information.
resourceId - the resource id.
resourceType - the resource type.
Returns:
the requested preferences.
Throws:
PortalException
Since:
4.0.7

delete

void delete(SessionConfig sessionConfig,
            String resourceId,
            int resourceType,
            ITransaction transaction)
            throws PortalException
Deletes all preferences associated with the specified resource.

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
Since:
4.0.7


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