com.ihr.xbrl.store
Interface HasStoreUserQuestions


public interface HasStoreUserQuestions

This interface has functions that ask questions to the user about if an instance document can be further processed.

Normally the questions are asked to the user when a document to be processed contains warnings and the user can decide if further processing will continue or not.

Author:
Ignacio

Field Summary
static int NO
          Return value from class method if NO is chosen.
static int SEE_WARINGS
          Return value from class method if CANCEL is chosen.
static int YES
          Return value from class method if YES is chosen.
 
Method Summary
 boolean continueProcessing(HasErrorsHandler errorHandler, XBRLValidationReport report)
          Ask the user if processing can continue.
 

Field Detail

YES

static final int YES
Return value from class method if YES is chosen.

See Also:
Constant Field Values

NO

static final int NO
Return value from class method if NO is chosen.

See Also:
Constant Field Values

SEE_WARINGS

static final int SEE_WARINGS
Return value from class method if CANCEL is chosen.

See Also:
Constant Field Values
Method Detail

continueProcessing

boolean continueProcessing(HasErrorsHandler errorHandler,
                           XBRLValidationReport report)
Ask the user if processing can continue.

Parameters:
errorHandler - the object that can show errors or warnings to the user.
report - the validation report to be used in the errorHandler.
Returns:
Boolean, true means process can continue. false means process cannot continue.


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