Package org.exoplatform.forum.ext.impl
Class PollSpaceActivityPublisher
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.poll.service.PollEventListener
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
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclosePoll(org.exoplatform.poll.service.Poll poll) voidpollRemove(String pollId) voidsaveCommentToTopicActivity(org.exoplatform.poll.service.Poll poll, String title, String titleId) voidsavePoll(org.exoplatform.poll.service.Poll poll, boolean isNew, boolean isVote) Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setName
-
Field Details
-
POLL_APP_ID
- See Also:
-
POLL_COMMENT_APP_ID
- See Also:
-
POLL_PARENT
- See Also:
-
POLL_LINK
- See Also:
-
UPDATE_POLL_TITLE_ID
- See Also:
-
SPACE_GROUP_ID
- See Also:
-
POLL_ID
- See Also:
-
-
Constructor Details
-
PollSpaceActivityPublisher
public PollSpaceActivityPublisher()
-
-
Method Details
-
saveCommentToTopicActivity
-
savePoll
public void savePoll(org.exoplatform.poll.service.Poll poll, boolean isNew, boolean isVote) - Specified by:
savePollin interfaceorg.exoplatform.poll.service.PollEventLifeCycle- Specified by:
savePollin classorg.exoplatform.poll.service.PollEventListener
-
closePoll
public void closePoll(org.exoplatform.poll.service.Poll poll) - Specified by:
closePollin interfaceorg.exoplatform.poll.service.PollEventLifeCycle- Specified by:
closePollin classorg.exoplatform.poll.service.PollEventListener
-
pollRemove
- Specified by:
pollRemovein interfaceorg.exoplatform.poll.service.PollEventLifeCycle- Specified by:
pollRemovein classorg.exoplatform.poll.service.PollEventListener
-