com.atlassian.gadgets.directory.internal.impl
Class DirectoryUrlBuilderImpl
java.lang.Object
com.atlassian.gadgets.util.AbstractUrlBuilder
com.atlassian.gadgets.directory.internal.impl.DirectoryUrlBuilderImpl
- All Implemented Interfaces:
- DirectoryUrlBuilder, UrlBuilder
public class DirectoryUrlBuilderImpl
- extends AbstractUrlBuilder
- implements DirectoryUrlBuilder
Constructor Summary |
DirectoryUrlBuilderImpl(com.atlassian.sal.api.ApplicationProperties applicationProperties,
com.atlassian.plugin.webresource.WebResourceManager webResourceManager)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirectoryUrlBuilderImpl
public DirectoryUrlBuilderImpl(com.atlassian.sal.api.ApplicationProperties applicationProperties,
com.atlassian.plugin.webresource.WebResourceManager webResourceManager)
buildDirectoryResourceUrl
public String buildDirectoryResourceUrl()
- Description copied from interface:
DirectoryUrlBuilder
- 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.
- Specified by:
buildDirectoryResourceUrl
in interface DirectoryUrlBuilder
- 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
public String buildDirectoryGadgetResourceUrl(com.atlassian.gadgets.directory.spi.ExternalGadgetSpecId id)
- Description copied from interface:
DirectoryUrlBuilder
- Returns a URL that can be used to delete a gadget spec file from the Directory
- Specified by:
buildDirectoryGadgetResourceUrl
in interface DirectoryUrlBuilder
- 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
buildSubscribedGadgetFeedsUrl
public String buildSubscribedGadgetFeedsUrl()
- Description copied from interface:
DirectoryUrlBuilder
- Returns the URL of the collection of subscribed gadget feeds.
- Specified by:
buildSubscribedGadgetFeedsUrl
in interface DirectoryUrlBuilder
- Returns:
- URL of the collection of subscribed gadget feeds
buildSubscribedGadgetFeedUrl
public String buildSubscribedGadgetFeedUrl(String feedId)
- Description copied from interface:
DirectoryUrlBuilder
- Returns a URL that can be used to view or remove a subscribed gadget feed.
- Specified by:
buildSubscribedGadgetFeedUrl
in interface DirectoryUrlBuilder
- Parameters:
feedId
- ID of a subscribed gadget feed
- Returns:
- URL that can be used to view or remove an subscribed gadget feed.
Copyright © 2013 Atlassian. All Rights Reserved.