Index

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

Class RoleEngine

Methods
MethodDescription
public void <init>( biz.hammurapi.sql.SQLProcessor processor ) Constructor
public java.util.Collection getGroup( String p1 ) Executes query, returns database backed collection with elements of type biz.hammurapi.web.security.sql.UserRole. Selects groups in this role
public java.util.Collection getGroup( String p1, biz.hammurapi.convert.Converter converter ) Executes query, returns database backed collection with elements of type biz.hammurapi.web.security.sql.UserRole. If converter is not null then elements will be results of conversion.Selects groups in this role
public java.util.Collection getGroup( String p1, Class targetClass ) Executes query, returns database backed collection with elements of type biz.hammurapi.web.security.sql.UserRole. If targetClass is not null then elements will be of targetClass typeSelects groups in this role
public java.util.Collection getGroup( String p1, java.util.Collection receiver )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type biz.hammurapi.web.security.sql.UserRole and returns populated collection. Selects groups in this role
public java.util.Collection getGroup( String 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.UserRole and returns populated collection. If converter is not null then elements will be results of conversion. Selects groups in this role
public java.util.Collection getGroup( String p1, java.util.Collection receiver, Class targetClass )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type biz.hammurapi.web.security.sql.UserRole and returns populated collection. If targetClass is not null then elements will be of targetClass type. Selects groups in this role
public java.util.Collection getPermission( String p1 ) Executes query, returns database backed collection with elements of type biz.hammurapi.web.security.sql.AssignedPermission. Selects role's permissions
public java.util.Collection getPermission( String p1, biz.hammurapi.convert.Converter converter ) Executes query, returns database backed collection with elements of type biz.hammurapi.web.security.sql.AssignedPermission. If converter is not null then elements will be results of conversion.Selects role's permissions
public java.util.Collection getPermission( String p1, Class targetClass ) Executes query, returns database backed collection with elements of type biz.hammurapi.web.security.sql.AssignedPermission. If targetClass is not null then elements will be of targetClass typeSelects role's permissions
public java.util.Collection getPermission( String p1, java.util.Collection receiver )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type biz.hammurapi.web.security.sql.AssignedPermission and returns populated collection. Selects role's permissions
public java.util.Collection getPermission( String 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.AssignedPermission and returns populated collection. If converter is not null then elements will be results of conversion. Selects role's permissions
public java.util.Collection getPermission( String p1, java.util.Collection receiver, Class targetClass )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type biz.hammurapi.web.security.sql.AssignedPermission and returns populated collection. If targetClass is not null then elements will be of targetClass type. Selects role's permissions
public java.util.Collection getUser( String p1 ) Executes query, returns database backed collection with elements of type biz.hammurapi.web.security.sql.ApplicationUser. Selects users directly in this role
public java.util.Collection getUser( String p1, biz.hammurapi.convert.Converter converter ) Executes query, returns database backed collection with elements of type biz.hammurapi.web.security.sql.ApplicationUser. If converter is not null then elements will be results of conversion.Selects users directly in this role
public java.util.Collection getUser( String p1, Class targetClass ) Executes query, returns database backed collection with elements of type biz.hammurapi.web.security.sql.ApplicationUser. If targetClass is not null then elements will be of targetClass typeSelects users directly in this role
public java.util.Collection getUser( String p1, java.util.Collection receiver )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type biz.hammurapi.web.security.sql.ApplicationUser and returns populated collection. Selects users directly in this role
public java.util.Collection getUser( String 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.ApplicationUser and returns populated collection. If converter is not null then elements will be results of conversion. Selects users directly in this role
public java.util.Collection getUser( String p1, java.util.Collection receiver, Class targetClass )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type biz.hammurapi.web.security.sql.ApplicationUser and returns populated collection. If targetClass is not null then elements will be of targetClass type. Selects users directly in this role
public void processGroup( String p1, biz.hammurapi.sql.RowProcessor processor )  throws java.sql.SQLExceptionExecutes query, iterates over rows and invokes methods of RowProcessor for each row. Selects groups in this role
public void processPermission( String p1, biz.hammurapi.sql.RowProcessor processor )  throws java.sql.SQLExceptionExecutes query, iterates over rows and invokes methods of RowProcessor for each row. Selects role's permissions
public void processUser( String 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 in this role

Fields
NameTypeModifiersAttributes
_processorbiz.hammurapi.sql.SQLProcessor
private
IMPL_CLASS_biz_hammurapi_web_security_sql_ApplicationUserjava.lang.Class
private
static
final
IMPL_CLASS_biz_hammurapi_web_security_sql_AssignedPermissionjava.lang.Class
private
static
final
IMPL_CLASS_biz_hammurapi_web_security_sql_UserRolejava.lang.Class
private
static
final