Annotation of Examples/EnterpriseObjects/SHLExamples/Querying/QueryController.h, revision 1.1.1.1

1.1       root        1: /*--------------------------------------------------------------------------
                      2:  *
                      3:  *     You may freely copy, distribute, and reuse the code in this example.
                      4:  *     SHL Systemhouse disclaims any warranty of any kind, expressed or  
                      5:  *     implied, as to its fitness for any particular use.
                      6:  *
                      7:  *
                      8:  *     QueryController
                      9:  *
                     10:  *     Inherits From:          NSObject
                     11:  *
                     12:  *     Conforms To:            None.
                     13:  *
                     14:  *     Declared In:            QueryController.h
                     15:  *
                     16:  *     Class Description
                     17:  *
                     18:  *             Builds query based on entity and attributes selected as well as
                     19:  *             qualifying conditions.  
                     20:  *
                     21:  *
                     22:  *------------------------------------------------------------------------*/
                     23: #import <appkit/appkit.h>
                     24: #import <eointerface/eointerface.h>
                     25: #import <eoaccess/eoaccess.h>
                     26: #import <foundation/NSObject.h>
                     27: #import <foundation/NSArray.h>
                     28: 
                     29: 
                     30: 
                     31: @interface QueryController : NSObject
                     32: {
                     33:     EOAdaptor                          *adaptor;
                     34:        EOAdaptorChannel                *channel;
                     35:     EODatabase                         *database;
                     36:        EODatabaseContext               *dbContext;
                     37:        EODatabaseChannel               *dbChannel;
                     38:        EODatabaseDataSource    *dataSource;
                     39:        EOController                    *controller;
                     40:     EOEntity                           *entity;
                     41:        EOQualifier                             *qualifier;
                     42: 
                     43:     id browser;
                     44:        id      negator;
                     45:        id      qualifierBrowser;
                     46:        id      qualifierText;
                     47:        id      qualifierOperation;
                     48:     id queryText;
                     49:     id window;
                     50:        id      modelPath;
                     51: 
                     52:        id      resultWindow;
                     53:        id      resultTable;
                     54: }
                     55: 
                     56: /*--------------------------------------------------------------------------
                     57:  *     Application Delegate Methods
                     58:  *------------------------------------------------------------------------*/
                     59: - appDidInit: sender;
                     60: 
                     61: 
                     62: /*--------------------------------------------------------------------------
                     63:  *     Target/Action Methods
                     64:  *------------------------------------------------------------------------*/
                     65: - performQuery:sender;
                     66: - clearQualifier:sender;
                     67: - replaceQualifier:sender;
                     68: - appendAND:sender;
                     69: - appendOR:sender;
                     70: - selectOperation:sender;
                     71: - selectAttribute:sender;
                     72: 
                     73: - (void) fetchAndDisplay:(NSArray *)attributes inEntity:(EOEntity *)anEntity
                     74:        withQualifier:(EOQualifier *)aQualifier;
                     75: 
                     76: 
                     77: @end

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.