Class UnitFilter
- java.lang.Object
-
- fr.paris.lutece.plugins.unittree.business.unit.UnitFilter
-
public class UnitFilter extends java.lang.ObjectUnitFilter
-
-
Constructor Summary
Constructors Constructor Description UnitFilter()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsDescription()Check if the filter contains the descriptionbooleancontainsIdParent()Check if the filter contains the id parentbooleancontainsLabel()Check if the filter contains the labeljava.lang.StringgetDescription()Get the descriptionintgetIdParent()Get the id parentjava.lang.StringgetLabel()Get the labelbooleanisWideSearch()Return true if the search is wide, false otherwisevoidsetDescription(java.lang.String strDescription)Set the descriptionvoidsetIdParent(int nIdParent)Set the id parentvoidsetLabel(java.lang.String strLabel)Set the labelvoidsetWideSearch(boolean isWideSearch)Set true if the search is wide, false otherwise
-
-
-
Method Detail
-
getLabel
public java.lang.String getLabel()
Get the label- Returns:
- the label
-
setLabel
public void setLabel(java.lang.String strLabel)
Set the label- Parameters:
strLabel- the label
-
containsLabel
public boolean containsLabel()
Check if the filter contains the label- Returns:
- true if it contains, false otherwise
-
getDescription
public java.lang.String getDescription()
Get the description- Returns:
- the description
-
setDescription
public void setDescription(java.lang.String strDescription)
Set the description- Parameters:
strDescription- the description
-
containsDescription
public boolean containsDescription()
Check if the filter contains the description- Returns:
- true if it contains, false otherwise
-
getIdParent
public int getIdParent()
Get the id parent- Returns:
- the id parent
-
setIdParent
public void setIdParent(int nIdParent)
Set the id parent- Parameters:
nIdParent- the reference code
-
containsIdParent
public boolean containsIdParent()
Check if the filter contains the id parent- Returns:
- true if the it contains, false otherwise
-
setWideSearch
public void setWideSearch(boolean isWideSearch)
Set true if the search is wide, false otherwise- Parameters:
isWideSearch- true if the search is wide, false otherwise
-
isWideSearch
public boolean isWideSearch()
Return true if the search is wide, false otherwise- Returns:
- true if the search is wide, false otherwise
-
-