|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ihr.xbrl.filters.TimeFilter
public class TimeFilter
| Method Summary | |
|---|---|
java.lang.String |
getAsString()
Returns the string representation of this filter |
java.lang.String |
getTable()
Returns the name of a new table to be added to the filter query |
java.lang.String |
getTableWhere()
Returns the where clause that joins the table with the existing XBRLFactItems table |
java.lang.String |
getWhere()
Returns the text of the where clause (without the "and" clause) there is only one if the XBRLFilterInterface.hasWhereClause() function has returned true. |
boolean |
hasTables()
This shall return true if the filter requires a new table to be inserted in the query. |
boolean |
hasWhereClause()
Returns true if the filter is able to provide a where clause to the query statement. |
static XBRLFilterInterface |
newTimeFilter(java.lang.String filter)
|
static XBRLFilterInterface |
newTimeFilter(XBRLPeriod period)
|
void |
removeFactsNotPass(java.util.List<?> lst)
|
org.hibernate.Query |
setParameters(org.hibernate.Query q)
Fills in the parameter values for this query in the where clause |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void removeFactsNotPass(java.util.List<?> lst)
removeFactsNotPass in interface XBRLFilterInterfacepublic static XBRLFilterInterface newTimeFilter(XBRLPeriod period)
period - session -
public java.lang.String getAsString()
XBRLFilterInterface
getAsString in interface XBRLFilterInterfacepublic static XBRLFilterInterface newTimeFilter(java.lang.String filter)
filter -
public java.lang.String getWhere()
throws java.lang.IllegalAccessException
XBRLFilterInterfaceXBRLFilterInterface.hasWhereClause() function has returned true.
When preparing the returned string, f is the XBRLFact pojo instance other classes may use in the where clause
getWhere in interface XBRLFilterInterfacejava.lang.IllegalAccessException - if the class does not implements this methodpublic boolean hasWhereClause()
XBRLFilterInterface
hasWhereClause in interface XBRLFilterInterface
public org.hibernate.Query setParameters(org.hibernate.Query q)
throws java.lang.IllegalAccessException
XBRLFilterInterface
setParameters in interface XBRLFilterInterfaceq - the query without the parameters filled in.
java.lang.IllegalAccessException - if the class does not implements this methodpublic boolean hasTables()
XBRLFilterInterface
hasTables in interface XBRLFilterInterface
public java.lang.String getTable()
throws java.lang.IllegalAccessException
XBRLFilterInterface
getTable in interface XBRLFilterInterfacejava.lang.IllegalAccessException - if the method is called for a filter that does not adds tables
public java.lang.String getTableWhere()
throws java.lang.IllegalAccessException
XBRLFilterInterface
getTableWhere in interface XBRLFilterInterfacejava.lang.IllegalAccessException - if the method is called on a filter that does not adds tables
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||