Package org.exoplatform.agenda.storage
Class AgendaEventDatePollStorage
java.lang.Object
org.exoplatform.agenda.storage.AgendaEventDatePollStorage
-
Constructor Summary
ConstructorsConstructorDescriptionAgendaEventDatePollStorage(EventDateOptionDAO dateOptionDAO, EventDatePollDAO datePollDAO, EventDateVoteDAO dateVoteDAO) -
Method Summary
Modifier and TypeMethodDescriptionorg.exoplatform.agenda.model.EventDateOptioncreateDateOption(org.exoplatform.agenda.model.EventDateOption dateOption) voiddeleteDateOption(org.exoplatform.agenda.model.EventDateOption dateOption) voiddeleteEventVotes(long eventId) voiddismiss(long dateOptionId, long identityId) org.exoplatform.agenda.model.EventDateOptiongetDateOption(long dateOptionId, boolean withVoters, boolean withSelection) List<org.exoplatform.agenda.model.EventDateOption>getEventDateOptions(long eventId) voidselectDateOption(long dateOptionId) voidupdateDateOption(org.exoplatform.agenda.model.EventDateOption dateOption) voidvote(long dateOptionId, long identityId)
-
Constructor Details
-
AgendaEventDatePollStorage
public AgendaEventDatePollStorage(EventDateOptionDAO dateOptionDAO, EventDatePollDAO datePollDAO, EventDateVoteDAO dateVoteDAO)
-
-
Method Details
-
getEventDateOptions
-
createDateOption
public org.exoplatform.agenda.model.EventDateOption createDateOption(org.exoplatform.agenda.model.EventDateOption dateOption) -
selectDateOption
public void selectDateOption(long dateOptionId) throws org.exoplatform.commons.exception.ObjectNotFoundException - Throws:
org.exoplatform.commons.exception.ObjectNotFoundException
-
deleteEventVotes
public void deleteEventVotes(long eventId) -
updateDateOption
public void updateDateOption(org.exoplatform.agenda.model.EventDateOption dateOption) throws org.exoplatform.commons.exception.ObjectNotFoundException - Throws:
org.exoplatform.commons.exception.ObjectNotFoundException
-
deleteDateOption
public void deleteDateOption(org.exoplatform.agenda.model.EventDateOption dateOption) -
getDateOption
public org.exoplatform.agenda.model.EventDateOption getDateOption(long dateOptionId, boolean withVoters, boolean withSelection) -
vote
public void vote(long dateOptionId, long identityId) throws org.exoplatform.commons.exception.ObjectNotFoundException - Throws:
org.exoplatform.commons.exception.ObjectNotFoundException
-
dismiss
public void dismiss(long dateOptionId, long identityId) throws org.exoplatform.commons.exception.ObjectNotFoundException - Throws:
org.exoplatform.commons.exception.ObjectNotFoundException
-