|
XBRLAPIA Java API for XBRL |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.xbrlapi.networks.StorerImpl
public class StorerImpl
| Field Summary | |
|---|---|
protected static org.apache.log4j.Logger |
logger
|
| Constructor Summary | |
|---|---|
StorerImpl(Store store)
|
|
| Method Summary | |
|---|---|
void |
deleteInactiveRelationships()
Removes all persisted prohibited or overridden relationships from a network. |
void |
deleteInactiveRelationships(URI linkRole,
URI arcrole)
Removes persisted prohibited or overridden relationships from a network. |
void |
deleteRelationships()
Deletes all persisted relationships in the data store. |
void |
deleteRelationships(URI document)
Deletes the persisted relationships that are related to arcs in the specified document. |
void |
deleteRelationships(URI linkRole,
URI arcrole)
Deletes the persisted relationships with the given link and arc role from the data store. |
void |
storeAllRelationships()
+++ |
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(Collection<URI> documents)
|
void |
storeRelationships(Network network)
|
void |
storeRelationships(Networks networks)
|
void |
storeRelationships(URI document)
This implementation uses just 3 database queries for the document. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static org.apache.log4j.Logger logger
| Constructor Detail |
|---|
public StorerImpl(Store store)
throws XBRLException
XBRLException| Method Detail |
|---|
public void storeRelationship(Relationship relationship)
throws XBRLException
Storer
storeRelationship in interface Storerrelationship - The relationship that will be be persisted in the data store.
XBRLExceptionStorer.storeRelationship(Relationship)
public void storeRelationship(Arc arc,
Fragment source,
Fragment target)
throws XBRLException
Storer
storeRelationship in interface Storerarc - The relationship arcsource - The relationship source fragmenttarget - The relationship target fragment
XBRLExceptionStorer.storeRelationship(Arc, Fragment, Fragment)
public void storeRelationships(Network network)
throws XBRLException
storeRelationships in interface Storernetwork - The network from which all
relationships (active and inactive) will be
persisted in the data store.
XBRLExceptionStorer.storeRelationships(org.xbrlapi.networks.Network)
public void storeRelationships(Networks networks)
throws XBRLException
storeRelationships in interface Storernetworks - The set of networks from
which all active relationships
will be persisted in the data store.
XBRLExceptionStorer.storeRelationships(org.xbrlapi.networks.Networks)
public void storeAllRelationships()
throws XBRLException
storeAllRelationships in interface StorerXBRLExceptionStorer.storeAllRelationships()
public void deleteRelationships(URI linkRole,
URI arcrole)
throws XBRLException
Storer
deleteRelationships in interface StorerlinkRole - The linkrole for relationships to be deleted.arcrole - The arcrole for relationships to be deleted.
XBRLExceptionStorer.deleteRelationships(URI, URI)
public void deleteRelationships(URI document)
throws XBRLException
Storer
deleteRelationships in interface Storerdocument - The URI of the document to delete the persisted
relationships for.
XBRLExceptionStorer.deleteRelationships(URI)
public void deleteRelationships()
throws XBRLException
Storer
deleteRelationships in interface StorerXBRLExceptionStorer.deleteRelationships()
public void storeRelationships(Collection<URI> documents)
throws XBRLException
storeRelationships in interface Storerdocuments - 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.
XBRLExceptionStorer.storeRelationships(Collection)
public void storeRelationships(URI document)
throws XBRLException
storeRelationships in interface Storerdocument - 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.
XBRLExceptionStorer.storeRelationships(URI)
public void deleteInactiveRelationships()
throws XBRLException
Storer
deleteInactiveRelationships in interface StorerXBRLExceptionStorer.deleteInactiveRelationships()
public void deleteInactiveRelationships(URI linkRole,
URI arcrole)
throws XBRLException
Storer
deleteInactiveRelationships in interface StorerlinkRole - The linkRole of the network to purge.arcrole - The arcrole of the network to purge.
XBRLExceptionStorer.deleteInactiveRelationships(URI, URI)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||