com.atlassian.gadgets.directory.internal
Interface DirectoryUrlBuilder

All Known Implementing Classes:
DirectoryUrlBuilderImpl

public interface DirectoryUrlBuilder


Method Summary
 String buildDirectoryGadgetResourceUrl(ExternalGadgetSpecId id)
          Returns a URL that can be used to delete a gadget spec file from the Directory
 String buildDirectoryResourceUrl()
          Returns a URL that can be used to retrieve the list of available gadgets in the directory or to post a new gadget spec URL to the directory.
 

Method Detail

buildDirectoryResourceUrl

String buildDirectoryResourceUrl()
Returns a URL that can be used to retrieve the list of available gadgets in the directory or to post a new gadget spec URL to the directory.

Returns:
URL that can be used to retrieve the list of available gadgets in the directory or to post a new gadget spec URL to the directory.

buildDirectoryGadgetResourceUrl

String buildDirectoryGadgetResourceUrl(ExternalGadgetSpecId id)
Returns a URL that can be used to delete a gadget spec file from the Directory

Parameters:
id - the id of the Gadget whose resource you want to build.
Returns:
a URL that can be used to delete a gadget spec file from the Directory


Copyright © 2010 Atlassian. All Rights Reserved.