org.chorem.pollen.services.impl
Class PreventRuleService
java.lang.Object
org.chorem.pollen.services.PollenServiceSupport
org.chorem.pollen.services.impl.PreventRuleService
- All Implemented Interfaces:
- PollenService
public class PreventRuleService
- extends PollenServiceSupport
Manage prevent rules of a poll.
- Since:
- 1.3
- Author:
- tchemit
| Methods inherited from class org.chorem.pollen.services.PollenServiceSupport |
commitTransaction, create, createWithProperties, decorateDate, decorateDateTime, delete, flushTransaction, generateId, getConfiguration, getDAO, getDatePattern, getDateTimePattern, getEntities, getEntities, getEntityById, getLocale, getTransaction, newInstance, newService, setServiceContext, update |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SCOPE_VOTE
public static final String SCOPE_VOTE
- See Also:
- Constant Field Values
SCOPE_REMINDER
public static final String SCOPE_REMINDER
- See Also:
- Constant Field Values
PreventRuleService
public PreventRuleService()
createAddVotePreventRule
public PreventRule createAddVotePreventRule()
createRemindPreventRule
public PreventRule createRemindPreventRule(int sensibility)
onVoteAdded
public void onVoteAdded(Poll poll)
onPollToRemind
public void onPollToRemind(Poll poll)
onVoteAdded
protected void onVoteAdded(Poll poll,
PreventRule preventRule)
onPollToRemind
protected void onPollToRemind(Poll poll,
PreventRule preventRule,
int timeValue)
execute
protected boolean execute(String scope,
PreventRule preventRule,
Integer value)
Copyright © 2009-2012 CodeLutin. All Rights Reserved.