org.exoplatform.forum.ext.impl
Class PollSpaceActivityPublisher

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

public class PollSpaceActivityPublisher
extends org.exoplatform.poll.service.PollEventListener


Field Summary
static String CATE_SPACE_ID_PREFIX
           
static String POLL_APP_ID
           
static String POLL_COMMENT_APP_ID
           
static String POLL_ID
           
static String POLL_LINK_KEY
           
static String SPACE_GROUP_ID
           
static String UPDATE_POLL_TITLE_ID
           
 
Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name
 
Constructor Summary
PollSpaceActivityPublisher()
           
 
Method Summary
 void closePoll(org.exoplatform.poll.service.Poll poll)
           
 void pollRemove(String pollId)
           
 void saveCommentToTopicActivity(org.exoplatform.poll.service.Poll poll, String title, String titleId)
           
 void savePoll(org.exoplatform.poll.service.Poll poll, boolean isNew, boolean isVote)
           
 
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
 

Field Detail

POLL_APP_ID

public static final String POLL_APP_ID
See Also:
Constant Field Values

POLL_COMMENT_APP_ID

public static final String POLL_COMMENT_APP_ID
See Also:
Constant Field Values

POLL_LINK_KEY

public static final String POLL_LINK_KEY
See Also:
Constant Field Values

UPDATE_POLL_TITLE_ID

public static final String UPDATE_POLL_TITLE_ID
See Also:
Constant Field Values

SPACE_GROUP_ID

public static final String SPACE_GROUP_ID
See Also:
Constant Field Values

CATE_SPACE_ID_PREFIX

public static final String CATE_SPACE_ID_PREFIX

POLL_ID

public static final String POLL_ID
See Also:
Constant Field Values
Constructor Detail

PollSpaceActivityPublisher

public PollSpaceActivityPublisher()
Method Detail

saveCommentToTopicActivity

public void saveCommentToTopicActivity(org.exoplatform.poll.service.Poll poll,
                                       String title,
                                       String titleId)

savePoll

public void savePoll(org.exoplatform.poll.service.Poll poll,
                     boolean isNew,
                     boolean isVote)
Specified by:
savePoll in interface org.exoplatform.poll.service.PollEventLifeCycle
Specified by:
savePoll in class org.exoplatform.poll.service.PollEventListener

closePoll

public void closePoll(org.exoplatform.poll.service.Poll poll)
Specified by:
closePoll in interface org.exoplatform.poll.service.PollEventLifeCycle
Specified by:
closePoll in class org.exoplatform.poll.service.PollEventListener

pollRemove

public void pollRemove(String pollId)
Specified by:
pollRemove in interface org.exoplatform.poll.service.PollEventLifeCycle
Specified by:
pollRemove in class org.exoplatform.poll.service.PollEventListener


Copyright © 2003–2014 eXo Platform SAS. All rights reserved.