com.arsdigita.acs
Class Permissions

java.lang.Object
  |
  +--com.arsdigita.acs.Permissions

class Permissions
extends Object


Constructor Summary
Permissions()
           
 
Method Summary
 boolean allUsersHavePermission(String permissionType, String onWhatId, String onWhichTable)
           
protected  void finalize()
           
 boolean userHasPermission(Integer userId, String permissionType, String onWhatId, String onWhichTable)
           
 
Methods inherited from class java.lang.Object
, clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Permissions

public Permissions()
            throws SQLException
Method Detail

finalize

protected void finalize()
                 throws Throwable
Overrides:
finalize in class Object

userHasPermission

public boolean userHasPermission(Integer userId,
                                 String permissionType,
                                 String onWhatId,
                                 String onWhichTable)
                          throws SQLException,
                                 ACSException

allUsersHavePermission

public boolean allUsersHavePermission(String permissionType,
                                      String onWhatId,
                                      String onWhichTable)
                               throws SQLException,
                                      ACSException