Keel 2.1RC2

org.keel.apps.poll.helpers
Class PollHelper

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

public class PollHelper
extends AbstractHelper

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

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

Field Summary
 
Fields inherited from class org.keel.services.persist.AbstractHelper
 
Constructor Summary
PollHelper()
           
 
Method Summary
 boolean allowedForUser(int uid, java.lang.String operation)
           
 boolean isOpen()
           
 int numQuestions()
           
 boolean viewAllowed()
           
 
Methods inherited from class org.keel.services.persist.AbstractHelper
afterAdd, afterDelete, afterQuery, afterSetField, afterUpdate, beforeAdd, beforeClear, beforeDelete, beforeQuery, beforeSetField, beforeUpdate, getPersistent, setPersistent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PollHelper

public PollHelper()
Method Detail

allowedForUser

public boolean allowedForUser(int uid,
                              java.lang.String operation)
                       throws PersistenceException
Throws:
PersistenceException

numQuestions

public int numQuestions()
                 throws PersistenceException
Throws:
PersistenceException

isOpen

public boolean isOpen()
               throws PersistenceException
Throws:
PersistenceException

viewAllowed

public boolean viewAllowed()
                    throws PersistenceException
Throws:
PersistenceException

Keel 2.1RC2

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