Esri Geoportal Server
1.0

com.esri.gpt.framework.search
Class SearchXslRecordLinks

java.lang.Object
  extended by com.esri.gpt.framework.search.SearchXslRecordLinks

public class SearchXslRecordLinks
extends Object

The Class SearchXslRecordLinks.

Author:
TM

Constructor Summary
SearchXslRecordLinks()
           
 
Method Summary
 void addCustomLink(String label, String url)
          Adds the custom link.
 void addDefaultLinkOptions(String tag, boolean show)
          Adds the default link options.
 Map<String,List<String>> getCustomLinks()
          Gets the custom links.
 boolean getShowZoomTo()
          Returns whether zoomto should be viewable.
 boolean readShowLink(String tag)
          Read link option.
 boolean readShowLink(String tag, boolean defaultShowLink)
          Read show link.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchXslRecordLinks

public SearchXslRecordLinks()
Method Detail

getCustomLinks

public Map<String,List<String>> getCustomLinks()
Gets the custom links.

Returns:
the custom links

addCustomLink

public void addCustomLink(String label,
                          String url)
Adds the custom link.

Parameters:
label - the label
url - the url

addDefaultLinkOptions

public void addDefaultLinkOptions(String tag,
                                  boolean show)
Adds the default link options.

Parameters:
tag - the tag
show - the show

readShowLink

public boolean readShowLink(String tag)
Read link option.

Parameters:
tag - the tag
Returns:
true,false according to setting (default is true if tag is not found)

readShowLink

public boolean readShowLink(String tag,
                            boolean defaultShowLink)
Read show link.

Parameters:
tag - the tag
defaultShowLink - the default show link
Returns:
true, if successful

getShowZoomTo

public boolean getShowZoomTo()
Returns whether zoomto should be viewable. Convinience method for JSF.

Returns:
true or false

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.