net.myvietnam.mvnplugin.mvnforum.db
Class GroupForumWebHelper

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

public class GroupForumWebHelper
extends java.lang.Object


Field Summary
static java.lang.String TABLE_NAME
           
 
Constructor Summary
protected GroupForumWebHelper()
           
 
Method Summary
protected static void create(int groupID, int forumID, int permission)
           
protected static void delete_inForum(int forumID)
           
protected static void delete_inGroup(int groupID)
           
protected static void delete(int groupID, int forumID, int permission)
           
protected static void findByPrimaryKey(int groupID, int forumID, int permission)
           
protected static java.util.Collection getBeans_inGroupForum(int groupID, int forumID)
          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

GroupForumWebHelper

protected GroupForumWebHelper()
Method Detail

isDirty

protected static boolean isDirty()

setDirty

protected static void setDirty(boolean dirty)

findByPrimaryKey

protected static void findByPrimaryKey(int groupID,
                                       int forumID,
                                       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 forumID,
                             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 forumID,
                             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

delete_inForum

protected static void delete_inForum(int forumID)
                              throws net.myvietnam.mvncore.exception.DatabaseException,
                                     net.myvietnam.mvncore.exception.ObjectNotFoundException
net.myvietnam.mvncore.exception.DatabaseException
net.myvietnam.mvncore.exception.ObjectNotFoundException

getBeans_inGroupForum

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

net.myvietnam.mvncore.exception.DatabaseException