ERMDDefaultConfigurationNameAssignment Class Reference

Inherits er::directtoweb::assignments::defaults::ERDDefaultConfigurationNameAssignment.

Collaboration diagram for ERMDDefaultConfigurationNameAssignment:

Collaboration graph
[legend]

List of all members.

Public Member Functions

Object createEmbeddedConfigurationName (D2WContext c)
NSArray< StringdependentKeys (String keyPath)
Object editRelationshipEmbeddedConfigurationName (D2WContext c)
 ERMDDefaultConfigurationNameAssignment (String key, Object value)
 ERMDDefaultConfigurationNameAssignment (EOKeyValueUnarchiver u)
String inlineConfigurationName (D2WContext c)
Object pickEmbeddedConfigurationName (D2WContext c)
Object queryEmbeddedConfigurationName (D2WContext c)
Object selectEmbeddedConfigurationName (D2WContext c)

Static Public Member Functions

static Object decodeWithKeyValueUnarchiver (EOKeyValueUnarchiver eokeyvalueunarchiver)

Static Protected Attributes

static final NSDictionary keys


Detailed Description

This assignment calculates default page configuration names for the current entity in the context.

Constructor & Destructor Documentation

ERMDDefaultConfigurationNameAssignment ( EOKeyValueUnarchiver  u  ) 

Public constructor

Parameters:
u key-value unarchiver used when unarchiving from rule files.

ERMDDefaultConfigurationNameAssignment ( String  key,
Object  value 
)

Public constructor

Parameters:
key context key
value of the assignment


Member Function Documentation

Object createEmbeddedConfigurationName ( D2WContext  c  ) 

Generates a default embedded create page configuration based on the current entity name. Default format is 'CreateEmbedded' + entity name.

Parameters:
c current D2W context
Returns:
default edit page configuration name

Reimplemented from ERDDefaultConfigurationNameAssignment.

static Object decodeWithKeyValueUnarchiver ( EOKeyValueUnarchiver  eokeyvalueunarchiver  )  [static]

Static constructor required by the EOKeyValueUnarchiver interface. If this isn't implemented then the default behavior is to construct the first super class that does implement this method. Very lame.

Parameters:
eokeyvalueunarchiver to be unarchived
Returns:
decoded assignment of this class

Reimplemented from ERDDefaultConfigurationNameAssignment.

NSArray<String> dependentKeys ( String  keyPath  ) 

Implementation of the ERDComputingAssignmentInterface. This assignment depends upon the context keys: "entity.name" and "object.entityName". This array of keys is used when constructing the significant keys for the passed in keyPath.

Parameters:
keyPath to compute significant keys for.
Returns:
array of context keys this assignment depends upon.

Reimplemented from ERDDefaultConfigurationNameAssignment.

Object editRelationshipEmbeddedConfigurationName ( D2WContext  c  ) 

Generates a default embedded create page configuration based on the current entity name. Default format is 'EditRelationshipEmbedded' + entity name.

Parameters:
c current D2W context
Returns:
default edit page configuration name

Reimplemented from ERDDefaultConfigurationNameAssignment.

String inlineConfigurationName ( D2WContext  c  ) 

Generates a default embedded create page configuration based on the current entity name. Default format is 'CreateEmbedded' + entity name.

Parameters:
c current D2W context
Returns:
default edit page configuration name

Object pickEmbeddedConfigurationName ( D2WContext  c  ) 

Generates a default embedded create page configuration based on the current entity name. Default format is 'PickEmbedded' + entity name.

Parameters:
c current D2W context
Returns:
default edit page configuration name

Object queryEmbeddedConfigurationName ( D2WContext  c  ) 

Generates a default embedded query page configuration based on the current entity name. Default format is 'EditEmbedded' + entity name.

Parameters:
c current D2W context
Returns:
default edit page configuration name

Object selectEmbeddedConfigurationName ( D2WContext  c  ) 

Generates a default embedded create page configuration based on the current entity name. Default format is 'SelectEmbedded' + entity name.

Parameters:
c current D2W context
Returns:
default edit page configuration name


Member Data Documentation

final NSDictionary keys [static, protected]

Initial value:

 ERXDictionaryUtilities.dictionaryWithObjectsAndKeys( new Object [] {
                        new NSArray(new Object[] {"propertyKey", "object.entityName", "entity.name"}), "queryEmbeddedConfigurationName",
                        new NSArray(new Object[] {"propertyKey", "object.entityName", "entity.name"}), "createEmbeddedConfigurationName",
                        new NSArray(new Object[] {"propertyKey", "object.entityName", "entity.name"}), "selectEmbeddedConfigurationName",
                        new NSArray(new Object[] {"propertyKey", "object.entityName", "entity.name"}), "pickEmbeddedConfigurationName",
                        new NSArray(new Object[] {"propertyKey", "object.entityName", "entity.name"}), "editRelationshipEmbeddedConfigurationName",
                        new NSArray(new Object[] {"propertyKey", "object.entityName", "entity.name", "inlineTask"}), "inlineConfigurationName"
                        })


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

Generated on Sat May 26 06:43:23 2012 for Project Wonder by  doxygen 1.5.8