public interface Storer
Modifier and Type | Method and Description |
---|---|
void |
deleteInactiveRelationships()
Removes all persisted prohibited or overridden relationships from a network.
|
void |
deleteInactiveRelationships(java.lang.String linkRole,
java.lang.String arcrole)
Removes persisted prohibited or overridden relationships from a network.
|
void |
deleteRelationships()
Deletes all persisted relationships in the data store.
|
void |
deleteRelationships(java.net.URI document)
Deletes the persisted relationships that are related to arcs
in the specified document.
|
void |
deleteRelationships(java.net.URI linkRole,
java.net.URI arcrole)
Deletes the persisted relationships with the given link and arc role from
the data store.
|
void |
storeAllRelationships()
Stores all active relationships in the entire data store.
|
void |
storeRelationship(Arc arc,
Fragment source,
Fragment target)
Persist the relationship defined by the given fragments.
|
void |
storeRelationship(Relationship relationship)
When the relationship is persisted in the data store, any equivalent
relationship will be removed from the data store.
|
void |
storeRelationships(java.util.Collection<java.net.URI> documents) |
void |
storeRelationships(Network network) |
void |
storeRelationships(Networks networks) |
void |
storeRelationships(java.net.URI document) |
void storeRelationships(Networks networks) throws XBRLException
networks
- The set of networks from
which all active relationships
will be persisted in the data store.XBRLException
Relationship
void storeRelationships(java.util.Collection<java.net.URI> documents) throws XBRLException
documents
- The collection of URIs of the documents to store the relationships for.
Relationships are sought among the XLink arcs in the documents.
This is used by the discover to updated persisted relationships
in the data store.XBRLException
void storeRelationships(java.net.URI document) throws XBRLException
document
- The URI of the document to store the relationships for.
Relationships are sought among the XLink arcs in the documents.
This is used by the discover to updated persisted relationships
in the data store.XBRLException
void storeRelationships(Network network) throws XBRLException
network
- The network from which all
relationships (active and inactive) will be
persisted in the data store.XBRLException
Relationship
void storeRelationship(Relationship relationship) throws XBRLException
relationship
- The relationship that will be be persisted in the data store.XBRLException
Relationship.getSignature()
void storeRelationship(Arc arc, Fragment source, Fragment target) throws XBRLException
arc
- The relationship arcsource
- The relationship source fragmenttarget
- The relationship target fragmentXBRLException
void storeAllRelationships() throws XBRLException
XBRLException
void deleteRelationships(java.net.URI linkRole, java.net.URI arcrole) throws XBRLException
linkRole
- The linkrole for relationships to be deleted.arcrole
- The arcrole for relationships to be deleted.XBRLException
void deleteRelationships(java.net.URI document) throws XBRLException
document
- The URI of the document to delete the persisted
relationships for.XBRLException
void deleteRelationships() throws XBRLException
XBRLException
void deleteInactiveRelationships(java.lang.String linkRole, java.lang.String arcrole) throws XBRLException
linkRole
- The linkRole of the network to purge.arcrole
- The arcrole of the network to purge.XBRLException
void deleteInactiveRelationships() throws XBRLException
XBRLException