fr.paris.lutece.plugins.myportal.business
Class WidgetFilter

java.lang.Object
  extended by fr.paris.lutece.plugins.myportal.business.WidgetFilter

public class WidgetFilter
extends java.lang.Object

WidgetFilter


Field Summary
static int FILTER_TRUE
           
 
Constructor Summary
WidgetFilter()
          Constructor
 
Method Summary
 boolean containsDescription()
          Check if the filter contains the attribute Description
 boolean containsIdCategory()
          Check if the filter contains the attribute ID category
 boolean containsIdStyle()
          Check if the filter contains the attribute ID style
 boolean containsIsEssential()
          Check if the filter contains the attribute essential
 boolean containsIsNew()
          Check if the filter contains the attribute new
 boolean containsName()
          Check if the filter contains the attribute Name
 boolean containsStatus()
          Check if the filter contains the attribute Name
 boolean containsWidgetType()
          Check if the filter contains the attribute Widget Type
 java.lang.String getDescription()
          Returns the Description
 int getIdCategory()
          Returns the IdCategory
 int getIdStyle()
          Returns the IdStyle
 int getIsEssential()
          Check if the widget is essential
 int getIsNew()
          Check if the widget is new
 boolean getIsWideSearch()
          Check if the filter is applied to a wide search or not.
 java.lang.String getName()
          Returns the Name
 int getStatus()
          Get the status of the widget
 java.lang.String getWidgetType()
          Returns the WidgetType
 void setDescription(java.lang.String strDescription)
          Sets the Description
 void setIdCategory(int nIdCategory)
          Sets the IdCategory
 void setIdStyle(int nIdStyle)
          Sets the IdStyle
 void setIsEssential(int nIsEssential)
          Set the widget as essential
 void setIsNew(int nIsNew)
          Set the widget as new
 void setIsWideSearch(boolean bIsWideSearch)
          Set true if the filter is applied to a wide search.
 void setName(java.lang.String strName)
          Sets the Name
 void setStatus(int nStatus)
          Set the status of the widget
 void setWidgetType(java.lang.String strWidgetType)
          Sets the WidgetType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILTER_TRUE

public static final int FILTER_TRUE
See Also:
Constant Field Values
Constructor Detail

WidgetFilter

public WidgetFilter()
Constructor

Method Detail

setIsWideSearch

public void setIsWideSearch(boolean bIsWideSearch)
Set true if the filter is applied to a wide search.
In other words, the SQL query will use

Parameters:
bIsWideSearch - true if it a wide search, false otherwise

getIsWideSearch

public boolean getIsWideSearch()
Check if the filter is applied to a wide search or not.
In other words, the SQL query will use

Returns:
true if it is applied to a wide search

getName

public java.lang.String getName()
Returns the Name

Returns:
The Name

setName

public void setName(java.lang.String strName)
Sets the Name

Parameters:
strName - The Name

containsName

public boolean containsName()
Check if the filter contains the attribute Name

Returns:
true if it containts, false otherwise

getDescription

public java.lang.String getDescription()
Returns the Description

Returns:
The Description

setDescription

public void setDescription(java.lang.String strDescription)
Sets the Description

Parameters:
strDescription - The Description

containsDescription

public boolean containsDescription()
Check if the filter contains the attribute Description

Returns:
true if it containts, false otherwise

getIdCategory

public int getIdCategory()
Returns the IdCategory

Returns:
The IdCategory

setIdCategory

public void setIdCategory(int nIdCategory)
Sets the IdCategory

Parameters:
nIdCategory - The IdCategory

containsIdCategory

public boolean containsIdCategory()
Check if the filter contains the attribute ID category

Returns:
true if it containts, false otherwise

getIdStyle

public int getIdStyle()
Returns the IdStyle

Returns:
The IdStyle

setIdStyle

public void setIdStyle(int nIdStyle)
Sets the IdStyle

Parameters:
nIdStyle - The IdStyle

containsIdStyle

public boolean containsIdStyle()
Check if the filter contains the attribute ID style

Returns:
true if it containts, false otherwise

getWidgetType

public java.lang.String getWidgetType()
Returns the WidgetType

Returns:
The WidgetType

setWidgetType

public void setWidgetType(java.lang.String strWidgetType)
Sets the WidgetType

Parameters:
strWidgetType - The WidgetType

containsWidgetType

public boolean containsWidgetType()
Check if the filter contains the attribute Widget Type

Returns:
true if it containts, false otherwise

setStatus

public void setStatus(int nStatus)
Set the status of the widget

Parameters:
nStatus - the status

getStatus

public int getStatus()
Get the status of the widget

Returns:
the status of the widget

containsStatus

public boolean containsStatus()
Check if the filter contains the attribute Name

Returns:
true if it containts, false otherwise

setIsEssential

public void setIsEssential(int nIsEssential)
Set the widget as essential

Parameters:
nIsEssential - true if it is essential, false otherwise

getIsEssential

public int getIsEssential()
Check if the widget is essential

Returns:
true if it is essential, false otherwise

containsIsEssential

public boolean containsIsEssential()
Check if the filter contains the attribute essential

Returns:
true if it contains, false otherwise

setIsNew

public void setIsNew(int nIsNew)
Set the widget as new

Parameters:
nIsNew - true if it is new, false otherwise

getIsNew

public int getIsNew()
Check if the widget is new

Returns:
true if it is new, false otherwise

containsIsNew

public boolean containsIsNew()
Check if the filter contains the attribute new

Returns:
true if it contains, false otherwise


Copyright © 2012 Mairie de Paris. All Rights Reserved.