mgi.logme.worker
Class Deleter

java.lang.Object
  extended bymgi.logme.worker.Deleter

public class Deleter
extends java.lang.Object


Constructor Summary
Deleter()
          Creates a new instance of Deleter
 
Method Summary
static int deleteAllGroupAccess(java.lang.Integer groupID)
           
static int deleteAllSiteAccess(java.lang.Integer groupID)
           
static int deleteAllUserAccess(java.lang.Integer userID)
           
static int deleteFinal(java.lang.Class type, int id)
           
static int deleteFinal(java.lang.Class type, java.lang.Integer id)
           
static int deleteReferer(Referer r)
           
static int deleteSiteGroup(SiteGroupName sgn)
           
static int deleteUser(User u)
           
static int deleteUserGroup(UserGroupName ugn)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Deleter

public Deleter()
Creates a new instance of Deleter

Method Detail

deleteFinal

public static int deleteFinal(java.lang.Class type,
                              int id)
                       throws java.sql.SQLException,
                              net.sf.hibernate.HibernateException
Throws:
java.sql.SQLException
net.sf.hibernate.HibernateException

deleteReferer

public static int deleteReferer(Referer r)
                         throws java.sql.SQLException,
                                net.sf.hibernate.HibernateException
Throws:
java.sql.SQLException
net.sf.hibernate.HibernateException

deleteUser

public static int deleteUser(User u)
                      throws java.sql.SQLException,
                             net.sf.hibernate.HibernateException
Throws:
java.sql.SQLException
net.sf.hibernate.HibernateException

deleteUserGroup

public static int deleteUserGroup(UserGroupName ugn)
                           throws java.sql.SQLException,
                                  net.sf.hibernate.HibernateException
Throws:
java.sql.SQLException
net.sf.hibernate.HibernateException

deleteSiteGroup

public static int deleteSiteGroup(SiteGroupName sgn)
                           throws java.sql.SQLException,
                                  net.sf.hibernate.HibernateException
Throws:
java.sql.SQLException
net.sf.hibernate.HibernateException

deleteAllUserAccess

public static int deleteAllUserAccess(java.lang.Integer userID)
                               throws java.sql.SQLException,
                                      net.sf.hibernate.HibernateException
Throws:
java.sql.SQLException
net.sf.hibernate.HibernateException

deleteAllSiteAccess

public static int deleteAllSiteAccess(java.lang.Integer groupID)
                               throws java.sql.SQLException,
                                      net.sf.hibernate.HibernateException
Throws:
java.sql.SQLException
net.sf.hibernate.HibernateException

deleteAllGroupAccess

public static int deleteAllGroupAccess(java.lang.Integer groupID)
                                throws java.sql.SQLException,
                                       net.sf.hibernate.HibernateException
Throws:
java.sql.SQLException
net.sf.hibernate.HibernateException

deleteFinal

public static int deleteFinal(java.lang.Class type,
                              java.lang.Integer id)
                       throws java.sql.SQLException,
                              net.sf.hibernate.HibernateException
Throws:
java.sql.SQLException
net.sf.hibernate.HibernateException