net.myvietnam.mvnplugin.mvnforum.db
Class MemberGroupWebHelper

java.lang.Object
  |
  +--net.myvietnam.mvnplugin.mvnforum.db.MemberGroupWebHelper

public class MemberGroupWebHelper
extends java.lang.Object


Field Summary
static java.lang.String TABLE_NAME
           
 
Constructor Summary
protected MemberGroupWebHelper()
           
 
Method Summary
protected static void create(int groupID, java.lang.String memberName, int privilege, java.sql.Timestamp creationDate, java.sql.Timestamp modifiedDate)
          Customized methods come below
protected static void delete_inGroup(int groupID)
           
protected static void delete(int groupID, int memberID)
           
protected static void findByPrimaryKey(int groupID, int memberID)
           
protected static java.util.Collection getBeans_inGroup_limit(int groupID, int offset, int rowsToReturn)
           
protected static int getNumberOfBeans_inGroup(int groupID)
           
protected static boolean isDirty()
           
protected static void setDirty(boolean dirty)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TABLE_NAME

public static final java.lang.String TABLE_NAME
See Also:
Constant Field Values
Constructor Detail

MemberGroupWebHelper

protected MemberGroupWebHelper()
Method Detail

isDirty

protected static boolean isDirty()

setDirty

protected static void setDirty(boolean dirty)

findByPrimaryKey

protected static void findByPrimaryKey(int groupID,
                                       int memberID)
                                throws net.myvietnam.mvncore.exception.ObjectNotFoundException,
                                       net.myvietnam.mvncore.exception.DatabaseException
net.myvietnam.mvncore.exception.ObjectNotFoundException
net.myvietnam.mvncore.exception.DatabaseException

delete

protected static void delete(int groupID,
                             int memberID)
                      throws net.myvietnam.mvncore.exception.DatabaseException,
                             net.myvietnam.mvncore.exception.BadInputException
net.myvietnam.mvncore.exception.DatabaseException
net.myvietnam.mvncore.exception.BadInputException

delete_inGroup

protected static void delete_inGroup(int groupID)
                              throws net.myvietnam.mvncore.exception.DatabaseException,
                                     net.myvietnam.mvncore.exception.ObjectNotFoundException
net.myvietnam.mvncore.exception.DatabaseException
net.myvietnam.mvncore.exception.ObjectNotFoundException

create

protected static void create(int groupID,
                             java.lang.String memberName,
                             int privilege,
                             java.sql.Timestamp creationDate,
                             java.sql.Timestamp modifiedDate)
                      throws net.myvietnam.mvncore.exception.CreateException,
                             net.myvietnam.mvncore.exception.DatabaseException,
                             net.myvietnam.mvncore.exception.DuplicateKeyException,
                             net.myvietnam.mvncore.exception.ForeignKeyNotFoundException
Customized methods come below

net.myvietnam.mvncore.exception.CreateException
net.myvietnam.mvncore.exception.DatabaseException
net.myvietnam.mvncore.exception.DuplicateKeyException
net.myvietnam.mvncore.exception.ForeignKeyNotFoundException

getBeans_inGroup_limit

protected static java.util.Collection getBeans_inGroup_limit(int groupID,
                                                             int offset,
                                                             int rowsToReturn)
                                                      throws java.lang.IllegalArgumentException,
                                                             net.myvietnam.mvncore.exception.DatabaseException
java.lang.IllegalArgumentException
net.myvietnam.mvncore.exception.DatabaseException

getNumberOfBeans_inGroup

protected static int getNumberOfBeans_inGroup(int groupID)
                                       throws net.myvietnam.mvncore.exception.AssertionException,
                                              net.myvietnam.mvncore.exception.DatabaseException
net.myvietnam.mvncore.exception.AssertionException
net.myvietnam.mvncore.exception.DatabaseException