public class ERDDefaultActionAssignment extends ERDAssignment
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
Modifier and Type | Field and Description |
---|---|
static NSArray |
_DEPENDENT_KEYS
holds the array of keys this assignment depends upon
|
D2WContextClassArray, log
Constructor and Description |
---|
ERDDefaultActionAssignment(com.webobjects.eocontrol.EOKeyValueUnarchiver u)
Public constructor
|
ERDDefaultActionAssignment(String key,
Object value)
Public constructor
|
Modifier and Type | Method and Description |
---|---|
static Object |
decodeWithKeyValueUnarchiver(com.webobjects.eocontrol.EOKeyValueUnarchiver eokeyvalueunarchiver)
Static constructor required by the EOKeyValueUnarchiver
interface.
|
NSDictionary |
defaultActions(com.webobjects.directtoweb.D2WContext c)
Calculates the actions names for a given context.
|
NSArray |
defaultLeftActions(com.webobjects.directtoweb.D2WContext c)
Calculates the default left actions names for a given context.
|
NSArray |
defaultRightActions(com.webobjects.directtoweb.D2WContext c)
Calculates the default right actions names for a given context.
|
NSArray |
dependentKeys(String keyPath)
Implementation of the
ERDComputingAssignmentInterface . |
booleanContextValueForKey, fire, keyForMethodLookup, localizedTemplateStringForKeyInContext, localizedValueForKeyInContext, localizedValueForKeyWithDefaultInContext, localizerForContext, logDeprecatedMessage
public static final NSArray _DEPENDENT_KEYS
public ERDDefaultActionAssignment(com.webobjects.eocontrol.EOKeyValueUnarchiver u)
u
- key-value unarchiver used when unarchiving
from rule files.public static Object decodeWithKeyValueUnarchiver(com.webobjects.eocontrol.EOKeyValueUnarchiver eokeyvalueunarchiver)
eokeyvalueunarchiver
- to be unarchivedpublic NSArray dependentKeys(String keyPath)
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.keyPath
- to compute significant keys for.public NSDictionary defaultActions(com.webobjects.directtoweb.D2WContext c)
c
- a D2W contextpublic NSArray defaultLeftActions(com.webobjects.directtoweb.D2WContext c)
c
- a D2W contextpublic NSArray defaultRightActions(com.webobjects.directtoweb.D2WContext c)
c
- a D2W contextCopyright © 2002 – 2020 Project Wonder.