Esri Geoportal Server
1.0

com.esri.gpt.catalog.search
Class ResourceLink

java.lang.Object
  extended by com.esri.gpt.catalog.search.ResourceLink

public class ResourceLink
extends Object

Represents a bind-able link associated with a document or resource.


Field Summary
static String TAG_ADDTOMAP
          Add to map tag = "addToMap"
static String TAG_AGSKML
          ArcGIS kml tag = "agskml"
static String TAG_AGSLYR
          ArcGIS lyr tag = "agslyr"
static String TAG_AGSNMF
          ArcGIS nmf tag = "agsnmf"
static String TAG_CONTENTTYPE
          Content type icon tag = "contentType"
static String TAG_CUSTOM
          Custom link tag = "customLink"
static String TAG_DETAILS
          View details tag = "details"
static String TAG_METADATA
          View metadata tag = "metadata"
static String TAG_OPEN
          Open resource tag = "open"
static String TAG_PREVIEW
          Preview resource tag = "preview"
static String TAG_PREVIEW_PARAM_INFO
          Tag preview helper.
static String TAG_RESOURCE
          View metadata tag = "metadata"
static String TAG_THUMBNAIL
          Thumbnail tag = "thumbnail"
static String TAG_WEBSITE
          Open website tag = "website"
static String TAG_ZOOMTO
          Zoom link.
 
Constructor Summary
ResourceLink()
          Default constructor.
 
Method Summary
 void echo(StringBuffer sb)
          Appends property information for the component to a buffer.
 String getLabel()
          Gets the label.
 String getLabelResourceKey()
          Gets the key associated with the label within a message property resource bundle.
 StringAttributeMap getParameters()
          Gets the map of arbitrarily configured parameters associated with this link.
 String getTag()
          Gets an arbitrary tag associated with this link.
 String getTarget()
          Gets the target.
 String getUrl()
          Gets the URL.
 boolean isForExtenalRecord()
          Gets the isForExtenalRecord
 void setForExtenalRecord(boolean isForExtenalRecord)
          Sets the isForExtenalRecord
 void setLabel(String label)
          Sets the label.
 void setLabelResourceKey(String key)
          Sets the key associated with the label within a message property resource bundle.
 void setTag(String tag)
          Sets an arbitrary tag associated with this link.
 void setTarget(String target)
          Sets the target.
 void setUrl(String url)
          Sets the URL.
 String toString()
          Returns the string representation of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TAG_ADDTOMAP

public static final String TAG_ADDTOMAP
Add to map tag = "addToMap"

See Also:
Constant Field Values

TAG_AGSKML

public static final String TAG_AGSKML
ArcGIS kml tag = "agskml"

See Also:
Constant Field Values

TAG_AGSLYR

public static final String TAG_AGSLYR
ArcGIS lyr tag = "agslyr"

See Also:
Constant Field Values

TAG_AGSNMF

public static final String TAG_AGSNMF
ArcGIS nmf tag = "agsnmf"

See Also:
Constant Field Values

TAG_CONTENTTYPE

public static final String TAG_CONTENTTYPE
Content type icon tag = "contentType"

See Also:
Constant Field Values

TAG_DETAILS

public static final String TAG_DETAILS
View details tag = "details"

See Also:
Constant Field Values

TAG_METADATA

public static final String TAG_METADATA
View metadata tag = "metadata"

See Also:
Constant Field Values

TAG_OPEN

public static final String TAG_OPEN
Open resource tag = "open"

See Also:
Constant Field Values

TAG_PREVIEW

public static final String TAG_PREVIEW
Preview resource tag = "preview"

See Also:
Constant Field Values

TAG_PREVIEW_PARAM_INFO

public static final String TAG_PREVIEW_PARAM_INFO
Tag preview helper. Used to know if info should be generated

See Also:
Constant Field Values

TAG_THUMBNAIL

public static final String TAG_THUMBNAIL
Thumbnail tag = "thumbnail"

See Also:
Constant Field Values

TAG_WEBSITE

public static final String TAG_WEBSITE
Open website tag = "website"

See Also:
Constant Field Values

TAG_CUSTOM

public static final String TAG_CUSTOM
Custom link tag = "customLink"

See Also:
Constant Field Values

TAG_ZOOMTO

public static final String TAG_ZOOMTO
Zoom link. Used in JSF. link tag = "zoomTo"

See Also:
Constant Field Values

TAG_RESOURCE

public static final String TAG_RESOURCE
View metadata tag = "metadata"

See Also:
Constant Field Values
Constructor Detail

ResourceLink

public ResourceLink()
Default constructor.

Method Detail

isForExtenalRecord

public boolean isForExtenalRecord()
Gets the isForExtenalRecord

Returns:
the isForExtenalRecord

setForExtenalRecord

public void setForExtenalRecord(boolean isForExtenalRecord)
Sets the isForExtenalRecord

Parameters:
isForExtenalRecord - the isForExtenalRecord to set

getLabel

public String getLabel()
Gets the label.

Returns:
the label

setLabel

public void setLabel(String label)
Sets the label.

Parameters:
label - the label

getLabelResourceKey

public String getLabelResourceKey()
Gets the key associated with the label within a message property resource bundle.

Returns:
the label's resource key

setLabelResourceKey

public void setLabelResourceKey(String key)
Sets the key associated with the label within a message property resource bundle.

Parameters:
key - the label's resource key

getParameters

public StringAttributeMap getParameters()
Gets the map of arbitrarily configured parameters associated with this link.

Returns:
the map of parameters

getTag

public String getTag()
Gets an arbitrary tag associated with this link.

Returns:
the tag

setTag

public void setTag(String tag)
Sets an arbitrary tag associated with this link.

Parameters:
tag - the tag

getTarget

public String getTarget()
Gets the target.

Returns:
the target

setTarget

public void setTarget(String target)
Sets the target.

Parameters:
target - the Target

getUrl

public String getUrl()
Gets the URL.

Returns:
the URL

setUrl

public void setUrl(String url)
Sets the URL.

Parameters:
url - the URL

echo

public void echo(StringBuffer sb)
Appends property information for the component to a buffer.

Parameters:
sb - the buffer to use when appending information

toString

public String toString()
Returns the string representation of the object.

Overrides:
toString in class Object
Returns:
the string

Esri Geoportal Server
1.0

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