public interface InstanceExplorerInterface extends ContextProvider, UnitsProvider, InstanceExplorerListener
Modifier and Type | Method and Description |
---|---|
void |
addFact(XBRLFact fact)
Received notification that a fact has been added.
|
void |
clear()
Clear.
|
void |
delFact(XBRLFact fact,
XBRLFactsList parent)
Receives notification that a fact has been removed from the instance being explored.
|
XBRLFactItem |
findFact(java.util.Collection<Member<?>> allMembers)
if the allMembers contains LineTitleMember elements, we need to resolve the hierarchy resolution
before calling this method.
|
XBRLFactItem |
findFact(java.util.Collection<Member<?>> allMembers,
java.util.List<InstanceExplorerEvent> lstEvents)
if the allMembers contains LineTitleMember elements, we need to resolve the hierarchy resolution
before calling this method.
|
java.util.Iterator<CompanyKey> |
getCompanyKeys()
Gets the company keys.
|
XBRLInstance |
getInstance()
Access to the XBRLInstance in the instance explorer.
|
XBRLUnit |
getSuggestedUnit(CompanyKey ck,
XBRLItem itm)
Gets the suggested unit.
|
boolean |
hasDataForCompany(CompanyKey company)
Checks for data for company.
|
void |
setInstance(XBRLInstance instance)
Sets the instance.
|
void |
setNewColumns(boolean value)
While updateFacts is running, if new columns are created
the table shifts all data and there is a mismatch between
the GUI column index and the Instance Explorer column index
that causes data to be corrupted.
|
addContext, factChangedContext, getCompatibleContexts
factChangedUnit, getSuggestedUnits
instanceEvent
void setInstance(XBRLInstance instance)
instance
- the new instanceXBRLFactItem findFact(java.util.Collection<Member<?>> allMembers)
allMembers
- the all membersXBRLFactItem findFact(java.util.Collection<Member<?>> allMembers, java.util.List<InstanceExplorerEvent> lstEvents)
allMembers
- the all memberslstEvents
- an initialized empty list of events. This method will add here events to initialize the duplicates dimension if it is foundXBRLUnit getSuggestedUnit(CompanyKey ck, XBRLItem itm)
ck
- the ckitm
- the itmvoid addFact(XBRLFact fact)
fact
- the factvoid delFact(XBRLFact fact, XBRLFactsList parent)
Note: after removing a fact from its container the fact parent is set to null.
The fact has to be removed from the parent container prior to call this method and this is the reason this method has a second parameter that indicated what the parent container was.
fact
- the factparent
- the parentvoid clear()
boolean hasDataForCompany(CompanyKey company)
company
- the companyjava.util.Iterator<CompanyKey> getCompanyKeys()
XBRLInstance getInstance()
void setNewColumns(boolean value)
value
- if true, new columns will not be created during updateFacts processCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa