Class TopiaFilter

java.lang.Object
org.nuiton.topia.framework.TopiaFilter
All Implemented Interfaces:
EntityFilter

public class TopiaFilter
extends java.lang.Object
implements EntityFilter
Filter Created: 23 avr. 2010
Since:
2.0
Author:
fdesbois
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected java.lang.Integer endIndex  
    protected java.lang.String orderBy  
    protected java.lang.String referenceId  
    protected java.lang.String referenceProperty  
    protected java.lang.Integer startIndex  
  • Constructor Summary

    Constructors 
    Constructor Description
    TopiaFilter()  
  • Method Summary

    Modifier and Type Method Description
    void addPropertyChangeListener​(java.beans.PropertyChangeListener listener)
    Add PropertyChangeListener.
    void checkReference​(java.lang.Class<?> reference, boolean mandatory)
    Use to check if reference class is supported by the current filter reference.
    java.lang.Integer getEndIndex()
    Get the value of endIndex
    java.lang.String getOrderBy()
    Get the value of orderBy
    java.lang.String getReferenceId()
    Get the value of referenceId
    java.lang.String getReferenceProperty()
    Get the value of referenceProperty
    java.lang.Integer getStartIndex()
    Get the value of startIndex
    boolean hasReference()
    Used to check if the filter contains a reference.
    boolean isClassReference​(java.lang.Class<?> entityClass)
    Test if the entityClass is corresponding to the current reference in the filter.
    void removePropertyChangeListener​(java.beans.PropertyChangeListener listener)
    Remove PropertyChangeListener.
    void setEndIndex​(java.lang.Integer endIndex)
    Set the value of endIndex
    void setOrderBy​(java.lang.String orderBy)
    Set the value of orderBy
    void setReference​(java.lang.Object entity)
    Set the value of referenceId from entity
    void setReferenceId​(java.lang.String referenceId)
    Set the value of referenceId
    void setReferenceProperty​(java.lang.String referenceProperty)
    Set the value of referenceProperty
    void setStartIndex​(java.lang.Integer startIndex)
    Set the value of startIndex
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait