|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PollService
Main Facade for all BBCode related operations
| Method Summary | |
|---|---|
void |
addInitialDefaultDataPlugin(org.exoplatform.container.component.ComponentPlugin plugin)
Adds the plugin. |
List<Poll> |
getPagePoll()
Gets list polls. |
Poll |
getPoll(String pollId)
Gets the poll. |
PollSummary |
getPollSummary(List<String> groupOfUser)
Gets the poll summary. |
boolean |
hasPermissionInForum(String pollPath,
List<String> allInfoOfUser)
check has permission of user viewer the poll in the forum. |
Poll |
removePoll(String pollId)
Removes the poll. |
void |
savePoll(Poll poll,
boolean isNew,
boolean isVote)
Save poll. |
void |
setClosedPoll(Poll poll)
Sets the closed poll. |
| Method Detail |
|---|
void addInitialDefaultDataPlugin(org.exoplatform.container.component.ComponentPlugin plugin)
throws Exception
plugin - the plugin
Exception - the exception
Poll getPoll(String pollId)
throws Exception
pollId -
Exception - the exception
void savePoll(Poll poll,
boolean isNew,
boolean isVote)
throws Exception
poll - the pollisNew - is the newisVote - is the vote
Exception - the exceptionPoll removePoll(String pollId)
pollId -
void setClosedPoll(Poll poll)
poll -
List<Poll> getPagePoll()
throws Exception
Exception - the exception
boolean hasPermissionInForum(String pollPath,
List<String> allInfoOfUser)
throws Exception
allInfoOfUser - user, group and membership of the user.pollPath - the path of the poll.
Exception - the exception
PollSummary getPollSummary(List<String> groupOfUser)
throws Exception
groupOfUser - group
Exception - the exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||