|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Callback
Implementations of this interface are passed to a CallbackHandler,
allowing underlying services the ability to interact with a calling
application to retrieve specific authentication data such as usernames
and passwords, or to display certain information, such as error and warning messages.
Following the completion of the handle
method on CallbackHandler,
the component that generated the callbacks can then obtain the information
from the callbacks.
Callback implementations do not retrieve or display the information requested by underlying security services. Callback implementations simply provide the means to pass such requests to applications, and for applications, if appropriate, to return requested information back to the underlying security services.
Method Summary | |
---|---|
CallbackChoices |
getChoices()
get the choice options that are available for providing this callback's setChoice() method. |
PropertiedObjectEditor |
getEditor()
return the PropertiedObjectEditor that the CallbackHandler should user to edit this Callback's PropertiedObject. |
PropertyDefinitionGroup |
getNextGroup()
return the next PropertyDefinitionGroup. |
PropertyDefinitionGroup |
getPreviousGroup()
return the previous PropertyDefinitionGroup. |
PropertiedObject |
getPropertiedObject()
return a PropertiedObject that the CallbackHandler should use and modify to hold any values in response to this Callback. |
java.util.List |
getPropertyDefinitionGroups()
return the list of PropertyDefinitionGroups contained by this Callback. |
boolean |
hasNextGroup()
determine if there is a next PropertyDefinitionGroup. |
boolean |
hasPreviousGroup()
determine if there is a previous PropertyDefinitionGroup. |
boolean |
hasPropertiedObject()
determine if this Callback contains a PropertiedObject that should be modified to provide values for the resource requesting the callback. |
boolean |
hasPropertyDefinitionGroups()
determine if this Callback contains one or more PropertyDefinitionGroups. |
boolean |
isSequential()
determine if the List of PropertyDefinitionGroups contained by this object should be processed one-by-one in order (as in a "wizard"), or all at once (as in a tabbed panel). |
void |
setResponse(int response)
set the response to this callback from the options provide by this callback's getOptions() method. |
Methods inherited from interface com.metamatrix.common.object.ObjectDefinition |
---|
compareTo, equals, getDisplayName, getName, getPluralDisplayName, getShortDescription, getShortDisplayName, toString |
Method Detail |
---|
CallbackChoices getChoices()
void setResponse(int response)
response
- the index of available choices from the CallbackChoices object:boolean hasPropertiedObject()
boolean hasPropertyDefinitionGroups()
boolean isSequential()
PropertiedObjectEditor getEditor()
PropertiedObject getPropertiedObject()
java.util.List getPropertyDefinitionGroups()
boolean hasNextGroup()
boolean hasPreviousGroup()
PropertyDefinitionGroup getNextGroup()
PropertyDefinitionGroup getPreviousGroup()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |