net.myvietnam.mvnplugin.mvnforum.db
Class GroupPermissionWebHelper

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

public class GroupPermissionWebHelper
extends java.lang.Object


Field Summary
static java.lang.String TABLE_NAME
           
 
Constructor Summary
protected GroupPermissionWebHelper()
           
 
Method Summary
protected static void create(int groupID, int permission)
           
protected static void delete_inGroup(int groupID)
           
protected static void delete(int groupID, int permission)
           
protected static void findByPrimaryKey(int groupID, int permission)
           
protected static java.util.Collection getBeans_inGroup(int groupID)
          Customized methods come below
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

GroupPermissionWebHelper

protected GroupPermissionWebHelper()
Method Detail

isDirty

protected static boolean isDirty()

setDirty

protected static void setDirty(boolean dirty)

findByPrimaryKey

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

create

protected static void create(int groupID,
                             int permission)
                      throws net.myvietnam.mvncore.exception.CreateException,
                             net.myvietnam.mvncore.exception.DatabaseException,
                             net.myvietnam.mvncore.exception.DuplicateKeyException,
                             net.myvietnam.mvncore.exception.ForeignKeyNotFoundException
net.myvietnam.mvncore.exception.CreateException
net.myvietnam.mvncore.exception.DatabaseException
net.myvietnam.mvncore.exception.DuplicateKeyException
net.myvietnam.mvncore.exception.ForeignKeyNotFoundException

delete

protected static void delete(int groupID,
                             int permission)
                      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

getBeans_inGroup

protected static java.util.Collection getBeans_inGroup(int groupID)
                                                throws net.myvietnam.mvncore.exception.DatabaseException
Customized methods come below

net.myvietnam.mvncore.exception.DatabaseException