org.apache.jetspeed.portalsite.view
Class SiteViewSearchPath

java.lang.Object
  extended by org.apache.jetspeed.portalsite.view.SiteViewSearchPath

public class SiteViewSearchPath
extends Object

This class represents a search path along with a profile locator name used to construct the logical site view. The profiler locator name is uses to identify and group located nodes within the view.

Version:
$Id: SiteViewSearchPath.java 517121 2007-03-12 07:45:49Z ate $
Author:
Randy Watler

Field Summary
private  String locatorName
          locatorName - profile locator name
private  String searchPath
          searchPath - search path
 
Constructor Summary
SiteViewSearchPath(String locatorName, String searchPath)
          SiteViewSearchPath - validating constructor that strips any trailing folder separator from search path
 
Method Summary
 boolean equals(Object obj)
          equals - compare as string to search path
 String getLocatorName()
          getLocatorName - return profile locator name
 int hashCode()
          hashCode - return search path hash code
 String toString()
          toString - return search path
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

locatorName

private String locatorName
locatorName - profile locator name


searchPath

private String searchPath
searchPath - search path

Constructor Detail

SiteViewSearchPath

public SiteViewSearchPath(String locatorName,
                          String searchPath)
SiteViewSearchPath - validating constructor that strips any trailing folder separator from search path

Parameters:
locatorName - profile locator name
searchPath - search path
Method Detail

toString

public String toString()
toString - return search path

Overrides:
toString in class Object
Returns:
search path

equals

public boolean equals(Object obj)
equals - compare as string to search path

Overrides:
equals in class Object
Returns:
equals result

hashCode

public int hashCode()
hashCode - return search path hash code

Overrides:
hashCode in class Object
Returns:
hash code

getLocatorName

public String getLocatorName()
getLocatorName - return profile locator name

Returns:
profile locator name


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.