ManageEngine Analytics Plus API Docs

com.adventnet.zoho.client.report
Class ImportResult

java.lang.Object
  extended by com.adventnet.zoho.client.report.ImportResult

public class ImportResult
extends java.lang.Object

ImportResult contains the result of an import operation.


Method Summary
 java.lang.String getColumnDataType(java.lang.String importedColumnName)
          Get the data type of the specified column.
 java.lang.String getImpIdStr()
           
 java.util.List getImportedColumns()
          Get the column names of the imported columns.
 java.lang.String getImportErrors()
          Returns the first 100 import errors.
 java.lang.String getImportOperation()
          Returns the import operation.
 java.lang.String getInfo(java.lang.String elName)
           
 java.lang.String getInfo(java.lang.String elName, boolean throwIfNotPresent)
           
 long getRowsWithWarningsCount()
          Returns the number of rows that were imported with warnings.
 int getSelectedColumnCount()
          Returns the number of columns that were imported.See ZOHO_SELECTED_COLUMNS parameter.
 long getSuccessRowCount()
          Returns the number of rows that were imported successfully without errors.
 long getTableId()
           
 int getTotalColumnCount()
          Returns the total columns that were present in the imported file.
 long getTotalRowCount()
          Returns the total row count in the imported file.
 boolean isLastBatchCommitted()
           
 void setImpIdStr(java.lang.String impIdStr)
           
 void setLastBatchCommitted(boolean isLastBatchCommitted)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getImpIdStr

public java.lang.String getImpIdStr()

setImpIdStr

public void setImpIdStr(java.lang.String impIdStr)

isLastBatchCommitted

public boolean isLastBatchCommitted()

setLastBatchCommitted

public void setLastBatchCommitted(boolean isLastBatchCommitted)

getTableId

public long getTableId()

getTotalColumnCount

public int getTotalColumnCount()
Returns the total columns that were present in the imported file.

Returns:
An int value.

getSelectedColumnCount

public int getSelectedColumnCount()
Returns the number of columns that were imported.See ZOHO_SELECTED_COLUMNS parameter.

Returns:
An int value.

getTotalRowCount

public long getTotalRowCount()
Returns the total row count in the imported file.

Returns:
A long value.

getSuccessRowCount

public long getSuccessRowCount()
Returns the number of rows that were imported successfully without errors.

Returns:
A long value.

getRowsWithWarningsCount

public long getRowsWithWarningsCount()
Returns the number of rows that were imported with warnings. Applicable if ZOHO_ON_IMPORT_ERROR parameter has been set to SETCOLUMNEMPTY.

Returns:
A long value.

getImportedColumns

public java.util.List getImportedColumns()
Get the column names of the imported columns.

Returns:
A String value.

getColumnDataType

public java.lang.String getColumnDataType(java.lang.String importedColumnName)
Get the data type of the specified column.

Returns:
A String value.

getImportErrors

public java.lang.String getImportErrors()
Returns the first 100 import errors. Applicable if ZOHO_ON_IMPORT_ERROR parameter is either SKIPROW or SETCOLUMNEMPTY. In case of ABORT , ServerException is thrown

Returns:
A String value.

getImportOperation

public java.lang.String getImportOperation()
Returns the import operation. Can be either

Returns:
A String value.

getInfo

public java.lang.String getInfo(java.lang.String elName)
                         throws ParseException
Throws:
ParseException

getInfo

public java.lang.String getInfo(java.lang.String elName,
                                boolean throwIfNotPresent)
                         throws ParseException
Throws:
ParseException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

ManageEngine Analytics Plus API Docs

Copyright © 2018 AdventNet Inc. All Rights Reserved.