public class StoreXBRLThread
extends java.lang.Object
implements java.lang.Runnable
Constructor and Description |
---|
StoreXBRLThread()
This constructor exist only in order to allow other classes to
register the DatabaseURI Resolver before any thead for storing
information is futher created.
|
StoreXBRLThread(java.lang.String instanceUriOnDatabase,
java.net.URI[] dtsURIs,
java.lang.String dtsName,
DbUtil dbUtil,
HasStoreUserQuestions appFrame,
HasEnableDisableOpenMenus app,
HasLoadingBar appLoadingBar,
HasLogPanel appLogPanel,
HasErrorsHandler errorHandler,
boolean bForUpdate)
Store documents in the XBRL Database in a separate thread
During the thread execution the process uses call back functions in other
objects in order to inform the main application about progress and errors
This version of the constructor reads a DTS from a set of URIs.
|
StoreXBRLThread(java.lang.String instanceUriOnDatabase,
XBRLDocument[] documents,
org.hibernate.Session session,
HasEnableDisableOpenMenus app,
HasLoadingBar appLoadingBar,
HasLogPanel appLogPanel,
DbUtil dbUtil,
boolean bForUpdate)
Store documents in the XBRL Database in a separate thread
During the thread execution the process uses call back functions in other
objects in order to inform the main application about progress and errors
This version of the constructor uses the documents already read by the
parent application.
|
StoreXBRLThread(java.net.URI[] dtsURIs,
java.lang.String dtsName,
DbUtil dbUtil,
HasStoreUserQuestions appFrame,
HasEnableDisableOpenMenus app,
HasLoadingBar appLoadingBar,
HasLogPanel appLogPanel,
HasErrorsHandler errorHandler,
boolean bForUpdate)
Store documents in the XBRL Database in a separate thread
During the thread execution the process uses call back functions in other
objects in order to inform the main application about progress and errors
This version of the constructor reads a DTS from a set of URIs.
|
StoreXBRLThread(XBRLDocument[] documents,
org.hibernate.Session session,
HasEnableDisableOpenMenus app,
HasLoadingBar appLoadingBar,
HasLogPanel appLogPanel,
DbUtil dbUtil,
boolean bForUpdate)
Store documents in the XBRL Database in a separate thread
During the thread execution the process uses call back functions in other
objects in order to inform the main application about progress and errors
This version of the constructor uses the documents already read by the
parent application.
|
Modifier and Type | Method and Description |
---|---|
void |
addPojoExtensionListeners(PojoExtension<?,?>[] listenersArray) |
void |
addStorageEventListener(StorageEventListener evt)
Adds the storage event listener.
|
void |
addStorageEventListeners(StorageEventListener[] listenersArray) |
org.hibernate.Session |
getSession()
Access to the same session used to store the instance.
|
void |
removeStorageEventListener(StorageEventListener evt)
Removes the storage event listener.
|
void |
run() |
public StoreXBRLThread(java.net.URI[] dtsURIs, java.lang.String dtsName, DbUtil dbUtil, HasStoreUserQuestions appFrame, HasEnableDisableOpenMenus app, HasLoadingBar appLoadingBar, HasLogPanel appLogPanel, HasErrorsHandler errorHandler, boolean bForUpdate)
During the thread execution the process uses call back functions in other objects in order to inform the main application about progress and errors
This version of the constructor reads a DTS from a set of URIs. The URIs represents files that may exist on the taxonomy catalog or physically in the hard drive.
If the DTS has been loaded using the XBRL Database as a URI resolver then it is possible using the other constructor that is faster as the DTS do not need to be read again.
dtsURIs
- the dts ur isdtsName
- the dts namedbUtil
- the db utilappFrame
- the app frameapp
- the appappLoadingBar
- the app loading barappLogPanel
- the app log panelerrorHandler
- the error handlerbForUpdate
- the b for updatepublic StoreXBRLThread(java.lang.String instanceUriOnDatabase, java.net.URI[] dtsURIs, java.lang.String dtsName, DbUtil dbUtil, HasStoreUserQuestions appFrame, HasEnableDisableOpenMenus app, HasLoadingBar appLoadingBar, HasLogPanel appLogPanel, HasErrorsHandler errorHandler, boolean bForUpdate)
During the thread execution the process uses call back functions in other objects in order to inform the main application about progress and errors
This version of the constructor reads a DTS from a set of URIs. The URIs represents files that may exist on the taxonomy catalog or physically in the hard drive.
If the DTS has been loaded using the XBRL Database as a URI resolver then it is possible using the other constructor that is faster as the DTS do not need to be read again.
instanceUriOnDatabase
- the instance uri on databasedtsURIs
- the dts ur isdtsName
- the dts namedbUtil
- the db utilappFrame
- the app frameapp
- the appappLoadingBar
- the app loading barappLogPanel
- the app log panelerrorHandler
- the error handlerbForUpdate
- the b for updatepublic StoreXBRLThread(java.lang.String instanceUriOnDatabase, XBRLDocument[] documents, org.hibernate.Session session, HasEnableDisableOpenMenus app, HasLoadingBar appLoadingBar, HasLogPanel appLogPanel, DbUtil dbUtil, boolean bForUpdate)
During the thread execution the process uses call back functions in other objects in order to inform the main application about progress and errors
This version of the constructor uses the documents already read by the parent application.
instanceUriOnDatabase
- the instance uri on databasedocuments
- the documentssession
- the sessionapp
- the appappLoadingBar
- the app loading barappLogPanel
- the app log paneldbUtil
- the db utilbForUpdate
- the b for updatepublic StoreXBRLThread(XBRLDocument[] documents, org.hibernate.Session session, HasEnableDisableOpenMenus app, HasLoadingBar appLoadingBar, HasLogPanel appLogPanel, DbUtil dbUtil, boolean bForUpdate)
During the thread execution the process uses call back functions in other objects in order to inform the main application about progress and errors
This version of the constructor uses the documents already read by the parent application.
documents
- the documentssession
- the sessionapp
- the appappLoadingBar
- the app loading barappLogPanel
- the app log paneldbUtil
- the db utilbForUpdate
- the b for updatepublic StoreXBRLThread()
The process is as follows:
public void addStorageEventListener(StorageEventListener evt)
evt
- the evtpublic void removeStorageEventListener(StorageEventListener evt)
evt
- the evtpublic void run()
run
in interface java.lang.Runnable
public org.hibernate.Session getSession()
public void addStorageEventListeners(StorageEventListener[] listenersArray)
listenersArray
- array of listeners to addpublic void addPojoExtensionListeners(PojoExtension<?,?>[] listenersArray)
listenersArray
- array of instances of classes implementing the PojoExtension,?> interfaceCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa