com.monad.homerun.filter
Interface Screener

All Superinterfaces:
Relator

public interface Screener
extends Relator

Screener describes classes that can validate and execute filter screens. Currently, ObjectManager is the only implementation


Method Summary
 boolean applyFilter(Filter filter, java.lang.String objectName)
          Applies a filter against an object
 boolean controlExists(java.lang.String controlName)
          Does named control exist?
 boolean emitterExists(java.lang.String emitterName)
          Does named emitter exist?
 Filter getFilter(java.lang.String domainName, java.lang.String filterName)
          Retrieves a Filter from the object store
 Instance getObject(java.lang.String domainName, java.lang.String objectName)
          Retrieves an object from the object store
 Type getObjectType(java.lang.String domainName, java.lang.String objectName)
          Gets a type description for a given object
 Type[] getTypes(java.lang.String domainName)
          Gets a list of type descriptions for a given domain
 boolean modelExists(java.lang.String domainName, java.lang.String modelName)
          Does named model exist?
 
Methods inherited from interface com.monad.homerun.model.Relator
canObserveModel, domainExists, getModel, getModelStatus, getValueType, objectExists
 

Method Detail

getTypes

Type[] getTypes(java.lang.String domainName)
Gets a list of type descriptions for a given domain

Parameters:
domainName - the domain

getObjectType

Type getObjectType(java.lang.String domainName,
                   java.lang.String objectName)
Gets a type description for a given object

Parameters:
domainName - the domain

getObject

Instance getObject(java.lang.String domainName,
                   java.lang.String objectName)
Retrieves an object from the object store

Parameters:
domainName - the domain
objectName - the object

controlExists

boolean controlExists(java.lang.String controlName)
Does named control exist?

Parameters:
controlName - a control
Returns:
true if control defined, else false

emitterExists

boolean emitterExists(java.lang.String emitterName)
Does named emitter exist?

Parameters:
emitterName - an emitter
Returns:
true if emitter defined, else false

modelExists

boolean modelExists(java.lang.String domainName,
                    java.lang.String modelName)
Does named model exist?

Parameters:
domainName - the domain
modelName - a model in domain
Returns:
true if model defined, else false

getFilter

Filter getFilter(java.lang.String domainName,
                 java.lang.String filterName)
Retrieves a Filter from the object store

Parameters:
domainName - the domain
filterName - a filter in domain
Returns:
filter if found else null

applyFilter

boolean applyFilter(Filter filter,
                    java.lang.String objectName)
Applies a filter against an object

Parameters:
filter - the filter to apply
objectName - the object
Returns:
true if object passes filter


Copyright © 2006-2009 Richard Rodgers. All Rights Reserved.