|
|||||||||
| Atavism Version 2018.1 | AGIS API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatavism.server.engine.SearchManager
public class SearchManager
Object search framework. You can search for objects matching your criteria.
The platform provides the following searchable collections:
Region.Search
PropertySearch
Plugins can register searchable object collections using
registerSearchable().
| Method Summary | |
|---|---|
static Matcher |
getMatcher(SearchClause searchClause,
java.lang.Class instanceClass)
Get object matcher that can apply 'searchClause' to objects of 'instanceClass'. |
static void |
registerMatcher(java.lang.Class searchClauseClass,
java.lang.Class instanceClass,
MatcherFactory matcherFactory)
Register object match factory. |
static void |
registerSearchable(ObjectType objectType,
Searchable searchable)
Register a new searchable object collection. |
static java.util.Collection |
searchObjects(ObjectType objectType,
SearchClause searchClause,
SearchSelection selection)
Search for matching objects and get selected information. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.util.Collection searchObjects(ObjectType objectType,
SearchClause searchClause,
SearchSelection selection)
The search clause is a SearchClass sub-class designed specifically for an object type (or class of object types).
objectType - Search for this object typesearchClause - Object matching criteriaselection - Information selection; only the indicated
information will be returned.
public static void registerSearchable(ObjectType objectType,
Searchable searchable)
objectType - Collection object type.searchable - Object search implementation.
public static void registerMatcher(java.lang.Class searchClauseClass,
java.lang.Class instanceClass,
MatcherFactory matcherFactory)
searchClauseClass - A SearchClause sub-class.instanceClass - Instance object class.matcherFactory - Can return a Matcher object capable of
running the SearchClause against the instance object.
public static Matcher getMatcher(SearchClause searchClause,
java.lang.Class instanceClass)
searchClause - The matching criteria.instanceClass - Instance object class.
|
Copyright © 2018 Dragonsan Studios Sp. z o.o. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||