ICompanyInfoResult
, java.io.Serializable
public class CompanySearch extends java.lang.Object implements ICompanyInfoResult
Constructor | Description |
---|---|
CompanySearch() |
|
CompanySearch(java.lang.String name) |
|
CompanySearch(java.lang.String fieldName,
java.lang.String value) |
|
CompanySearch(java.lang.String fieldName,
java.lang.String... value) |
|
CompanySearch(java.lang.String fieldName,
java.util.List<java.lang.String> values) |
Modifier and Type | Method | Description |
---|---|---|
ch.pschatzmann.common.table.ITable |
getTable() |
Provides the result as ITable
|
boolean |
isOnlyCompaniesWithTradingSymbol() |
|
boolean |
isUseArrayList() |
|
CompanySearch |
onlyCompaniesWithTradingSymbol(boolean onlyCompaniesWithtradingSymbol) |
|
CompanySearch |
setUseArrayList(boolean useArrayList) |
Convert the List to an ArrayList
|
long |
size() |
Determines the number of records
|
java.lang.String |
toCsv() |
Provides the result as CSV String
|
java.lang.String |
toHtml() |
Provides the result as Html table
|
java.lang.String |
toJson() |
Provides the result as Json
|
java.util.List<java.util.Map<java.lang.String,?>> |
toList() |
Provides the result as List
|
java.util.List<EdgarCompany> |
toListOfEdgarCompany() |
isEmpty
public CompanySearch() throws DataException, java.lang.ClassNotFoundException, java.sql.SQLException
DataException
java.lang.ClassNotFoundException
java.sql.SQLException
public CompanySearch(java.lang.String name) throws DataException, java.lang.ClassNotFoundException, java.sql.SQLException
DataException
java.lang.ClassNotFoundException
java.sql.SQLException
public CompanySearch(java.lang.String fieldName, java.util.List<java.lang.String> values) throws DataException, java.lang.ClassNotFoundException, java.sql.SQLException
DataException
java.lang.ClassNotFoundException
java.sql.SQLException
public CompanySearch(java.lang.String fieldName, java.lang.String... value)
public CompanySearch(java.lang.String fieldName, java.lang.String value) throws DataException, java.lang.ClassNotFoundException, java.sql.SQLException
DataException
java.lang.ClassNotFoundException
java.sql.SQLException
public java.lang.String toCsv() throws ch.pschatzmann.common.table.FormatException, DataException
ICompanyInfoResult
toCsv
in interface ICompanyInfoResult
ch.pschatzmann.common.table.FormatException
DataException
public java.lang.String toHtml() throws ch.pschatzmann.common.table.FormatException, DataException
ICompanyInfoResult
toHtml
in interface ICompanyInfoResult
ch.pschatzmann.common.table.FormatException
DataException
public java.lang.String toJson() throws ch.pschatzmann.common.table.FormatException, DataException
ICompanyInfoResult
toJson
in interface ICompanyInfoResult
ch.pschatzmann.common.table.FormatException
DataException
public java.util.List<java.util.Map<java.lang.String,?>> toList() throws DataException
ICompanyInfoResult
toList
in interface ICompanyInfoResult
DataException
public java.util.List<EdgarCompany> toListOfEdgarCompany() throws java.lang.ClassNotFoundException, DataException, java.sql.SQLException
java.lang.ClassNotFoundException
DataException
java.sql.SQLException
public ch.pschatzmann.common.table.ITable getTable() throws DataException
ICompanyInfoResult
getTable
in interface ICompanyInfoResult
DataException
public long size() throws DataException
ICompanyInfoResult
size
in interface ICompanyInfoResult
DataException
public boolean isOnlyCompaniesWithTradingSymbol()
public CompanySearch onlyCompaniesWithTradingSymbol(boolean onlyCompaniesWithtradingSymbol)
public boolean isUseArrayList()
public CompanySearch setUseArrayList(boolean useArrayList)
ICompanyInfoResult
setUseArrayList
in interface ICompanyInfoResult