org.sakaiproject.search.component.adapter.site
Class SiteContentProducer

java.lang.Object
  extended by org.sakaiproject.search.component.adapter.site.SiteContentProducer
All Implemented Interfaces:
EntityContentProducer

public class SiteContentProducer
extends Object
implements EntityContentProducer

Author:
ieb

Constructor Summary
SiteContentProducer()
           
 
Method Summary
 boolean canRead(String reference)
           
 Integer getAction(org.sakaiproject.event.api.Event event)
           
 String getContainer(String ref)
           
 String getContent(String reference)
           
 Reader getContentReader(String reference)
           
 Map getCustomProperties(String ref)
           
 String getCustomRDF(String ref)
           
 org.sakaiproject.entity.api.EntityManager getEntityManager()
           
 String getId(String ref)
           
 SearchIndexBuilder getSearchIndexBuilder()
           
 SearchService getSearchService()
           
 org.sakaiproject.component.api.ServerConfigurationService getServerConfigurationService()
           
 List getSiteContent(String context)
           
 Iterator getSiteContentIterator(String context)
           
 String getSiteId(String ref)
           
 org.sakaiproject.site.api.SiteService getSiteService()
           
 String getSubType(String ref)
           
 String getTitle(String ref)
           
 String getTool()
           
 String getType(String ref)
           
 String getUrl(String ref)
           
 void init()
           
 boolean isContentFromReader(String reference)
           
 boolean isForIndex(String ref)
           
 boolean matches(org.sakaiproject.event.api.Event event)
           
 boolean matches(String ref)
           
 void setEntityManager(org.sakaiproject.entity.api.EntityManager entityManager)
           
 void setSearchIndexBuilder(SearchIndexBuilder searchIndexBuilder)
           
 void setSearchService(SearchService searchService)
           
 void setServerConfigurationService(org.sakaiproject.component.api.ServerConfigurationService serverConfigurationService)
           
 void setSiteService(org.sakaiproject.site.api.SiteService siteService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SiteContentProducer

public SiteContentProducer()
Method Detail

getEntityManager

public org.sakaiproject.entity.api.EntityManager getEntityManager()
Returns:
the entityManager

setEntityManager

public void setEntityManager(org.sakaiproject.entity.api.EntityManager entityManager)
Parameters:
entityManager - the entityManager to set

getSearchIndexBuilder

public SearchIndexBuilder getSearchIndexBuilder()
Returns:
the searchIndexBuilder

setSearchIndexBuilder

public void setSearchIndexBuilder(SearchIndexBuilder searchIndexBuilder)
Parameters:
searchIndexBuilder - the searchIndexBuilder to set

getSearchService

public SearchService getSearchService()
Returns:
the searchService

setSearchService

public void setSearchService(SearchService searchService)
Parameters:
searchService - the searchService to set

getServerConfigurationService

public org.sakaiproject.component.api.ServerConfigurationService getServerConfigurationService()
Returns:
the serverConfigurationService

setServerConfigurationService

public void setServerConfigurationService(org.sakaiproject.component.api.ServerConfigurationService serverConfigurationService)
Parameters:
serverConfigurationService - the serverConfigurationService to set

getSiteService

public org.sakaiproject.site.api.SiteService getSiteService()
Returns:
the siteService

setSiteService

public void setSiteService(org.sakaiproject.site.api.SiteService siteService)
Parameters:
siteService - the siteService to set

init

public void init()

canRead

public boolean canRead(String reference)
Specified by:
canRead in interface EntityContentProducer

getAction

public Integer getAction(org.sakaiproject.event.api.Event event)
Specified by:
getAction in interface EntityContentProducer

getContainer

public String getContainer(String ref)
Specified by:
getContainer in interface EntityContentProducer

getContent

public String getContent(String reference)
Specified by:
getContent in interface EntityContentProducer

getContentReader

public Reader getContentReader(String reference)
Specified by:
getContentReader in interface EntityContentProducer

getCustomProperties

public Map getCustomProperties(String ref)
Specified by:
getCustomProperties in interface EntityContentProducer

getCustomRDF

public String getCustomRDF(String ref)
Specified by:
getCustomRDF in interface EntityContentProducer

getId

public String getId(String ref)
Specified by:
getId in interface EntityContentProducer

getSiteContent

public List getSiteContent(String context)

getSiteContentIterator

public Iterator getSiteContentIterator(String context)
Specified by:
getSiteContentIterator in interface EntityContentProducer

getSiteId

public String getSiteId(String ref)
Specified by:
getSiteId in interface EntityContentProducer

getSubType

public String getSubType(String ref)
Specified by:
getSubType in interface EntityContentProducer

getTitle

public String getTitle(String ref)
Specified by:
getTitle in interface EntityContentProducer

getTool

public String getTool()
Specified by:
getTool in interface EntityContentProducer

getType

public String getType(String ref)
Specified by:
getType in interface EntityContentProducer

getUrl

public String getUrl(String ref)
Specified by:
getUrl in interface EntityContentProducer

isContentFromReader

public boolean isContentFromReader(String reference)
Specified by:
isContentFromReader in interface EntityContentProducer

isForIndex

public boolean isForIndex(String ref)
Specified by:
isForIndex in interface EntityContentProducer

matches

public boolean matches(String ref)
Specified by:
matches in interface EntityContentProducer

matches

public boolean matches(org.sakaiproject.event.api.Event event)
Specified by:
matches in interface EntityContentProducer


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