public class ContentHostingContentProducer extends Object implements org.sakaiproject.search.api.EntityContentProducer, org.sakaiproject.search.api.StoredDigestContentProducer
| Constructor and Description |
|---|
ContentHostingContentProducer() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDigester(ContentDigester digester) |
boolean |
canRead(String ref) |
Integer |
getAction(org.sakaiproject.event.api.Event event) |
String |
getContainer(String reference) |
String |
getContent(String ref) |
String |
getContent(String ref,
int minWordLenght) |
org.sakaiproject.content.api.ContentHostingService |
getContentHostingService() |
Reader |
getContentReader(String ref) |
List<String> |
getCustomProperties() |
Map<String,String[]> |
getCustomProperties(String ref) |
String |
getCustomRDF(String ref) |
ContentDigester |
getDefaultDigester() |
ContentDigester |
getDigester(org.sakaiproject.content.api.ContentResource cr) |
int |
getDigesterSizeLimit() |
org.sakaiproject.entity.api.EntityManager |
getEntityManager() |
String |
getId(String reference) |
int |
getReaderSizeLimit() |
org.sakaiproject.search.api.SearchIndexBuilder |
getSearchIndexBuilder() |
org.sakaiproject.search.api.SearchService |
getSearchService() |
org.sakaiproject.component.api.ServerConfigurationService |
getServerConfigurationService() |
Iterator<String> |
getSiteContentIterator(String context) |
String |
getSiteId(String resourceName) |
org.sakaiproject.site.api.SiteService |
getSiteService() |
String |
getSubType(String reference) |
String |
getTitle(String ref) |
String |
getTool() |
String |
getType(String reference) |
String |
getUrl(String ref) |
void |
init() |
boolean |
isContentFromReader(String ref) |
boolean |
isForIndex(String ref) |
boolean |
matches(org.sakaiproject.event.api.Event event) |
boolean |
matches(String ref) |
void |
removeDigester(ContentDigester digester) |
void |
setContentHostingService(org.sakaiproject.content.api.ContentHostingService contentHostingService) |
void |
setCustomProperties(List<String> customProperties) |
void |
setDefaultDigester(ContentDigester defaultDigester) |
void |
setDigesterSizeLimit(int digesterSizeLimit) |
void |
setEntityManager(org.sakaiproject.entity.api.EntityManager entityManager) |
void |
setReaderSizeLimit(int readerSizeLimit) |
void |
setSearchIndexBuilder(org.sakaiproject.search.api.SearchIndexBuilder searchIndexBuilder) |
void |
setSearchService(org.sakaiproject.search.api.SearchService searchService) |
void |
setServerConfigurationService(org.sakaiproject.component.api.ServerConfigurationService serverConfigurationService) |
void |
setSiteService(org.sakaiproject.site.api.SiteService siteService) |
public void init()
public void addDigester(ContentDigester digester)
public void removeDigester(ContentDigester digester)
public boolean isContentFromReader(String ref)
isContentFromReader in interface org.sakaiproject.search.api.EntityContentProducerpublic Reader getContentReader(String ref)
getContentReader in interface org.sakaiproject.search.api.EntityContentProducerpublic String getContent(String ref)
getContent in interface org.sakaiproject.search.api.EntityContentProducerpublic ContentDigester getDigester(org.sakaiproject.content.api.ContentResource cr)
public String getTitle(String ref)
getTitle in interface org.sakaiproject.search.api.EntityContentProducerpublic boolean matches(String ref)
matches in interface org.sakaiproject.search.api.EntityContentProducerpublic Integer getAction(org.sakaiproject.event.api.Event event)
getAction in interface org.sakaiproject.search.api.EntityContentProducerpublic boolean matches(org.sakaiproject.event.api.Event event)
matches in interface org.sakaiproject.search.api.EntityContentProducerpublic String getTool()
getTool in interface org.sakaiproject.search.api.EntityContentProducerpublic String getUrl(String ref)
getUrl in interface org.sakaiproject.search.api.EntityContentProducerpublic String getSiteId(String resourceName)
getSiteId in interface org.sakaiproject.search.api.EntityContentProducerpublic Iterator<String> getSiteContentIterator(String context)
getSiteContentIterator in interface org.sakaiproject.search.api.EntityContentProducerpublic int getReaderSizeLimit()
public void setReaderSizeLimit(int readerSizeLimit)
readerSizeLimit - The readerSizeLimit to set.public ContentDigester getDefaultDigester()
public void setDefaultDigester(ContentDigester defaultDigester)
defaultDigester - The defaultDigester to set.public boolean isForIndex(String ref)
isForIndex in interface org.sakaiproject.search.api.EntityContentProducerpublic boolean canRead(String ref)
canRead in interface org.sakaiproject.search.api.EntityContentProducerpublic Map<String,String[]> getCustomProperties(String ref)
getCustomProperties in interface org.sakaiproject.search.api.EntityContentProducerpublic String getCustomRDF(String ref)
getCustomRDF in interface org.sakaiproject.search.api.EntityContentProducerpublic int getDigesterSizeLimit()
public void setDigesterSizeLimit(int digesterSizeLimit)
digesterSizeLimit - The digesterSizeLimit to set.public String getId(String reference)
getId in interface org.sakaiproject.search.api.EntityContentProducerpublic String getSubType(String reference)
getSubType in interface org.sakaiproject.search.api.EntityContentProducerpublic String getType(String reference)
getType in interface org.sakaiproject.search.api.EntityContentProducerpublic String getContainer(String reference)
getContainer in interface org.sakaiproject.search.api.EntityContentProducerpublic void setCustomProperties(List<String> customProperties)
customProperties - the customProperties to setpublic org.sakaiproject.content.api.ContentHostingService getContentHostingService()
public void setContentHostingService(org.sakaiproject.content.api.ContentHostingService contentHostingService)
contentHostingService - the contentHostingService to setpublic org.sakaiproject.entity.api.EntityManager getEntityManager()
public void setEntityManager(org.sakaiproject.entity.api.EntityManager entityManager)
entityManager - the entityManager to setpublic org.sakaiproject.search.api.SearchIndexBuilder getSearchIndexBuilder()
public void setSearchIndexBuilder(org.sakaiproject.search.api.SearchIndexBuilder searchIndexBuilder)
searchIndexBuilder - the searchIndexBuilder to setpublic org.sakaiproject.search.api.SearchService getSearchService()
public void setSearchService(org.sakaiproject.search.api.SearchService searchService)
searchService - the searchService to setpublic org.sakaiproject.component.api.ServerConfigurationService getServerConfigurationService()
public void setServerConfigurationService(org.sakaiproject.component.api.ServerConfigurationService serverConfigurationService)
serverConfigurationService - the serverConfigurationService to setpublic org.sakaiproject.site.api.SiteService getSiteService()
public void setSiteService(org.sakaiproject.site.api.SiteService siteService)
siteService - the siteService to setCopyright © 2003-2016 Sakai Project. All Rights Reserved.