org.exoplatform.poll.service
Interface DataStorage

All Known Implementing Classes:
JCRDataStorage

public interface DataStorage


Method Summary
 List<Poll> getPagePoll()
           
 Poll getPoll(String pollId)
           
 PollSummary getPollSummary(List<String> groupOfUser)
           
 boolean hasPermissionInForum(String pollPath, List<String> allInfoOfUser)
           
 Poll removePoll(String pollId)
           
 void savePoll(Poll poll, boolean isNew, boolean isVote)
           
 void setClosedPoll(Poll poll)
           
 

Method Detail

getPoll

Poll getPoll(String pollId)
             throws Exception
Throws:
Exception

savePoll

void savePoll(Poll poll,
              boolean isNew,
              boolean isVote)
              throws Exception
Throws:
Exception

removePoll

Poll removePoll(String pollId)

setClosedPoll

void setClosedPoll(Poll poll)

getPagePoll

List<Poll> getPagePoll()
                       throws Exception
Throws:
Exception

hasPermissionInForum

boolean hasPermissionInForum(String pollPath,
                             List<String> allInfoOfUser)
                             throws Exception
Throws:
Exception

getPollSummary

PollSummary getPollSummary(List<String> groupOfUser)
                           throws Exception
Throws:
Exception


Copyright © 2013 eXo Platform SAS. All Rights Reserved.