Index

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

Class GroupEngine

Methods
MethodDescription
public void <init>( biz.hammurapi.sql.SQLProcessor processor ) Constructor
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 getRole( String p1 ) Executes query, returns database backed collection with elements of type biz.hammurapi.web.security.sql.UserRole. Selects this group's roles
public java.util.Collection getRole( 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 this group's roles
public java.util.Collection getRole( 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 this group's roles
public java.util.Collection getRole( 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 this group's roles
public java.util.Collection getRole( 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 this group's roles
public java.util.Collection getRole( 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 this group's roles
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 in this group
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 in this group
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 in this group
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 in this group
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 in this group
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 in this group
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 processRole( String p1, biz.hammurapi.sql.RowProcessor processor )  throws java.sql.SQLExceptionExecutes query, iterates over rows and invokes methods of RowProcessor for each row. Selects this group's roles
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 in this group

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