org.exoplatform.poll.service
Interface DataStorage

All Known Implementing Classes:
JCRDataStorage

public interface DataStorage


Method Summary
 String getActivityIdForOwner(String ownerPath)
           
 List<Poll> getPagePoll()
           
 Poll getPoll(String pollId)
           
 PollSummary getPollSummary(List<String> groupOfUser)
           
 boolean hasPermissionInForum(String pollPath, List<String> allInfoOfUser)
           
 Poll removePoll(String pollId)
           
 void saveActivityIdForOwner(String ownerPath, String activityId)
           
 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

saveActivityIdForOwner

void saveActivityIdForOwner(String ownerPath,
                            String activityId)

getActivityIdForOwner

String getActivityIdForOwner(String ownerPath)


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.