org.exoplatform.poll.service
Class PollEventListener

java.lang.Object
  extended by org.exoplatform.container.component.BaseComponentPlugin
      extended by org.exoplatform.poll.service.PollEventListener
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin, PollEventLifeCycle

public abstract class PollEventListener
extends org.exoplatform.container.component.BaseComponentPlugin
implements PollEventLifeCycle


Field Summary
 
Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name
 
Constructor Summary
PollEventListener()
           
 
Method Summary
abstract  void closePoll(Poll poll)
          This will be call after close poll
abstract  void pollRemove(String pollId)
          This will be call after remove poll
abstract  void savePoll(Poll poll, boolean isNew, boolean isVote)
          This will be call after save poll
 
Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PollEventListener

public PollEventListener()
Method Detail

savePoll

public abstract void savePoll(Poll poll,
                              boolean isNew,
                              boolean isVote)
Description copied from interface: PollEventLifeCycle
This will be call after save poll

Specified by:
savePoll in interface PollEventLifeCycle

closePoll

public abstract void closePoll(Poll poll)
Description copied from interface: PollEventLifeCycle
This will be call after close poll

Specified by:
closePoll in interface PollEventLifeCycle

pollRemove

public abstract void pollRemove(String pollId)
Description copied from interface: PollEventLifeCycle
This will be call after remove poll

Specified by:
pollRemove in interface PollEventLifeCycle


Copyright © 2013 eXo Platform SAS. All Rights Reserved.