public abstract class BasicMemberQueryFilter extends AbstractPolicyFilter implements MemberQueryFilter, PluginComponent, java.lang.Comparable
Modifier and Type | Field and Description |
---|---|
protected int |
order |
static java.lang.String |
REVISION |
Constructor and Description |
---|
BasicMemberQueryFilter()
Constructs a QueryFilter with order = 0
|
BasicMemberQueryFilter(int order)
Constructs a QueryFilter with the given order
|
Modifier and Type | Method and Description |
---|---|
void |
filterMemberQueryHandler(AllMemberQueryHandler amqh,
java.util.Map<java.lang.String,java.lang.Object> context)
This method should be overriden to filter the value of the AllMemberQueryHandler
|
void |
filterMemberQueryHandler(DBMemberQueryHandler dbmqh,
java.util.Map<java.lang.String,java.lang.Object> context)
This method should be overriden to filter the value of the DBMemberQueryHandler
|
void |
filterMemberQueryHandler(MemberQueryHandler mqh,
java.util.Map<java.lang.String,java.lang.Object> context)
This method should be overriden to filter the value of the MemberQueryHandler
|
PageResult<Member> |
filterPageResult(AllMemberQueryHandler amqh,
PageResult<Member> pr,
java.util.Map<java.lang.String,java.lang.Object> context)
This method should be overriden to filter the page result of a AllMemberQueryHandler..
|
PageResult<DBMember> |
filterPageResult(DBMemberQueryHandler dbmqh,
PageResult<DBMember> pr,
java.util.Map<java.lang.String,java.lang.Object> context)
This method should be overriden to filter the page result of a DBMemberQueryHandler..
|
java.util.List<java.lang.String> |
filterResultList(AllMemberQueryHandler amqh,
java.util.List<java.lang.String> list,
java.util.Map<java.lang.String,java.lang.Object> context)
This method should be overriden to filter the result list of a AllMemberQueryHandler.
|
java.util.List<java.lang.String> |
filterResultList(DBMemberQueryHandler dbmqh,
java.util.List<java.lang.String> list,
java.util.Map<java.lang.String,java.lang.Object> context)
This method should be overriden to filter the result list of a DBMemberQueryHandler.
|
java.util.Set<Member> |
filterResultSet(MemberQueryHandler mqh,
java.util.Set<Member> set,
java.util.Map<java.lang.String,java.lang.Object> context)
This method should be overriden to filter the result set
|
boolean |
init(Plugin plugin)
Initialize the component with the given plugin configuration
|
compareTo, equals, getOrder, setOrder
public static final java.lang.String REVISION
protected int order
public BasicMemberQueryFilter()
public BasicMemberQueryFilter(int order)
order
- the orderpublic boolean init(Plugin plugin)
PluginComponent
init
in interface PluginComponent
plugin
- the calling pluginPluginComponent.init(Plugin)
public void filterMemberQueryHandler(MemberQueryHandler mqh, java.util.Map<java.lang.String,java.lang.Object> context)
filterMemberQueryHandler
in interface MemberQueryFilter
mqh
- the MemberQueryHandlercontext
- the context. Can be used to exchange data between custom MemberQueryFilters.public java.util.Set<Member> filterResultSet(MemberQueryHandler mqh, java.util.Set<Member> set, java.util.Map<java.lang.String,java.lang.Object> context)
filterResultSet
in interface MemberQueryFilter
mqh
- the MemberQueryHandlerset
- the result setcontext
- the context. Can be used to exchange data between custom MemberQueryFilters.public void filterMemberQueryHandler(DBMemberQueryHandler dbmqh, java.util.Map<java.lang.String,java.lang.Object> context)
filterMemberQueryHandler
in interface MemberQueryFilter
dbmqh
- the DBMemberQueryHandlercontext
- the context. Can be used to exchange data between custom MemberQueryFilters.public PageResult<DBMember> filterPageResult(DBMemberQueryHandler dbmqh, PageResult<DBMember> pr, java.util.Map<java.lang.String,java.lang.Object> context)
filterPageResult
in interface MemberQueryFilter
dbmqh
- the DBMemberQueryHandlerpr
- the page resultcontext
- the context. Can be used to exchange data between custom MemberQueryFilters.public java.util.List<java.lang.String> filterResultList(DBMemberQueryHandler dbmqh, java.util.List<java.lang.String> list, java.util.Map<java.lang.String,java.lang.Object> context)
filterResultList
in interface MemberQueryFilter
dbmqh
- the DBMemberQueryHandlerlist
- the list of member id to filtercontext
- the context. Can be used to exchange data between custom MemberQueryFilters.public void filterMemberQueryHandler(AllMemberQueryHandler amqh, java.util.Map<java.lang.String,java.lang.Object> context)
filterMemberQueryHandler
in interface MemberQueryFilter
amqh
- the AllMemberQueryHandlercontext
- the context. Can be used to exchange data between custom MemberQueryFilters.public PageResult<Member> filterPageResult(AllMemberQueryHandler amqh, PageResult<Member> pr, java.util.Map<java.lang.String,java.lang.Object> context)
filterPageResult
in interface MemberQueryFilter
amqh
- the AllMemberQueryHandlerpr
- the page resultcontext
- the context. Can be used to exchange data between custom MemberQueryFilters.public java.util.List<java.lang.String> filterResultList(AllMemberQueryHandler amqh, java.util.List<java.lang.String> list, java.util.Map<java.lang.String,java.lang.Object> context)
filterResultList
in interface MemberQueryFilter
amqh
- the AllMemberQueryHandlerlist
- the list of member id to filtercontext
- the context. Can be used to exchange data between custom MemberQueryFilters.Copyright © 2001-2010 Jalios SA. All Rights Reserved.