com.objectplanet.survey.plugin.api
Class PanelistManager

java.lang.Object
  extended by com.objectplanet.survey.plugin.api.PanelistManager

public class PanelistManager
extends java.lang.Object

Encapsulates panelist functionality.

Author:
Eivind Pedersen, Torgeir Lund.

Constructor Summary
PanelistManager()
           
 
Method Summary
static void removePanelistFromCache(User user, long panelistId)
          Removes a panelist from the cache.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PanelistManager

public PanelistManager()
Method Detail

removePanelistFromCache

public static void removePanelistFromCache(User user,
                                           long panelistId)
                                    throws SurveySystemException
Removes a panelist from the cache. Is often used when panelist is updated on the database level.

Parameters:
user - User
panelistId - Panelist id
Throws:
SurveySystemException - If any error occurs in the system.
SurveySecurityException - If the user is unauthorized to remove panelists from the cache

Copyright ? ObjectPlanet Inc. All Rights Reserved.

Built on December 20 2016