public interface ResourceProvider
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDisplayName(java.util.Locale locale)
This method returns the localized display name for the resource identifier is the specified locale.
|
ResourceProviderConfiguration |
getProviderConfiguration()
Method used to get the provider configuration for a resource provider.
|
java.lang.String |
getTypeId()
This method returns a unique string identifying this resource.
|
ResourceUIBinding |
getUIBinding(java.util.Locale locale)
Called when a resource is being created or edited to get the provider-specific UI binding object for the specified locale.The UI binding object is used to render the resource provider configuration page.
|
ResourceInstanceData |
parse(byte[] binary)
Construct an instance of ResourceInstanceData from its binary representation.
|
java.lang.String getTypeId()
java.lang.String getDisplayName(java.util.Locale locale)
locale - the desired locale to display the resource nameResourceProviderConfiguration getProviderConfiguration()
throws CustomResourceException
CustomResourceException - on errorResourceUIBinding getUIBinding(java.util.Locale locale) throws CustomResourceException
locale - the locale informationCustomResourceException - in case of any errorsResourceInstanceData parse(byte[] binary) throws CustomResourceException
binary - the binary representation of the ResourceInstanceDataCustomResourceException - in case of errors