SearchAPI

SearchAPI

new SearchAPI(data)

Source:

The SearchAPI. Allow the user to perform search into the object database.

Parameters:
Name Type Description
data Object

The database of objects

Methods

beginPrepare()

Source:

Set the flag "preparing" which means the research should not be executed. Create a new PreparedRequest instance.

endPrepare()

Source:

exec(preparedRequest)

Source:

To execute a prepared request. Almost time it is when an inspector is running.

Parameters:
Name Type Description
preparedRequest *

getter(pattern)

Source:
Parameters:
Name Type Description
pattern String

Field signature

gettersOf(pattern)

Source:
Parameters:
Name Type Description
pattern String

Field signature

invoke(pattern)

Source:

To seach only method call

Parameters:
Name Type Description
pattern *

nocase()

Source:

Switch case sensitive On/Off of following search

setter(pattern)

Source:
Parameters:
Name Type Description
pattern String

Search pattern

settersOf(pattern)

Source:
Parameters:
Name Type Description
pattern String

Field signature