com.sap.portal.navigation.flp.pl.persistency

Interface IPersonalizationDAO


public interface IPersonalizationDAO

Implement the methods of this interface to store and retrieve personalization data.


Method Summary
 Boolean deletePersonalizationData(PersonalizationKey key)
          Deletes personalization data of a specific user by the key from the database.
 void deletePersonalizationData(String userName)
          Deletes the personalization data of a specific user from the database.
 String getImplementationName()
          Returns the name of the custom DAO implementation for debug tracking.
 String getPersonalizationData(PersonalizationKey key)
          Retrieves a personalized property
 void setPersonalizationData(PersonalizationKey key, String value)
          Stores a personalized property
 

Method Detail

setPersonalizationData

void setPersonalizationData(PersonalizationKey key,
                            String value)
                            throws PersonalizationDAOException
Stores a personalized property

Parameters:
key - the key of the personalized property
value - the value of the personalized property
Throws:
PersonalizationDAOException - the exception that is thrown on failure

getPersonalizationData

String getPersonalizationData(PersonalizationKey key)
                              throws PersonalizationDAOException
Retrieves a personalized property

Parameters:
key - the key of the personalized property
Returns:
The value of the personalized property
Throws:
PersonalizationDAOException - the exception that is thrown on failure

deletePersonalizationData

void deletePersonalizationData(String userName)
                               throws PersonalizationDAOException
Deletes the personalization data of a specific user from the database. To skip the implementation of data deletion, throw UnsupportedOperationException

Parameters:
userName - the name of the user whose personalization data is deleted
Throws:
PersonalizationDAOException - the exception that is thrown on failure

getImplementationName

String getImplementationName()
Returns the name of the custom DAO implementation for debug tracking.

Returns:
DAOName

deletePersonalizationData

Boolean deletePersonalizationData(PersonalizationKey key)
                                  throws PersonalizationDAOException
Deletes personalization data of a specific user by the key from the database.

Parameters:
key - - which contains the user and application id to delete or device to delete
Returns:
if the deletion succeed or not
Throws:
PersonalizationDAOException - the exception that is thrown on failure
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-RUNTIME [sap.com] com.sap.portal.navigation.flp.pl.facade api EP-PIN-NAV-FFP


Copyright 2015 SAP AG Complete Copyright Notice