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

java.lang.Object
  extended by fr.paris.lutece.plugins.myportal.business.Widget
All Implemented Interfaces:
java.io.Serializable

public class Widget
extends java.lang.Object
implements java.io.Serializable

This is the business class for the object Widget

See Also:
Serialized Form

Constructor Summary
Widget()
           
 
Method Summary
 java.lang.String getCategory()
          Returns the Category
 java.lang.String getConfigData()
          Returns the ConfigData
 java.lang.String getCssClass()
          Returns the CssClass
 java.lang.String getDescription()
          Returns the Description
 int getIdCategory()
          Returns the IdCategory
 int getIdIcon()
          Returns the IdIcon
 int getIdStyle()
          Returns the IdStyle
 int getIdWidget()
          Returns the IdWidget
 boolean getIsEssential()
          Check if the widget is essential
 boolean getIsNew()
          Check if the widget is new
 java.lang.String getName()
          Returns the Name
 int getStatus()
          Get the status of the widget
 java.lang.String getStyle()
          Returns the Style
 java.lang.String getWidgetType()
          Returns the WidgetType
 void setCategory(java.lang.String strCategory)
          Sets the Category
 void setConfigData(java.lang.String strConfigData)
          Sets the ConfigData
 void setCssClass(java.lang.String strCssClass)
          Sets the CssClass
 void setDescription(java.lang.String strDescription)
          Sets the Description
 void setIdCategory(int nIdCategory)
          Sets the IdCategory
 void setIdIcon(int nIdIcon)
          Sets the IdIcon
 void setIdStyle(int nIdStyle)
          Sets the IdStyle
 void setIdWidget(int nIdWidget)
          Sets the IdWidget
 void setIsEssential(boolean bIsEssential)
          Set the widget as essential
 void setIsNew(boolean bIsNew)
          Set the widget as new
 void setName(java.lang.String strName)
          Sets the Name
 void setStatus(int nStatus)
          Set the status of the widget
 void setStyle(java.lang.String strStyle)
          Sets the Style
 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
 

Constructor Detail

Widget

public Widget()
Method Detail

getIdWidget

public int getIdWidget()
Returns the IdWidget

Returns:
The IdWidget

setIdWidget

public void setIdWidget(int nIdWidget)
Sets the IdWidget

Parameters:
nIdWidget - The IdWidget

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

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

getIdCategory

public int getIdCategory()
Returns the IdCategory

Returns:
The IdCategory

setIdCategory

public void setIdCategory(int nIdCategory)
Sets the IdCategory

Parameters:
nIdCategory - The IdCategory

getCategory

public java.lang.String getCategory()
Returns the Category

Returns:
The Category

setCategory

public void setCategory(java.lang.String strCategory)
Sets the Category

Parameters:
strCategory - The Category

getIdIcon

public int getIdIcon()
Returns the IdIcon

Returns:
The IdIcon

setIdIcon

public void setIdIcon(int nIdIcon)
Sets the IdIcon

Parameters:
nIdIcon - The IdIcon

getIdStyle

public int getIdStyle()
Returns the IdStyle

Returns:
The IdStyle

setIdStyle

public void setIdStyle(int nIdStyle)
Sets the IdStyle

Parameters:
nIdStyle - The IdStyle

getStyle

public java.lang.String getStyle()
Returns the Style

Returns:
The Style

setStyle

public void setStyle(java.lang.String strStyle)
Sets the Style

Parameters:
strStyle - The Style

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

getConfigData

public java.lang.String getConfigData()
Returns the ConfigData

Returns:
The ConfigData

setConfigData

public void setConfigData(java.lang.String strConfigData)
Sets the ConfigData

Parameters:
strConfigData - The ConfigData

getCssClass

public java.lang.String getCssClass()
Returns the CssClass

Returns:
The CssClass

setCssClass

public void setCssClass(java.lang.String strCssClass)
Sets the CssClass

Parameters:
strCssClass - The CssClass

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

setIsEssential

public void setIsEssential(boolean bIsEssential)
Set the widget as essential

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

getIsEssential

public boolean getIsEssential()
Check if the widget is essential

Returns:
true if it is essential, false otherwise

setIsNew

public void setIsNew(boolean bIsNew)
Set the widget as new

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

getIsNew

public boolean getIsNew()
Check if the widget is new

Returns:
true if it is new, false otherwise


Copyright © 2012 Mairie de Paris. All Rights Reserved.