|
Keel 2.1RC2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.keel.services.persist.AbstractHelper
org.keel.apps.poll.helpers.ChoiceHelper
Custom methods that are associated with an instance of the Choice persistent.
| Field Summary | |
private Persistent |
myPersistent |
| Constructor Summary | |
ChoiceHelper() |
|
| Method Summary | |
boolean |
allowedForUser(int uid, java.lang.String operation) |
int |
numVotes() |
void |
setPersistent(Persistent current)Called when the helper is first instantiated |
| Methods inherited from class org.keel.services.persist.AbstractHelper |
afterAdd, afterDelete, afterQuery, afterSetField, afterUpdate, beforeAdd, beforeClear, beforeDelete, beforeQuery, beforeSetField, beforeUpdate, getPersistent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private Persistent myPersistent
| Constructor Detail |
public ChoiceHelper()
| Method Detail |
public boolean allowedForUser(int uid,
java.lang.String operation)
public void setPersistent(Persistent current)
HelpersetPersistent in interface HelpersetPersistent in class AbstractHelperpublic int numVotes()
|
Keel 2.1RC2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||