Class NarrativeServiceUtils
- java.lang.Object
-
- org.openprovenance.prov.service.core.ServiceUtils
-
- org.openprovenance.prov.service.narrative.NarrativeServiceUtils
-
public class NarrativeServiceUtils extends ServiceUtils
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openprovenance.prov.service.core.ServiceUtils
ServiceUtils.Action, ServiceUtils.Destination
-
-
Field Summary
Fields Modifier and Type Field Description static StringDETAILSstatic StringKEY_EXPLANATIONSstatic StringKEY_MAPstatic StringKEY_PROFILESstatic StringKEY_TEMPLATES-
Fields inherited from class org.openprovenance.prov.service.core.ServiceUtils
ACCESS_CONTROL_ALLOW_ORIGIN, CONFIG_PROPERTIES, containerClassifier, containerVersion, DOCUMENT_NOT_FOUND, documentCache, HEADER_PARAM_ACCEPT, longContainerVersion, UPLOADED_FILE_PATH, WILDCARD
-
-
Constructor Summary
Constructors Constructor Description NarrativeServiceUtils(PostService ps, ServiceUtilsConfig config)
-
Method Summary
Modifier and Type Method Description jakarta.ws.rs.core.Response.ResponseBuildercomposeResponseCreated(Object o, String path, jakarta.ws.rs.core.UriInfo uriInfo)StringcreateEntryForTemplateAndProfile(org.openprovenance.prov.storage.api.ResourceIndex<org.openprovenance.prov.storage.api.DocumentResource> index, String id, org.openprovenance.prov.storage.api.DocumentResource dr, String templates_str, String profiles_str)-
Methods inherited from class org.openprovenance.prov.service.core.ServiceUtils
composeResponseBadRequest, composeResponseError, composeResponseInternalServerError, composeResponseNotAcceptable, composeResponseNotFOUND, composeResponseNotFOUND, composeResponseNotFoundConstraintResource, composeResponseNotFoundDocument, composeResponseNotFoundResource, composeResponseNotFoundSummarisation, composeResponseNotFoundType, composeResponseOK, composeResponseSeeOther, contentNegotiationForDocument, contentNegotiationForDocument, deleteFromCache, doProcessFile, doProcessFile, doProcessFileForm, doProcessStatementsForm, doProcessURLForm, getAction, getConfig, getDestination, getDocumentFromCacheOrStore, getDocumentFromStore, getDocumentResourceIndex, getExtensionMap, getFileName, getFormDataValue, getGenericResourceStorageMap, getJobManager, getNonDocumentResourceIndex, getNonDocumentResourceStorage, getPropertiesFromClasspath, getProvFactory, getRequestURL, getStorageManager, isNumeric, isSelf, loadConfigFromEnvironment, loadConfigFromSystem, printStackTrace
-
-
-
-
Field Detail
-
KEY_EXPLANATIONS
public static final String KEY_EXPLANATIONS
- See Also:
- Constant Field Values
-
KEY_MAP
public static final String KEY_MAP
- See Also:
- Constant Field Values
-
DETAILS
public static final String DETAILS
- See Also:
- Constant Field Values
-
KEY_TEMPLATES
public static final String KEY_TEMPLATES
- See Also:
- Constant Field Values
-
KEY_PROFILES
public static final String KEY_PROFILES
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
NarrativeServiceUtils
public NarrativeServiceUtils(PostService ps, ServiceUtilsConfig config)
-
-
Method Detail
-
createEntryForTemplateAndProfile
public String createEntryForTemplateAndProfile(org.openprovenance.prov.storage.api.ResourceIndex<org.openprovenance.prov.storage.api.DocumentResource> index, String id, org.openprovenance.prov.storage.api.DocumentResource dr, String templates_str, String profiles_str)
-
-