org.apache.rave.provider.w3c.repository
Interface W3CWidgetMetadataRepository

All Known Implementing Classes:
WookieWidgetMetadataRepository

public interface W3CWidgetMetadataRepository


Method Summary
 Widget[] getWidgetMetadata()
          Fetches widget metadata for all available widgets
 Widget getWidgetMetadata(String widgetGuid)
          Fetches widget metadata for the widget via either an internal widget key or by using a w3cs widgets guid
 Widget publishRemote(String url)
          Publishes a remote widget to the target environment
 

Method Detail

getWidgetMetadata

Widget getWidgetMetadata(String widgetGuid)
Fetches widget metadata for the widget via either an internal widget key or by using a w3cs widgets guid

Parameters:
widgetGuid - The widget to fetch metadata for.
Returns:
The string response from the w3c widget server.

getWidgetMetadata

Widget[] getWidgetMetadata()
Fetches widget metadata for all available widgets

Returns:
an array of Widget objects representing available W3C widgets

publishRemote

Widget publishRemote(String url)
Publishes a remote widget to the target environment

Parameters:
url - - url of remote widget
Returns:


Copyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.