| java.lang.Object com.mvnforum.admin.RankXML
RankXML | public class RankXML (Code) | | author: Igor Manic version: $Revision: 1.10 $, $Date: 2007/10/09 11:09:14 $ version:
version: RankXML todo Igor: enter description |
Constructor Summary | |
public | RankXML() |
addRank | public void addRank(String rankMinPosts, String rankLevel, String rankTitle, String rankImage, String rankType, String rankOption) throws CreateException, DuplicateKeyException, ObjectNotFoundException, DatabaseException(Code) | | Creates a rank. All argument values (int s, Timestamp s, ...)
are represented as String s, because of more convenient using
of this method for XML parsing.
Parameters: rankMinPosts - Minimal number of posts needed to achieve this rank. Parameters: rankLevel - Can be null. Parameters: rankTitle - Title of this rank ("Stranger", "Newbie", ...). Parameters: rankImage - Can be null. Parameters: rankType - Can be null. Parameters: rankOption - Can be null. throws: CreateException - throws: DuplicateKeyException - throws: ObjectNotFoundException - throws: DatabaseException - throws: ForeignKeyNotFoundException - |
getRankID | public int getRankID()(Code) | | Returns RankID of this rank or
-1 if rank is not created yet.
|
|
|