Index

Package: biz.hammurapi.web.security.sql.permission

Class PermissionEngine

Methods
MethodDescription
public void <init>( biz.hammurapi.sql.SQLProcessor processor ) Constructor
public java.util.Collection getClasses( ) Executes query, returns database backed collection with elements of type of the first column. Selects permission class names for grouping
public java.util.Collection getClasses( biz.hammurapi.convert.Converter converter ) Executes query, returns database backed collection with elements of type of the first column. If converter is not null then it converts elements. Selects permission class names for grouping
public java.util.Collection getClasses( Class targetClass ) Executes query, returns database backed collection with elements of type of the first column. If target class is not null then elements are instances of target class created from the first column values. Selects permission class names for grouping
public java.util.Collection getClasses( java.util.Collection receiver )  throws java.sql.SQLExceptionExecutes query, populates collection with values from the first column and returns the collection. Selects permission class names for grouping
public java.util.Collection getClasses( java.util.Collection receiver, biz.hammurapi.convert.Converter converter )  throws java.sql.SQLExceptionExecutes query, populates collection with values from the first column and returns the collection. Elements get converted by the converter if it is not null.Selects permission class names for grouping
public java.util.Collection getClasses( java.util.Collection receiver, Class targetClass )  throws java.sql.SQLExceptionExecutes query, populates collection with values from the first column and returns the collection. If target class is not null instances of target class are instantiated from first column valuesSelects permission class names for grouping
public java.util.Collection getDerived( int p1 ) Executes query, returns database backed collection with elements of type biz.hammurapi.web.security.sql.ApplicationPermission. Selects permissions which are derived from this permission
public java.util.Collection getDerived( int p1, biz.hammurapi.convert.Converter converter ) Executes query, returns database backed collection with elements of type biz.hammurapi.web.security.sql.ApplicationPermission. If converter is not null then elements will be results of conversion.Selects permissions which are derived from this permission
public java.util.Collection getDerived( int p1, Class targetClass ) Executes query, returns database backed collection with elements of type biz.hammurapi.web.security.sql.ApplicationPermission. If targetClass is not null then elements will be of targetClass typeSelects permissions which are derived from this permission
public java.util.Collection getDerived( int p1, java.util.Collection receiver )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type biz.hammurapi.web.security.sql.ApplicationPermission and returns populated collection. Selects permissions which are derived from this permission
public java.util.Collection getDerived( int p1, java.util.Collection receiver, biz.hammurapi.convert.Converter converter )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type biz.hammurapi.web.security.sql.ApplicationPermission and returns populated collection. If converter is not null then elements will be results of conversion. Selects permissions which are derived from this permission
public java.util.Collection getDerived( int p1, java.util.Collection receiver, Class targetClass )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type biz.hammurapi.web.security.sql.ApplicationPermission and returns populated collection. If targetClass is not null then elements will be of targetClass type. Selects permissions which are derived from this permission
public java.util.Collection getGroup( int p1 ) Executes query, returns database backed collection with elements of type biz.hammurapi.web.security.sql.permission.Group. Selects groups directly assigned this permission
public java.util.Collection getGroup( int p1, biz.hammurapi.convert.Converter converter ) Executes query, returns database backed collection with elements of type biz.hammurapi.web.security.sql.permission.Group. If converter is not null then elements will be results of conversion.Selects groups directly assigned this permission
public java.util.Collection getGroup( int p1, Class targetClass ) Executes query, returns database backed collection with elements of type biz.hammurapi.web.security.sql.permission.Group. If targetClass is not null then elements will be of targetClass typeSelects groups directly assigned this permission
public java.util.Collection getGroup( int p1, java.util.Collection receiver )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type biz.hammurapi.web.security.sql.permission.Group and returns populated collection. Selects groups directly assigned this permission
public java.util.Collection getGroup( int p1, java.util.Collection receiver, biz.hammurapi.convert.Converter converter )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type biz.hammurapi.web.security.sql.permission.Group and returns populated collection. If converter is not null then elements will be results of conversion. Selects groups directly assigned this permission
public java.util.Collection getGroup( int p1, java.util.Collection receiver, Class targetClass )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type biz.hammurapi.web.security.sql.permission.Group and returns populated collection. If targetClass is not null then elements will be of targetClass type. Selects groups directly assigned this permission
public java.util.Collection getPrerequisite( int p1 ) Executes query, returns database backed collection with elements of type biz.hammurapi.web.security.sql.ApplicationPermission. Selects permissions which are prerequisite for this permission
public java.util.Collection getPrerequisite( int p1, biz.hammurapi.convert.Converter converter ) Executes query, returns database backed collection with elements of type biz.hammurapi.web.security.sql.ApplicationPermission. If converter is not null then elements will be results of conversion.Selects permissions which are prerequisite for this permission
public java.util.Collection getPrerequisite( int p1, Class targetClass ) Executes query, returns database backed collection with elements of type biz.hammurapi.web.security.sql.ApplicationPermission. If targetClass is not null then elements will be of targetClass typeSelects permissions which are prerequisite for this permission
public java.util.Collection getPrerequisite( int p1, java.util.Collection receiver )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type biz.hammurapi.web.security.sql.ApplicationPermission and returns populated collection. Selects permissions which are prerequisite for this permission
public java.util.Collection getPrerequisite( int p1, java.util.Collection receiver, biz.hammurapi.convert.Converter converter )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type biz.hammurapi.web.security.sql.ApplicationPermission and returns populated collection. If converter is not null then elements will be results of conversion. Selects permissions which are prerequisite for this permission
public java.util.Collection getPrerequisite( int p1, java.util.Collection receiver, Class targetClass )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type biz.hammurapi.web.security.sql.ApplicationPermission and returns populated collection. If targetClass is not null then elements will be of targetClass type. Selects permissions which are prerequisite for this permission
public java.util.Collection getRole( int p1 ) Executes query, returns database backed collection with elements of type biz.hammurapi.web.security.sql.permission.Group. Selects roles assigned this permission
public java.util.Collection getRole( int p1, biz.hammurapi.convert.Converter converter ) Executes query, returns database backed collection with elements of type biz.hammurapi.web.security.sql.permission.Group. If converter is not null then elements will be results of conversion.Selects roles assigned this permission
public java.util.Collection getRole( int p1, Class targetClass ) Executes query, returns database backed collection with elements of type biz.hammurapi.web.security.sql.permission.Group. If targetClass is not null then elements will be of targetClass typeSelects roles assigned this permission
public java.util.Collection getRole( int p1, java.util.Collection receiver )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type biz.hammurapi.web.security.sql.permission.Group and returns populated collection. Selects roles assigned this permission
public java.util.Collection getRole( int p1, java.util.Collection receiver, biz.hammurapi.convert.Converter converter )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type biz.hammurapi.web.security.sql.permission.Group and returns populated collection. If converter is not null then elements will be results of conversion. Selects roles assigned this permission
public java.util.Collection getRole( int p1, java.util.Collection receiver, Class targetClass )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type biz.hammurapi.web.security.sql.permission.Group and returns populated collection. If targetClass is not null then elements will be of targetClass type. Selects roles assigned this permission
public java.util.Collection getUser( int p1 ) Executes query, returns database backed collection with elements of type biz.hammurapi.web.security.sql.permission.User. Selects users directly assigned this permission
public java.util.Collection getUser( int p1, biz.hammurapi.convert.Converter converter ) Executes query, returns database backed collection with elements of type biz.hammurapi.web.security.sql.permission.User. If converter is not null then elements will be results of conversion.Selects users directly assigned this permission
public java.util.Collection getUser( int p1, Class targetClass ) Executes query, returns database backed collection with elements of type biz.hammurapi.web.security.sql.permission.User. If targetClass is not null then elements will be of targetClass typeSelects users directly assigned this permission
public java.util.Collection getUser( int p1, java.util.Collection receiver )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type biz.hammurapi.web.security.sql.permission.User and returns populated collection. Selects users directly assigned this permission
public java.util.Collection getUser( int p1, java.util.Collection receiver, biz.hammurapi.convert.Converter converter )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type biz.hammurapi.web.security.sql.permission.User and returns populated collection. If converter is not null then elements will be results of conversion. Selects users directly assigned this permission
public java.util.Collection getUser( int p1, java.util.Collection receiver, Class targetClass )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type biz.hammurapi.web.security.sql.permission.User and returns populated collection. If targetClass is not null then elements will be of targetClass type. Selects users directly assigned this permission
public void processClasses( biz.hammurapi.sql.RowProcessor processor )  throws java.sql.SQLExceptionExecutes query, iterates over rows and invokes methods of RowProcessor for each row. Selects permission class names for grouping
public void processDerived( int p1, biz.hammurapi.sql.RowProcessor processor )  throws java.sql.SQLExceptionExecutes query, iterates over rows and invokes methods of RowProcessor for each row. Selects permissions which are derived from this permission
public void processGroup( int p1, biz.hammurapi.sql.RowProcessor processor )  throws java.sql.SQLExceptionExecutes query, iterates over rows and invokes methods of RowProcessor for each row. Selects groups directly assigned this permission
public void processPrerequisite( int p1, biz.hammurapi.sql.RowProcessor processor )  throws java.sql.SQLExceptionExecutes query, iterates over rows and invokes methods of RowProcessor for each row. Selects permissions which are prerequisite for this permission
public void processRole( int p1, biz.hammurapi.sql.RowProcessor processor )  throws java.sql.SQLExceptionExecutes query, iterates over rows and invokes methods of RowProcessor for each row. Selects roles assigned this permission
public void processUser( int p1, biz.hammurapi.sql.RowProcessor processor )  throws java.sql.SQLExceptionExecutes query, iterates over rows and invokes methods of RowProcessor for each row. Selects users directly assigned this permission

Fields
NameTypeModifiersAttributes
_processorbiz.hammurapi.sql.SQLProcessor
private
IMPL_CLASS_biz_hammurapi_web_security_sql_ApplicationPermissionjava.lang.Class
private
static
final
IMPL_CLASS_biz_hammurapi_web_security_sql_permission_Groupjava.lang.Class
private
static
final
IMPL_CLASS_biz_hammurapi_web_security_sql_permission_Userjava.lang.Class
private
static
final