A B C D E F G H I J L N O R S U W

A

activate(ComponentContext) - Method in class org.apache.stanbol.contenthub.web.fragment.ContenthubWebFragment
 
assignFreemarkerConfig(Configuration, ServletContext) - Method in class org.apache.stanbol.contenthub.web.processor.FreemarkerViewProcessor
Modify freemarker configuration after we've created it and applied any settings from 'freemarker.properties' on the classpath.

B

bringSuggestion(String) - Method in class org.apache.stanbol.contenthub.web.resources.RelatedKeywordResource
TODO: Not completed yet.

C

ContenthubWebFragment - Class in org.apache.stanbol.contenthub.web.fragment
Statically define the list of available resources and providers to be contributed to the the Stanbol JAX-RS Endpoint.
ContenthubWebFragment() - Constructor for class org.apache.stanbol.contenthub.web.fragment.ContenthubWebFragment
 
context - Variable in class org.apache.stanbol.contenthub.web.processor.FreemarkerViewProcessor
 
convertToMap(String) - Static method in class org.apache.stanbol.contenthub.web.util.JSONUtils
This function only operates on one-level JSON objects.
convertToString(Map<String, List<Object>>) - Static method in class org.apache.stanbol.contenthub.web.util.JSONUtils
 
createContentItem(byte[], HttpHeaders) - Method in class org.apache.stanbol.contenthub.web.resources.StoreResource
HTTP POST method to create a content item in Contenthub.
createContentItemFromForm(String, String, String, String, HttpHeaders) - Method in class org.apache.stanbol.contenthub.web.resources.StoreResource
HTTP POST method to create a content item in Contenthub.
createContentItemFromForm(File, FormDataContentDisposition, FormDataBodyPart, String, String, HttpHeaders) - Method in class org.apache.stanbol.contenthub.web.resources.StoreResource
HTTP POST method to create a content item from file.
createContentItemWithId(String, byte[], HttpHeaders) - Method in class org.apache.stanbol.contenthub.web.resources.StoreResource
HTTP POST method to create a content item in Contenthub.
createJSONString(SearchResult) - Static method in class org.apache.stanbol.contenthub.web.util.JSONUtils
 
createJSONString(SolrContentItem) - Static method in class org.apache.stanbol.contenthub.web.util.JSONUtils
 
createJSONString(LDProgramCollection) - Static method in class org.apache.stanbol.contenthub.web.util.JSONUtils
 

D

deleteContentItem(String, HttpHeaders) - Method in class org.apache.stanbol.contenthub.web.resources.StoreResource
HTTP DELETE method to delete a content item from Contenhub.
deleteProgram(String, HttpHeaders) - Method in class org.apache.stanbol.contenthub.web.resources.SemanticIndexManagerResource
HTTP DELETE method to delete an LDPath program.
downloadContentItem(String, String, HttpHeaders) - Method in class org.apache.stanbol.contenthub.web.resources.StoreResource
HTTP GET method specific for download operations.

E

editContentItem(String, HttpHeaders) - Method in class org.apache.stanbol.contenthub.web.resources.StoreResource
This method creates the JSON string of a content item (to be edited) to display it in the HTML view.

F

FeaturedSearchResource - Class in org.apache.stanbol.contenthub.web.resources
This class is the web resource which provides RESTful and HTTP interfaces for FeaturedSearch services.
FeaturedSearchResource(ServletContext, String) - Constructor for class org.apache.stanbol.contenthub.web.resources.FeaturedSearchResource
 
findAllRelatedKeywords(String, String, HttpHeaders) - Method in class org.apache.stanbol.contenthub.web.resources.RelatedKeywordResource
HTTP GET method to retrieve related keywords from all resources defined within Contenthub.
findOntologyRelatedKeywords(String, String, HttpHeaders) - Method in class org.apache.stanbol.contenthub.web.resources.RelatedKeywordResource
HTTP GET method to retrieve related keywords from ontology resources.
findReferencedSiteRelatedKeywords(String, HttpHeaders) - Method in class org.apache.stanbol.contenthub.web.resources.RelatedKeywordResource
HTTP GET method to retrieve related keywords from the referenced sites.
FREEMARKER_TEMPLATE_PATH_INIT_PARAM - Static variable in class org.apache.stanbol.contenthub.web.processor.FreemarkerViewProcessor
 
freemarkerConfig - Variable in class org.apache.stanbol.contenthub.web.processor.FreemarkerViewProcessor
 
FreemarkerViewProcessor - Class in org.apache.stanbol.contenthub.web.processor
Match a Viewable-named view with a Freemarker template.
FreemarkerViewProcessor() - Constructor for class org.apache.stanbol.contenthub.web.processor.FreemarkerViewProcessor
 

G

get(String, String, String, String, int, int, String, HttpHeaders) - Method in class org.apache.stanbol.contenthub.web.resources.FeaturedSearchResource
HTTP GET method to make a featured search over Contenthub.
getAcceptedMediaType(HttpHeaders) - Static method in class org.apache.stanbol.contenthub.web.util.RestUtil
 
getBundleContext() - Method in class org.apache.stanbol.contenthub.web.fragment.ContenthubWebFragment
 
getChosenFacets() - Method in class org.apache.stanbol.contenthub.web.resources.FeaturedSearchResource
 
getConfig() - Method in class org.apache.stanbol.contenthub.web.processor.FreemarkerViewProcessor
 
getContent(String, HttpHeaders) - Method in class org.apache.stanbol.contenthub.web.resources.StoreResource
Cool URI handler for the uploaded resource.
getContentItemMetaData(String, HttpHeaders) - Method in class org.apache.stanbol.contenthub.web.resources.StoreResource
HTTP GET method to retrieve the metadata of the content item.
getContentItemView(String) - Method in class org.apache.stanbol.contenthub.web.resources.StoreResource
 
getDefaultExtension() - Method in class org.apache.stanbol.contenthub.web.processor.FreemarkerViewProcessor
 
getDocuments() - Method in class org.apache.stanbol.contenthub.web.resources.FeaturedSearchResource
 
getIndexName() - Method in class org.apache.stanbol.contenthub.web.resources.FeaturedSearchResource
 
getIndexName() - Method in class org.apache.stanbol.contenthub.web.resources.StoreResource
 
getJaxrsResourceClasses() - Method in class org.apache.stanbol.contenthub.web.fragment.ContenthubWebFragment
 
getJaxrsResourceSingletons() - Method in class org.apache.stanbol.contenthub.web.fragment.ContenthubWebFragment
 
getLdPrograms() - Method in class org.apache.stanbol.contenthub.web.resources.SemanticIndexManagerResource
 
getLinkResources() - Method in class org.apache.stanbol.contenthub.web.fragment.ContenthubWebFragment
 
getMoreRecentItems() - Method in class org.apache.stanbol.contenthub.web.resources.FeaturedSearchResource
 
getMoreRecentItemsUri() - Method in class org.apache.stanbol.contenthub.web.resources.StoreResource
 
getName() - Method in class org.apache.stanbol.contenthub.web.fragment.ContenthubWebFragment
 
getNavigationLinks() - Method in class org.apache.stanbol.contenthub.web.fragment.ContenthubWebFragment
 
getOffset() - Method in class org.apache.stanbol.contenthub.web.resources.FeaturedSearchResource
 
getOlderItems() - Method in class org.apache.stanbol.contenthub.web.resources.FeaturedSearchResource
 
getOlderItemsUri() - Method in class org.apache.stanbol.contenthub.web.resources.StoreResource
 
getOntologies() - Method in class org.apache.stanbol.contenthub.web.resources.FeaturedSearchResource
 
getPageSize() - Method in class org.apache.stanbol.contenthub.web.resources.FeaturedSearchResource
 
getProgramByName(String, HttpHeaders) - Method in class org.apache.stanbol.contenthub.web.resources.SemanticIndexManagerResource
HTTP GET method to retrieve an LDPath program, given its name.
getQueryTerm() - Method in class org.apache.stanbol.contenthub.web.resources.FeaturedSearchResource
 
getRawContent(String, HttpHeaders) - Method in class org.apache.stanbol.contenthub.web.resources.StoreResource
HTTP GET method to retrieve the raw content item.
getRecentlyEnhancedItems() - Method in class org.apache.stanbol.contenthub.web.resources.StoreResource
 
getScriptResources() - Method in class org.apache.stanbol.contenthub.web.fragment.ContenthubWebFragment
 
getSearchResults() - Method in class org.apache.stanbol.contenthub.web.resources.FeaturedSearchResource
 
getSize(LDProgramCollection, Class<?>, Type, Annotation[], MediaType) - Method in class org.apache.stanbol.contenthub.web.writers.LDProgramCollectionWriter
 
getSize(SearchResult, Class<?>, Type, Annotation[], MediaType) - Method in class org.apache.stanbol.contenthub.web.writers.SearchResultWriter
 
getStaticResourceClassPath() - Method in class org.apache.stanbol.contenthub.web.fragment.ContenthubWebFragment
 
getTemplateLoader() - Method in class org.apache.stanbol.contenthub.web.fragment.ContenthubWebFragment
 
getVariablesForTemplate(Map<String, Object>) - Method in class org.apache.stanbol.contenthub.web.processor.FreemarkerViewProcessor
Define additional variables to make available to the template.
getView(HttpHeaders) - Method in class org.apache.stanbol.contenthub.web.resources.RootResource
 
getView(ServletContext, int, int) - Method in class org.apache.stanbol.contenthub.web.resources.StoreResource
 

H

handleCorsPreflight(HttpHeaders) - Method in class org.apache.stanbol.contenthub.web.resources.FeaturedSearchResource
 
handleCorsPreflight(HttpHeaders) - Method in class org.apache.stanbol.contenthub.web.resources.RelatedKeywordResource
 
handleCorsPreflight(HttpHeaders) - Method in class org.apache.stanbol.contenthub.web.resources.RootResource
 
handleCorsPreflight(HttpHeaders) - Method in class org.apache.stanbol.contenthub.web.resources.SemanticIndexManagerResource
 
handleCorsPreflight(HttpHeaders) - Method in class org.apache.stanbol.contenthub.web.resources.StoreResource
 
handleCorsPreflightContent(HttpHeaders) - Method in class org.apache.stanbol.contenthub.web.resources.StoreResource
 
handleCorsPreflightDownload(HttpHeaders) - Method in class org.apache.stanbol.contenthub.web.resources.StoreResource
 
handleCorsPreflightEdit(HttpHeaders) - Method in class org.apache.stanbol.contenthub.web.resources.StoreResource
 
handleCorsPreflightExists(HttpHeaders) - Method in class org.apache.stanbol.contenthub.web.resources.SemanticIndexManagerResource
 
handleCorsPreflightMetadata(HttpHeaders) - Method in class org.apache.stanbol.contenthub.web.resources.StoreResource
 
handleCorsPreflightProgram(HttpHeaders) - Method in class org.apache.stanbol.contenthub.web.resources.SemanticIndexManagerResource
 
handleCorsPreflightRaw(HttpHeaders) - Method in class org.apache.stanbol.contenthub.web.resources.StoreResource
 
handleCorsPreflightUpdate(HttpHeaders) - Method in class org.apache.stanbol.contenthub.web.resources.StoreResource
 
handleCorsPreflightURI(HttpHeaders) - Method in class org.apache.stanbol.contenthub.web.resources.StoreResource
 

I

isHTMLaccepted(HttpHeaders) - Static method in class org.apache.stanbol.contenthub.web.util.RestUtil
 
isJSONaccepted(HttpHeaders) - Static method in class org.apache.stanbol.contenthub.web.util.RestUtil
 
isManagedProgram(String, HttpHeaders) - Method in class org.apache.stanbol.contenthub.web.resources.SemanticIndexManagerResource
HTTP GET method to check whether an LDPath program exists in Contenthub or not.
isWriteable(Class<?>, Type, Annotation[], MediaType) - Method in class org.apache.stanbol.contenthub.web.writers.LDProgramCollectionWriter
 
isWriteable(Class<?>, Type, Annotation[], MediaType) - Method in class org.apache.stanbol.contenthub.web.writers.SearchResultWriter
 

J

JSONUtils - Class in org.apache.stanbol.contenthub.web.util
 
JSONUtils() - Constructor for class org.apache.stanbol.contenthub.web.util.JSONUtils
 

L

LDProgramCollectionWriter - Class in org.apache.stanbol.contenthub.web.writers
 
LDProgramCollectionWriter() - Constructor for class org.apache.stanbol.contenthub.web.writers.LDProgramCollectionWriter
 

N

nullify(String) - Static method in class org.apache.stanbol.contenthub.web.util.RestUtil
 

O

onProcessException(Throwable, Template, Map<String, Object>, OutputStream) - Method in class org.apache.stanbol.contenthub.web.processor.FreemarkerViewProcessor
Catch any exception generated during template processing.
org.apache.stanbol.contenthub.web.fragment - package org.apache.stanbol.contenthub.web.fragment
 
org.apache.stanbol.contenthub.web.processor - package org.apache.stanbol.contenthub.web.processor
 
org.apache.stanbol.contenthub.web.resources - package org.apache.stanbol.contenthub.web.resources
 
org.apache.stanbol.contenthub.web.util - package org.apache.stanbol.contenthub.web.util
 
org.apache.stanbol.contenthub.web.writers - package org.apache.stanbol.contenthub.web.writers
 

R

RDF_MEDIA_TYPES - Static variable in class org.apache.stanbol.contenthub.web.resources.StoreResource
 
RelatedKeywordResource - Class in org.apache.stanbol.contenthub.web.resources
This is the web resourceclass which implements the search functionality of Contenthub to look for related keywords, given a keyword.
RelatedKeywordResource(ServletContext) - Constructor for class org.apache.stanbol.contenthub.web.resources.RelatedKeywordResource
 
resolve(String) - Method in class org.apache.stanbol.contenthub.web.processor.FreemarkerViewProcessor
 
RestUtil - Class in org.apache.stanbol.contenthub.web.util
Utility class for REST services
RestUtil() - Constructor for class org.apache.stanbol.contenthub.web.util.RestUtil
 
retrieveAllPrograms(HttpHeaders) - Method in class org.apache.stanbol.contenthub.web.resources.SemanticIndexManagerResource
HTTP GET method which returns all LDPath programs residing in Contenthub.
rootPath - Variable in class org.apache.stanbol.contenthub.web.processor.FreemarkerViewProcessor
 
RootResource - Class in org.apache.stanbol.contenthub.web.resources
Base resource which automatically redirects to "contenthub/contenthub/store"
RootResource() - Constructor for class org.apache.stanbol.contenthub.web.resources.RootResource
 

S

SearchResultWriter - Class in org.apache.stanbol.contenthub.web.writers
 
SearchResultWriter() - Constructor for class org.apache.stanbol.contenthub.web.writers.SearchResultWriter
 
SemanticIndexManagerResource - Class in org.apache.stanbol.contenthub.web.resources
This class the the web resource to handle the RESTful requests and HTML view of the LDProgram management facilities within Contenthub.
SemanticIndexManagerResource(ServletContext) - Constructor for class org.apache.stanbol.contenthub.web.resources.SemanticIndexManagerResource
 
StoreResource - Class in org.apache.stanbol.contenthub.web.resources
Resource to provide a CRU[D] REST API for content items and there related enhancements.
StoreResource(ServletContext, UriInfo, String) - Constructor for class org.apache.stanbol.contenthub.web.resources.StoreResource
 
submitProgram(String, String, HttpHeaders) - Method in class org.apache.stanbol.contenthub.web.resources.SemanticIndexManagerResource
HTTP POST method which saves an LDPath program into the persistent store of Contenthub.
supportedMediaTypes - Static variable in class org.apache.stanbol.contenthub.web.util.RestUtil
 

U

updateContentItemFromForm(String, String, String, String, String, HttpHeaders) - Method in class org.apache.stanbol.contenthub.web.resources.StoreResource
HTTP POST method to update an existing content item.
updateContentItemFromForm(String, File, FormDataContentDisposition, FormDataBodyPart, String, String, HttpHeaders) - Method in class org.apache.stanbol.contenthub.web.resources.StoreResource
HTTP POST method to update an existing content item.

W

writeTo(Template, Viewable, OutputStream) - Method in class org.apache.stanbol.contenthub.web.processor.FreemarkerViewProcessor
 
writeTo(LDProgramCollection, Class<?>, Type, Annotation[], MediaType, MultivaluedMap<String, Object>, OutputStream) - Method in class org.apache.stanbol.contenthub.web.writers.LDProgramCollectionWriter
 
writeTo(SearchResult, Class<?>, Type, Annotation[], MediaType, MultivaluedMap<String, Object>, OutputStream) - Method in class org.apache.stanbol.contenthub.web.writers.SearchResultWriter
 

A B C D E F G H I J L N O R S U W

Copyright © 2011-2012 The Apache Software Foundation. All Rights Reserved.