net.myvietnam.mvnplugin.mvnforum.db
Class ForumWebHelper
java.lang.Object
|
+--net.myvietnam.mvnplugin.mvnforum.db.ForumWebHelper
- public class ForumWebHelper
- extends java.lang.Object
Method Summary |
protected static void |
create(int categoryID,
java.lang.String lastPostMemberName,
java.lang.String forumName,
java.lang.String forumDesc,
java.sql.Timestamp forumCreationDate,
java.sql.Timestamp forumModifiedDate,
java.sql.Timestamp forumLastPostDate,
int forumOrder,
int forumType,
int forumFormatOption,
int forumOption,
int forumStatus,
int forumModerationMode,
java.lang.String forumPassword,
int forumThreadCount,
int forumPostCount)
|
protected static void |
delete(int forumID)
|
protected static void |
findByAlternateKey_ForumName(java.lang.String forumName)
|
protected static void |
findByPrimaryKey(int forumID)
|
protected static ForumBean |
getBean(int forumID)
|
protected static java.util.Collection |
getBeans()
|
protected static boolean |
isDirty()
|
protected static void |
setDirty(boolean dirty)
|
protected static void |
update(int forumID,
int categoryID,
java.lang.String forumName,
java.lang.String forumDesc,
java.sql.Timestamp forumModifiedDate,
int forumOrder,
int forumType,
int forumFormatOption,
int forumOption,
int forumStatus,
int forumModerationMode)
|
protected static void |
updateLastPostDate(int forumID,
java.sql.Timestamp forumLastPostDate)
|
protected static void |
updateStatistics(int forumID,
int forumThreadCount,
int forumPostCount)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TABLE_NAME
public static final java.lang.String TABLE_NAME
- See Also:
- Constant Field Values
ForumWebHelper
protected ForumWebHelper()
isDirty
protected static boolean isDirty()
setDirty
protected static void setDirty(boolean dirty)
findByPrimaryKey
protected static void findByPrimaryKey(int forumID)
throws net.myvietnam.mvncore.exception.ObjectNotFoundException,
net.myvietnam.mvncore.exception.DatabaseException
net.myvietnam.mvncore.exception.ObjectNotFoundException
net.myvietnam.mvncore.exception.DatabaseException
findByAlternateKey_ForumName
protected static void findByAlternateKey_ForumName(java.lang.String forumName)
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 categoryID,
java.lang.String lastPostMemberName,
java.lang.String forumName,
java.lang.String forumDesc,
java.sql.Timestamp forumCreationDate,
java.sql.Timestamp forumModifiedDate,
java.sql.Timestamp forumLastPostDate,
int forumOrder,
int forumType,
int forumFormatOption,
int forumOption,
int forumStatus,
int forumModerationMode,
java.lang.String forumPassword,
int forumThreadCount,
int forumPostCount)
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 forumID)
throws net.myvietnam.mvncore.exception.DatabaseException,
net.myvietnam.mvncore.exception.BadInputException
net.myvietnam.mvncore.exception.DatabaseException
net.myvietnam.mvncore.exception.BadInputException
update
protected static void update(int forumID,
int categoryID,
java.lang.String forumName,
java.lang.String forumDesc,
java.sql.Timestamp forumModifiedDate,
int forumOrder,
int forumType,
int forumFormatOption,
int forumOption,
int forumStatus,
int forumModerationMode)
throws net.myvietnam.mvncore.exception.BadInputException,
net.myvietnam.mvncore.exception.DatabaseException,
net.myvietnam.mvncore.exception.DuplicateKeyException,
net.myvietnam.mvncore.exception.ForeignKeyNotFoundException
net.myvietnam.mvncore.exception.BadInputException
net.myvietnam.mvncore.exception.DatabaseException
net.myvietnam.mvncore.exception.DuplicateKeyException
net.myvietnam.mvncore.exception.ForeignKeyNotFoundException
updateLastPostDate
protected static void updateLastPostDate(int forumID,
java.sql.Timestamp forumLastPostDate)
throws net.myvietnam.mvncore.exception.BadInputException,
net.myvietnam.mvncore.exception.DatabaseException
net.myvietnam.mvncore.exception.BadInputException
net.myvietnam.mvncore.exception.DatabaseException
updateStatistics
protected static void updateStatistics(int forumID,
int forumThreadCount,
int forumPostCount)
throws net.myvietnam.mvncore.exception.BadInputException,
net.myvietnam.mvncore.exception.DatabaseException
net.myvietnam.mvncore.exception.BadInputException
net.myvietnam.mvncore.exception.DatabaseException
getBean
protected static ForumBean getBean(int forumID)
throws net.myvietnam.mvncore.exception.BadInputException,
net.myvietnam.mvncore.exception.DatabaseException
net.myvietnam.mvncore.exception.BadInputException
net.myvietnam.mvncore.exception.DatabaseException
getBeans
protected static java.util.Collection getBeans()
throws net.myvietnam.mvncore.exception.DatabaseException
net.myvietnam.mvncore.exception.DatabaseException