|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jalios.jcms.policy.AbstractPolicyFilter com.jalios.jcms.BasicMemberQueryFilter
public abstract class BasicMemberQueryFilter
A QueryFilter is notified for each member query.
Field Summary | |
---|---|
protected int |
order
|
static String |
REVISION
|
Constructor Summary | |
---|---|
BasicMemberQueryFilter()
Constructs a QueryFilter with order = 0 |
|
BasicMemberQueryFilter(int order)
Constructs a QueryFilter with the given order |
Method Summary | |
---|---|
void |
filterMemberQueryHandler(AllMemberQueryHandler amqh,
Map<String,Object> context)
This method should be overriden to filter the value of the AllMemberQueryHandler |
void |
filterMemberQueryHandler(DBMemberQueryHandler dbmqh,
Map<String,Object> context)
This method should be overriden to filter the value of the DBMemberQueryHandler |
void |
filterMemberQueryHandler(MemberQueryHandler mqh,
Map<String,Object> context)
This method should be overriden to filter the value of the MemberQueryHandler |
PageResult<Member> |
filterPageResult(AllMemberQueryHandler amqh,
PageResult<Member> pr,
Map<String,Object> context)
This method should be overriden to filter the page result of a AllMemberQueryHandler.. |
PageResult<DBMember> |
filterPageResult(DBMemberQueryHandler dbmqh,
PageResult<DBMember> pr,
Map<String,Object> context)
This method should be overriden to filter the page result of a DBMemberQueryHandler.. |
List<String> |
filterResultList(AllMemberQueryHandler amqh,
List<String> list,
Map<String,Object> context)
This method should be overriden to filter the result list of a AllMemberQueryHandler. |
List<String> |
filterResultList(DBMemberQueryHandler dbmqh,
List<String> list,
Map<String,Object> context)
This method should be overriden to filter the result list of a DBMemberQueryHandler. |
Set<Member> |
filterResultSet(MemberQueryHandler mqh,
Set<Member> set,
Map<String,Object> context)
This method should be overriden to filter the result set |
boolean |
init(Plugin plugin)
Initialize the component with the given plugin configuration |
Methods inherited from class com.jalios.jcms.policy.AbstractPolicyFilter |
---|
compareTo, equals, getOrder, setOrder |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Field Detail |
---|
public static final String REVISION
protected int order
Constructor Detail |
---|
public BasicMemberQueryFilter()
public BasicMemberQueryFilter(int order)
order
- the orderMethod Detail |
---|
public boolean init(Plugin plugin)
PluginComponent
init
in interface PluginComponent
plugin
- the calling plugin
PluginComponent.init(Plugin)
public void filterMemberQueryHandler(MemberQueryHandler mqh, Map<String,Object> context)
filterMemberQueryHandler
in interface MemberQueryFilter
mqh
- the MemberQueryHandlercontext
- the context. Can be used to exchange data between custom MemberQueryFilters.public Set<Member> filterResultSet(MemberQueryHandler mqh, Set<Member> set, Map<String,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, Map<String,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, Map<String,Object> context)
filterPageResult
in interface MemberQueryFilter
dbmqh
- the DBMemberQueryHandlerpr
- the page resultcontext
- the context. Can be used to exchange data between custom MemberQueryFilters.
public List<String> filterResultList(DBMemberQueryHandler dbmqh, List<String> list, Map<String,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, Map<String,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, Map<String,Object> context)
filterPageResult
in interface MemberQueryFilter
amqh
- the AllMemberQueryHandlerpr
- the page resultcontext
- the context. Can be used to exchange data between custom MemberQueryFilters.
public List<String> filterResultList(AllMemberQueryHandler amqh, List<String> list, Map<String,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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |