lumis.portal.preferences
Interface IPreferencesManager

Package class diagram package IPreferencesManager
All Known Implementing Classes:
PreferencesManager

@StableMinor(version="6.2",
             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  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.