|
Project Wonder 5.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webobjects.directtoweb.Assignment
er.directtoweb.assignments.ERDAssignment
er.directtoweb.assignments.defaults.ERDDefaultsEmbeddedAssignment
public class ERDDefaultsEmbeddedAssignment
This assignment calculates default values for embedded page configurations.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.webobjects.eocontrol.EOKeyValueArchiving |
---|
com.webobjects.eocontrol.EOKeyValueArchiving._NullValueSupport, com.webobjects.eocontrol.EOKeyValueArchiving._NumberSupport, com.webobjects.eocontrol.EOKeyValueArchiving._TimestampSupport, com.webobjects.eocontrol.EOKeyValueArchiving.Awaking, com.webobjects.eocontrol.EOKeyValueArchiving.FinishInitialization, com.webobjects.eocontrol.EOKeyValueArchiving.Support |
Field Summary | |
---|---|
static com.webobjects.foundation.NSArray |
_DEPENDENT_KEYS
holds the array of dependent keys |
Fields inherited from class er.directtoweb.assignments.ERDAssignment |
---|
D2WContextClassArray |
Fields inherited from class com.webobjects.directtoweb.Assignment |
---|
KeyPathKey, ValueKey |
Fields inherited from interface com.webobjects.eocontrol.EOKeyValueArchiving |
---|
_CLASS |
Constructor Summary | |
---|---|
ERDDefaultsEmbeddedAssignment(com.webobjects.eocontrol.EOKeyValueUnarchiver u)
Public constructor |
|
ERDDefaultsEmbeddedAssignment(java.lang.String key,
java.lang.Object value)
Public constructor |
Method Summary | |
---|---|
static java.lang.Object |
decodeWithKeyValueUnarchiver(com.webobjects.eocontrol.EOKeyValueUnarchiver eokeyvalueunarchiver)
Static constructor required by the EOKeyValueUnarchiver interface. |
com.webobjects.foundation.NSArray |
defaultEmbeddedDisplayPropertyKeys(com.webobjects.directtoweb.D2WContext c)
Calculates the default embedded display property keys for a given context. |
java.lang.String |
defaultEmbeddedEditPageConfiguration(com.webobjects.directtoweb.D2WContext c)
Calculates and returns the default embedded edit page configuration to be used for embedded edit pages. |
java.lang.String |
defaultEmbeddedEntityDisplayName(com.webobjects.directtoweb.D2WContext c)
Calculates and returns the default embedded entity display name. |
java.lang.Object |
defaultEmbeddedEntityName(com.webobjects.directtoweb.D2WContext c)
Calculates the default embedded entity name using the current object and propertyKey. |
java.lang.String |
defaultEmbeddedInspectPageConfiguration(com.webobjects.directtoweb.D2WContext c)
Calculates and returns the default embedded inspect page configuration to be used for embedded inspect pages. |
java.lang.String |
defaultEmbeddedListPageConfiguration(com.webobjects.directtoweb.D2WContext c)
Calculates and returns the default embedded list page configuration to be used for embedded list pages. |
com.webobjects.foundation.NSArray |
dependentKeys(java.lang.String keyPath)
Implementation of the ERDComputingAssignmentInterface . |
java.lang.String |
keyForMethodLookup(com.webobjects.directtoweb.D2WContext c)
By default the key path being requested is used as the key to lookup the method to call on the ERDAssignment subclass. |
ERXLocalizer |
localizerForContext(com.webobjects.directtoweb.D2WContext c)
Gets the localizer for the current context. |
Methods inherited from class er.directtoweb.assignments.ERDAssignment |
---|
booleanContextValueForKey, fire, localizedTemplateStringForKeyInContext, localizedValueForKeyInContext, localizedValueForKeyWithDefaultInContext, logDeprecatedMessage |
Methods inherited from class com.webobjects.directtoweb.Assignment |
---|
encodeWithKeyValueArchiver, keyPath, toString, value, value |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final com.webobjects.foundation.NSArray _DEPENDENT_KEYS
Constructor Detail |
---|
public ERDDefaultsEmbeddedAssignment(com.webobjects.eocontrol.EOKeyValueUnarchiver u)
u
- key-value unarchiver used when unarchiving
from rule files.public ERDDefaultsEmbeddedAssignment(java.lang.String key, java.lang.Object value)
key
- context keyvalue
- of the assignmentMethod Detail |
---|
public static java.lang.Object decodeWithKeyValueUnarchiver(com.webobjects.eocontrol.EOKeyValueUnarchiver eokeyvalueunarchiver)
eokeyvalueunarchiver
- to be unarchived
public com.webobjects.foundation.NSArray dependentKeys(java.lang.String keyPath)
ERDComputingAssignmentInterface
. This
assignment depends upon the context keys: "propertyKey", "object.entityName",
and "embeddedEntityName". This array of keys is used when constructing the
significant keys for the passed in keyPath.
keyPath
- to compute significant keys for.
public ERXLocalizer localizerForContext(com.webobjects.directtoweb.D2WContext c)
localizerForSession
off of ERXLocalizer
.
localizerForContext
in class ERDAssignment
c
- a D2W context
public java.lang.String defaultEmbeddedEntityDisplayName(com.webobjects.directtoweb.D2WContext c)
c
- current context
public com.webobjects.foundation.NSArray defaultEmbeddedDisplayPropertyKeys(com.webobjects.directtoweb.D2WContext c)
c
- current D2W context
public java.lang.Object defaultEmbeddedEntityName(com.webobjects.directtoweb.D2WContext c)
c
- current context
public java.lang.String defaultEmbeddedListPageConfiguration(com.webobjects.directtoweb.D2WContext c)
c
- current context
public java.lang.String defaultEmbeddedInspectPageConfiguration(com.webobjects.directtoweb.D2WContext c)
c
- current context
public java.lang.String defaultEmbeddedEditPageConfiguration(com.webobjects.directtoweb.D2WContext c)
c
- current context
public java.lang.String keyForMethodLookup(com.webobjects.directtoweb.D2WContext c)
value
of the assignment as the key to
lookup the method. For example if value of this
assignment is "foo", then when this assignment is
fired the method foo(D2WContext)
will
be called.
keyForMethodLookup
in class ERDAssignment
c
- current context
value
of the assignment is returned.
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |