Atavism Version 2018.1AGIS API

atavism.server.objects
Class EntitySearchable

java.lang.Object
  extended by atavism.server.objects.EntitySearchable
All Implemented Interfaces:
Searchable

public class EntitySearchable
extends java.lang.Object
implements Searchable

Generic searchable collection for registered entities. Supports PropertySearch matches against any registered entities of a given ObjectType. Searches the entity properties and returns selected property values. The object key is the entity oid. Supports selection options RESULT_KEYED and RESULT_KEY_ONLY.

See Also:
SearchManager.registerSearchable(atavism.server.objects.ObjectType, atavism.server.engine.Searchable)

Constructor Summary
EntitySearchable(ObjectType objectType)
           
 
Method Summary
 java.util.Collection runSearch(SearchClause search, SearchSelection selection)
          Run an object search and return selected information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntitySearchable

public EntitySearchable(ObjectType objectType)
Method Detail

runSearch

public java.util.Collection runSearch(SearchClause search,
                                      SearchSelection selection)
Description copied from interface: Searchable
Run an object search and return selected information.

Specified by:
runSearch in interface Searchable
Parameters:
search - Object matching criteria.
selection - Describes the object information to return and how the result collection is structured.
Returns:
Collection of matching objects.


Copyright © 2018 Dragonsan Studios Sp. z o.o.