Keel 2.1RC2

org.keel.apps.poll.helpers
Class ChoiceHelper

java.lang.Object
  extended byorg.keel.services.persist.AbstractHelper
      extended byorg.keel.apps.poll.helpers.ChoiceHelper
All Implemented Interfaces:
Helper

public class ChoiceHelper
extends AbstractHelper

Custom methods that are associated with an instance of the Choice persistent.

Version:
$Revision: 1.3 $ $Date: 2003/07/03 16:19:25 $
Author:
Michael Nash

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

myPersistent

private Persistent myPersistent
Constructor Detail

ChoiceHelper

public ChoiceHelper()
Method Detail

allowedForUser

public boolean allowedForUser(int uid,
                              java.lang.String operation)

setPersistent

public void setPersistent(Persistent current)
Description copied from interface: Helper
Called when the helper is first instantiated

Specified by:
setPersistent in interface Helper
Overrides:
setPersistent in class AbstractHelper

numVotes

public int numVotes()

Keel 2.1RC2

Please see keelframework.org for information about new Keel releases.