com.im.df.api 5.9

com.im.df.api.support
Interface DFSearchDomain


public interface DFSearchDomain

Search domain is a constraint when executing query in DFResultSet. This object is a wrapper for a List of values. Values are real data values of the ID field of the root entity in given datatree. If user executes query with some specific DFSearchDomain the result are only from this domain. In other words the result is intersection of the DB query execution result and the ids provided by DFSearchDomain.

The list of ids provided by DFSearchDomain is mutable, so it can change in time. The new values are obtained always just before the query is going to be executed.

This object doesn't support listeners to 'values' property changes, because it's not required now, but it can be added later.


Field Summary
static DFSearchDomain DEFAULT
          Default domain constant.
 
Method Summary
 List getValues()
          Get list of ids - values of ID field.
 

Field Detail

DEFAULT

static final DFSearchDomain DEFAULT
Default domain constant. This object represents whole database. If it's used in DFResultSet it means there are no constraints when running search.

Method Detail

getValues

List getValues()
Get list of ids - values of ID field. Do not cache these values, always ask for a new version just when you need it. The values can change and there is currently no listener support. Tell us if you need it.


com.im.df.api 5.9