| Modifier and Type | Field and Description |
|---|---|
protected BitstreamService |
bitstreamService |
protected BundleService |
bundleService |
protected SiteService |
siteService |
protected Deque<org.dspace.rdf.RDFConsumer.DSOIdentifier> |
toConvert |
protected Deque<org.dspace.rdf.RDFConsumer.DSOIdentifier> |
toDelete |
protected WorkflowItemService |
workflowItemService |
protected WorkspaceItemService |
workspaceItemService |
| Constructor and Description |
|---|
RDFConsumer() |
| Modifier and Type | Method and Description |
|---|---|
void |
consume(Context ctx,
Event event)
Consume an event; events may get filtered at the dispatcher level, hiding
it from the consumer.
|
void |
consumeBitstream(Context ctx,
Event event) |
void |
consumeBundles(Context ctx,
Event event) |
void |
consumeCommunityCollectionItem(Context ctx,
Event event) |
void |
consumeSite(Context ctx,
Event event) |
void |
end(Context ctx)
Signal that there are no more events queued in this event stream and
event processing for the preceding consume calls should be finished up.
|
void |
finish(Context ctx)
Finish - free any allocated resources.
|
void |
initialize()
Initialize - allocate any resources required to operate.
|
protected Deque<org.dspace.rdf.RDFConsumer.DSOIdentifier> toConvert
protected Deque<org.dspace.rdf.RDFConsumer.DSOIdentifier> toDelete
protected BitstreamService bitstreamService
protected BundleService bundleService
protected SiteService siteService
protected WorkspaceItemService workspaceItemService
protected WorkflowItemService workflowItemService
public void initialize()
throws Exception
Consumerinitialize in interface ConsumerExceptionpublic void consume(Context ctx, Event event) throws SQLException
Consumerconsume in interface Consumerctx - the execution context objectevent - the content eventSQLExceptionpublic void consumeBitstream(Context ctx, Event event) throws SQLException
SQLExceptionpublic void consumeBundles(Context ctx, Event event) throws SQLException
SQLExceptionpublic void consumeCommunityCollectionItem(Context ctx, Event event) throws SQLException
SQLExceptionpublic void consumeSite(Context ctx, Event event) throws SQLException
SQLExceptionpublic void end(Context ctx) throws Exception
ConsumerCopyright © 2022 LYRASIS. All rights reserved.