|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceProvider
Represents the central point for management of custom resource configuration. It is used to handle provider specific information of the resource.
Method Summary | |
---|---|
String |
getDisplayName(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. |
String |
getTypeId()
This method returns a unique string identifying this resource. |
ResourceUIBinding |
getUIBinding(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. |
Method Detail |
---|
String getTypeId()
String getDisplayName(Locale locale)
locale
- the desired locale to display the resource name
ResourceProviderConfiguration getProviderConfiguration() throws CustomResourceException
CustomResourceException
- on errorResourceUIBinding getUIBinding(Locale locale) throws CustomResourceException
locale
- the locale information
CustomResourceException
- in case of any errorsResourceInstanceData parse(byte[] binary) throws CustomResourceException
binary
- the binary representation of the ResourceInstanceData
CustomResourceException
- in case of errors
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |