org.broadleafcommerce.common.web.deeplink
Class DeepLinkService<T>

java.lang.Object
  extended by org.broadleafcommerce.common.web.deeplink.DeepLinkService<T>

public abstract class DeepLinkService<T>
extends Object

This abstract class should be extended by services that provide deep links for specific entities.

Author:
Andre Azzolini (apazzolini)

Field Summary
protected  BaseUrlResolver baseUrlResolver
           
protected  RuntimeEnvironmentPropertiesManager propMgr
           
 
Constructor Summary
DeepLinkService()
           
 
Method Summary
protected  String getAdminBaseUrl()
           
 List<DeepLink> getLinks(T item)
          Returns a list of DeepLink objects that represent the location of 1 or more admin elements
protected abstract  List<DeepLink> getLinksInternal(T item)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

baseUrlResolver

protected BaseUrlResolver baseUrlResolver

propMgr

@Autowired
protected RuntimeEnvironmentPropertiesManager propMgr
Constructor Detail

DeepLinkService

public DeepLinkService()
Method Detail

getLinks

public final List<DeepLink> getLinks(T item)
Returns a list of DeepLink objects that represent the location of 1 or more admin elements

Parameters:
item -
Returns:
the list of DeepLinks

getAdminBaseUrl

protected String getAdminBaseUrl()

getLinksInternal

protected abstract List<DeepLink> getLinksInternal(T item)


Copyright © 2013. All Rights Reserved.