Package org.sakaiproject.samigo.search
Class ItemContentProducer
- java.lang.Object
-
- org.sakaiproject.samigo.search.ItemContentProducer
-
- All Implemented Interfaces:
org.sakaiproject.search.api.EntityContentProducer,org.sakaiproject.search.api.EntityContentProducerEvents
public class ItemContentProducer extends Object implements org.sakaiproject.search.api.EntityContentProducer, org.sakaiproject.search.api.EntityContentProducerEvents
-
-
Constructor Summary
Constructors Constructor Description ItemContentProducer()
-
Method Summary
-
-
-
Method Detail
-
getTriggerFunctions
public Set<String> getTriggerFunctions()
- Specified by:
getTriggerFunctionsin interfaceorg.sakaiproject.search.api.EntityContentProducerEvents
-
destroy
protected void destroy()
Destroy
-
canRead
public boolean canRead(String eventResource)
- Specified by:
canReadin interfaceorg.sakaiproject.search.api.EntityContentProducer
-
getAction
public Integer getAction(org.sakaiproject.event.api.Event event)
- Specified by:
getActionin interfaceorg.sakaiproject.search.api.EntityContentProducer
-
getAllContent
public List getAllContent()
-
getContainer
public String getContainer(String reference)
- Specified by:
getContainerin interfaceorg.sakaiproject.search.api.EntityContentProducer
-
getContent
public String getContent(String eventResource)
- Specified by:
getContentin interfaceorg.sakaiproject.search.api.EntityContentProducer
-
getContentReader
public Reader getContentReader(String reference)
- Specified by:
getContentReaderin interfaceorg.sakaiproject.search.api.EntityContentProducer
-
getCustomProperties
public Map getCustomProperties(String eventResource)
- Specified by:
getCustomPropertiesin interfaceorg.sakaiproject.search.api.EntityContentProducer
-
getCustomRDF
public String getCustomRDF(String ref)
- Specified by:
getCustomRDFin interfaceorg.sakaiproject.search.api.EntityContentProducer
-
getId
public String getId(String reference)
- Specified by:
getIdin interfaceorg.sakaiproject.search.api.EntityContentProducer
-
getSiteContentIterator
public Iterator getSiteContentIterator(String context)
- Specified by:
getSiteContentIteratorin interfaceorg.sakaiproject.search.api.EntityContentProducer
-
getSiteId
public String getSiteId(String resource)
- Specified by:
getSiteIdin interfaceorg.sakaiproject.search.api.EntityContentProducer
-
getSubType
public String getSubType(String reference)
- Specified by:
getSubTypein interfaceorg.sakaiproject.search.api.EntityContentProducer
-
getTitle
public String getTitle(String reference)
- Specified by:
getTitlein interfaceorg.sakaiproject.search.api.EntityContentProducer
-
getTool
public String getTool()
- Specified by:
getToolin interfaceorg.sakaiproject.search.api.EntityContentProducer
-
getType
public String getType(String reference)
- Specified by:
getTypein interfaceorg.sakaiproject.search.api.EntityContentProducer
-
getUrl
public String getUrl(String reference)
- Specified by:
getUrlin interfaceorg.sakaiproject.search.api.EntityContentProducer
-
isContentFromReader
public boolean isContentFromReader(String reference)
- Specified by:
isContentFromReaderin interfaceorg.sakaiproject.search.api.EntityContentProducer
-
isForIndex
public boolean isForIndex(String resource)
- Specified by:
isForIndexin interfaceorg.sakaiproject.search.api.EntityContentProducer
-
matches
public boolean matches(String resource)
- Specified by:
matchesin interfaceorg.sakaiproject.search.api.EntityContentProducer
-
matches
public boolean matches(org.sakaiproject.event.api.Event event)
- Specified by:
matchesin interfaceorg.sakaiproject.search.api.EntityContentProducer
-
-