class Category implements WikiConstants {

    public int getPageId() {
        Session session = this.wiki.__getHibernateSession();
        session.beginTransaction();
        session.lock(hibernateCategory, LockMode.NONE);
        int pageID = hibernateCategory.getPageId();
        session.getTransaction().commit();
        return pageID;
    }

    protected  Category(Wikipedia wiki, long id);
    protected  Category(Wikipedia wiki, int pageID);
    public  Category(Wikipedia wiki, String pName);

}