ERDQueryTwoLevelRelationship Class Reference

Inherits er::directtoweb::components::ERDCustomQueryComponent.

Collaboration diagram for ERDQueryTwoLevelRelationship:

Collaboration graph
[legend]

List of all members.

Public Member Functions

Object displayGroupQueryMatchValue ()
 ERDQueryTwoLevelRelationship (WOContext context)
boolean multiple ()
NSArray possibleChildren ()
String primaryQueryKey ()
Object secondaryDisplayGroupQueryMatchValue ()
String secondaryQueryKey ()
void setDisplayGroupQueryMatchValue (Object newValue)
void setSecondaryDisplayGroupQueryMatchValue (Object newValue)
boolean synchronizesVariablesWithBindings ()
Object theList ()

Static Private Attributes

static final Logger log = Logger.getLogger(ERDQueryTwoLevelRelationship.class)


Detailed Description

Create queries that consist of a drilldown. Example: consider a Person working in a department, a Department belongs to a Company. You'd query for Persons by setting key = "whatever" , not used multiple = true , we want to select many departments size = 5 , we want to select many departments destinationEntityName = "Company" , The entity in the first popup secondaryKey = "departments" , Company.departments primaryQueryKey = "department.company" , query Person.department.company (unused of ommited or null) secondaryQueryKey = "department" , query Person.department keyWhenRelationship = "companyName" , Display key for Company secondaryKeyWhenRelationship = "departmentName" , Display key for Dept displayNameForEntity = "Company" , Label for Company displayNameForSecondaryEntity = "Departments" , Label for Dept restrictedChoiceKey = "session.user.visibleCompanies", Restriction for the main entity, if unset all objects of destinationEntityName are used restrictedChildrenChoiceKey = "session.user.visibleDepartments", Restriction on the children entity, if unset all children are shown displayGroup = display group the query is in
Author:
ak on Fri Nov 21 2003 ERDirectToWeb

Constructor & Destructor Documentation

ERDQueryTwoLevelRelationship ( WOContext  context  ) 

Public constructor

Parameters:
context the context


Member Function Documentation

Object displayGroupQueryMatchValue (  ) 

Reimplemented from ERDCustomQueryComponent.

boolean multiple (  ) 

NSArray possibleChildren (  ) 

String primaryQueryKey (  ) 

eg. city.state

Object secondaryDisplayGroupQueryMatchValue (  ) 

String secondaryQueryKey (  ) 

eg. city

void setDisplayGroupQueryMatchValue ( Object  newValue  ) 

Reimplemented from ERDCustomQueryComponent.

void setSecondaryDisplayGroupQueryMatchValue ( Object  newValue  ) 

boolean synchronizesVariablesWithBindings (  ) 

component does not synchronize it's variables

Reimplemented from ERDCustomComponent.

Object theList (  ) 


Member Data Documentation

final Logger log = Logger.getLogger(ERDQueryTwoLevelRelationship.class) [static, private]

logging support

Reimplemented from ERDCustomQueryComponent.


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:42:53 2012 for Project Wonder by  doxygen 1.5.8