|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceUIBinding
Designed for the resource provider to construct configuration page for provider specific configuration properties.
Method Summary | |
---|---|
EditField[] |
getEditPage(ResourceInstanceData config)
Called when a resource is being created or edited to get provider-specific contents of the edit pane for resource configuration. |
ResourceInstanceData |
getProviderSpecificConfiguration(EditField[] fields)
Creates the Resource Provider Specific configuration from the UI form. |
ViewField[] |
getViewPage(ResourceInstanceData config)
Called when the resource details are being viewed in read-only mode to get the contents of the summary pane for resource configuration |
EditField[] |
updateEditPage(EditField[] fields,
String name)
Called when a resource is being created or edited to get contents of the edit pane for the resource configuration. |
UIError[] |
validateProviderSpecificForm(EditField[] fields)
Validate the provider specific parameters on the UI form. |
Method Detail |
---|
EditField[] getEditPage(ResourceInstanceData config) throws CustomResourceException
config
- The resource configuration
CustomResourceException
- in case of errorsEditField[] updateEditPage(EditField[] fields, String name) throws CustomResourceException
fields
- current set of edit fields for this pagename
- name of the field being updated
CustomResourceException
- in case of errorsViewField[] getViewPage(ResourceInstanceData config) throws CustomResourceException
config
- the resource configuration
CustomResourceException
- in case of errorsUIError[] validateProviderSpecificForm(EditField[] fields)
fields
- array of current edit fields with their respective values
ResourceInstanceData getProviderSpecificConfiguration(EditField[] fields) throws CustomResourceException
fields
- array of edit fields along with their respective values
CustomResourceException
- in case of error
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |