Interface InprogressSubmissionIndexFactory<T extends IndexableInProgressSubmission,S extends InProgressSubmission>
- All Superinterfaces:
IndexFactory<T,S>
- All Known Subinterfaces:
WorkflowItemIndexFactory,WorkspaceItemIndexFactory
- All Known Implementing Classes:
InprogressSubmissionIndexFactoryImpl,WorkflowItemIndexFactoryImpl,WorkspaceItemIndexFactoryImpl
public interface InprogressSubmissionIndexFactory<T extends IndexableInProgressSubmission,S extends InProgressSubmission>
extends IndexFactory<T,S>
Factory interface for indexing/retrieving InProgresssSubmission objects in the search core
- Author:
- Kevin Van de Velde (kevin at atmire dot com)
-
Method Summary
Modifier and TypeMethodDescriptionvoidstoreInprogressItemFields(Context context, org.apache.solr.common.SolrInputDocument doc, InProgressSubmission inProgressSubmission) Store common fields between workspace / workflow items in the solr documentMethods inherited from interface org.dspace.discovery.indexobject.factory.IndexFactory
buildDocument, buildNewDocument, delete, delete, deleteAll, findAll, findIndexableObject, getIndexableObjects, getType, supports, writeDocument
-
Method Details
-
storeInprogressItemFields
void storeInprogressItemFields(Context context, org.apache.solr.common.SolrInputDocument doc, InProgressSubmission inProgressSubmission) throws SQLException, IOException Store common fields between workspace / workflow items in the solr document- Parameters:
context- DSpace context objectdoc- Solr input document which will be written to our discovery solr coreinProgressSubmission- the workspace / workflow item- Throws:
SQLException- If database errorIOException
-