Class UnitFilter
java.lang.Object
fr.paris.lutece.plugins.unittree.business.unit.UnitFilter
UnitFilter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck if the filter contains the descriptionbooleanCheck if the filter contains the id parentbooleanCheck if the filter contains the labelGet the descriptionintGet the id parentgetLabel()Get the labelbooleanReturn true if the search is wide, false otherwisevoidsetDescription(String strDescription) Set the descriptionvoidsetIdParent(int nIdParent) Set the id parentvoidSet the labelvoidsetWideSearch(boolean isWideSearch) Set true if the search is wide, false otherwise
-
Constructor Details
-
UnitFilter
public UnitFilter()Constructor
-
-
Method Details
-
getLabel
Get the label- Returns:
- the label
-
setLabel
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
Get the description- Returns:
- the description
-
setDescription
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
-