org.sakaiproject.search.tool
Class OpenSearchBeanImpl

java.lang.Object
  extended by org.sakaiproject.search.tool.OpenSearchBeanImpl
All Implemented Interfaces:
OpenSearchBean

public class OpenSearchBeanImpl
extends Object
implements OpenSearchBean

Author:
ieb

Constructor Summary
OpenSearchBeanImpl(javax.servlet.http.HttpServletRequest request, SearchService searchService, org.sakaiproject.site.api.SiteService siteService, org.sakaiproject.tool.api.ToolManager toolManager)
           
 
Method Summary
 String getAdultContent()
          get the adult content setting (defaults to false)
 String getAttibution()
          Get the attribution text
 String getHTMLSearchFormUrl()
          get the Search Form URL
 String getHTMLSearchTemplate()
          get the absolute search URL for HTML output
 String getIconUrl()
          get the absoute icon url
 String getRSSSearchTemplate()
          get the absolute search URL for RSS output
 String getSindicationRight()
          get the Sindication Rights
 String getSiteName()
          get the human readable site name for OpenSearch
 String getSystemName()
          get the name of the system
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenSearchBeanImpl

public OpenSearchBeanImpl(javax.servlet.http.HttpServletRequest request,
                          SearchService searchService,
                          org.sakaiproject.site.api.SiteService siteService,
                          org.sakaiproject.tool.api.ToolManager toolManager)
                   throws org.sakaiproject.exception.IdUnusedException
Throws:
org.sakaiproject.exception.IdUnusedException
Method Detail

getAdultContent

public String getAdultContent()
Description copied from interface: OpenSearchBean
get the adult content setting (defaults to false)

Specified by:
getAdultContent in interface OpenSearchBean
Returns:

getAttibution

public String getAttibution()
Description copied from interface: OpenSearchBean
Get the attribution text

Specified by:
getAttibution in interface OpenSearchBean
Returns:

getHTMLSearchFormUrl

public String getHTMLSearchFormUrl()
Description copied from interface: OpenSearchBean
get the Search Form URL

Specified by:
getHTMLSearchFormUrl in interface OpenSearchBean
Returns:

getHTMLSearchTemplate

public String getHTMLSearchTemplate()
Description copied from interface: OpenSearchBean
get the absolute search URL for HTML output

Specified by:
getHTMLSearchTemplate in interface OpenSearchBean
Returns:

getIconUrl

public String getIconUrl()
Description copied from interface: OpenSearchBean
get the absoute icon url

Specified by:
getIconUrl in interface OpenSearchBean
Returns:

getRSSSearchTemplate

public String getRSSSearchTemplate()
Description copied from interface: OpenSearchBean
get the absolute search URL for RSS output

Specified by:
getRSSSearchTemplate in interface OpenSearchBean
Returns:

getSindicationRight

public String getSindicationRight()
Description copied from interface: OpenSearchBean
get the Sindication Rights

Specified by:
getSindicationRight in interface OpenSearchBean
Returns:

getSiteName

public String getSiteName()
Description copied from interface: OpenSearchBean
get the human readable site name for OpenSearch

Specified by:
getSiteName in interface OpenSearchBean
Returns:

getSystemName

public String getSystemName()
Description copied from interface: OpenSearchBean
get the name of the system

Specified by:
getSystemName in interface OpenSearchBean
Returns:


Copyright © 2003-2012 Sakai Project. All Rights Reserved.