Package org.nuclos.api.context
Class InputDelegateSpecification
java.lang.Object
org.nuclos.api.context.InputDelegateSpecification
- All Implemented Interfaces:
Serializable
Specification of a client-side delegate class to produce a customized input panel.
It is possible to pass a map of serializable values to the delegate, for instance to setup comboboxes with context-dependant values.
- Author:
- thomas.schiffmann
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
-
Constructor Summary
ModifierConstructorDescriptionprotected
for deserialization onlyInputDelegateSpecification
(String delegateclass) Constructs a new InputDelegateSpecification. -
Method Summary
Modifier and TypeMethodDescriptionboolean
internal use onlygetData()
Getter for context data to be passed to delegate instance.Getter for delegate class name.void
setApplyForAllMultiEditObjects
(boolean applyForAllMultiEditObjects) void
setData
(Map<String, Serializable> data) Setter for context data to be passed to delegate instance.
-
Constructor Details
-
InputDelegateSpecification
protected InputDelegateSpecification()for deserialization only -
InputDelegateSpecification
Constructs a new InputDelegateSpecification.- Parameters:
delegateclass
- The fully qualified name of the delegate class.
-
-
Method Details
-
getDelegateClass
Getter for delegate class name.- Returns:
- The fully qualified name of the delegate class.
-
getData
Getter for context data to be passed to delegate instance.- Returns:
- Context data to be passed to delegate instance.
-
setData
Setter for context data to be passed to delegate instance.- Parameters:
data
- Context data to be passed to delegate instance.
-
applyForAllMultiEditObjects
public boolean applyForAllMultiEditObjects()internal use only- Returns:
- applyForAllMultiEditObjects
-
setApplyForAllMultiEditObjects
public void setApplyForAllMultiEditObjects(boolean applyForAllMultiEditObjects) - Parameters:
applyForAllMultiEditObjects
- false (default): One input question for every object during a multi edit. true: The client is instructed to ask for the input only once. You have to choose a general key for your input to work as expected, no object specific data within the key.
-