|
||||||||||
| 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. |
void |
addListenerPlugin(PollEventListener listener)
|
String |
getActivityIdForOwner(String ownerPath)
Get value of exo:activityId property in specified node via path. |
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. |
void |
removeListenerPlugin(PollEventListener listener)
|
Poll |
removePoll(String pollId)
Removes the poll. |
void |
saveActivityIdForOwner(String ownerPath,
String activityId)
Defines Mixin type exo:activityInfo for node that means to add exo:activityId property into Node what is owner created activity via patch |
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
void saveActivityIdForOwner(String ownerPath,
String activityId)
ownerPath - - the Path's Node what is owner created activityactivityId - - the Id's activity created.String getActivityIdForOwner(String ownerPath)
ownerPath - - the Path's Node what is owner created activity
void addListenerPlugin(PollEventListener listener)
throws Exception
Exception
void removeListenerPlugin(PollEventListener listener)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||