com.ihr.xbrl.store
Class StoreXBRLThread

java.lang.Object
  extended by com.ihr.xbrl.store.StoreXBRLThread
All Implemented Interfaces:
java.lang.Runnable

public class StoreXBRLThread
extends java.lang.Object
implements java.lang.Runnable


Constructor Summary
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.
 
Method Summary
 void addStorageEventListener(StorageEventListener evt)
           
 void removeStorageEventListener(StorageEventListener evt)
           
 void run()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StoreXBRLThread

public 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. 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.

Parameters:
dtsURIs -
dtsName -
dbUtil -
appFrame -
app -
appLoadingBar -
appLogPanel -
errorHandler -

StoreXBRLThread

public 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. 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.

Parameters:
dtsURIs -
dtsName -
dbUtil -
appFrame -
app -
appLoadingBar -
appLogPanel -
errorHandler -

StoreXBRLThread

public 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.

Parameters:
documents -
session -
appLoadingBar -
appLogPanel -

StoreXBRLThread

public 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.

Parameters:
documents -
session -
appLoadingBar -
appLogPanel -

StoreXBRLThread

public 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.

The process is as follows:

Method Detail

addStorageEventListener

public void addStorageEventListener(StorageEventListener evt)

removeStorageEventListener

public void removeStorageEventListener(StorageEventListener evt)

run

public void run()
Specified by:
run in interface java.lang.Runnable


Copyright 2006-2009 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa