Class Favorite
- java.lang.Object
-
- fr.paris.lutece.plugins.mydashboard.modules.favorites.business.Favorite
-
- All Implemented Interfaces:
Serializable
public class Favorite extends Object implements Serializable
This is the business class for the object Favorite- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Favorite()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCategoryCode()StringgetDescription()intgetId()Returns the IdbooleangetIsActivated()Returns the IsActivatedbooleangetIsDefault()Return the default booleanStringgetLabel()Returns the LabelintgetOrder()StringgetPictogramme()StringgetProviderName()Returns the Provider NameStringgetRemoteId()Returns the remote Id of the favoriteStringgetUrl()Returns the UrlvoidsetCategoryCode(String strCategoryCode)voidsetDescription(String strDescription)voidsetId(int nId)Sets the IdvoidsetIsActivated(boolean bIsActivated)Sets the IsActivatedvoidsetIsDefault(boolean bIsDefault)Set the default booleanvoidsetLabel(String strLabel)Sets the LabelvoidsetOrder(int nOrder)voidsetPictogramme(String strPictogramme)voidsetProviderName(String strProviderName)Sets the Provider NamevoidsetRemoteId(String strRemoteId)Set the remote Id of the favoritevoidsetUrl(String strUrl)Sets the Url
-
-
-
Method Detail
-
getId
public int getId()
Returns the Id- Returns:
- The Id
-
setId
public void setId(int nId)
Sets the Id- Parameters:
nId- The Id
-
getLabel
public String getLabel()
Returns the Label- Returns:
- The Label
-
setLabel
public void setLabel(String strLabel)
Sets the Label- Parameters:
strLabel- The Label
-
getUrl
public String getUrl()
Returns the Url- Returns:
- The Url
-
setUrl
public void setUrl(String strUrl)
Sets the Url- Parameters:
strUrl- The Url
-
getIsActivated
public boolean getIsActivated()
Returns the IsActivated- Returns:
- The IsActivated
-
setIsActivated
public void setIsActivated(boolean bIsActivated)
Sets the IsActivated- Parameters:
bIsActivated- The IsActivated
-
getProviderName
public String getProviderName()
Returns the Provider Name- Returns:
- The Provider Name
-
setProviderName
public void setProviderName(String strProviderName)
Sets the Provider Name- Parameters:
strProviderName- The ProviderName
-
getRemoteId
public String getRemoteId()
Returns the remote Id of the favorite- Returns:
- The Remote Id of the favorite
-
setRemoteId
public void setRemoteId(String strRemoteId)
Set the remote Id of the favorite- Parameters:
strRemoteId- the remote Id of the favorite
-
getIsDefault
public boolean getIsDefault()
Return the default boolean- Returns:
- true if default, false otherwise
-
setIsDefault
public void setIsDefault(boolean bIsDefault)
Set the default boolean- Parameters:
bIsDefault-
-
getOrder
public int getOrder()
- Returns:
- the _nOrder
-
setOrder
public void setOrder(int nOrder)
- Parameters:
nOrder- the _nOrder to set
-
getDescription
public String getDescription()
- Returns:
- the _strDescription
-
setDescription
public void setDescription(String strDescription)
- Parameters:
strDescription- the _strDescription to set
-
getPictogramme
public String getPictogramme()
- Returns:
- the _strPictogramme
-
setPictogramme
public void setPictogramme(String strPictogramme)
- Parameters:
strPictogramme- the _strPictogramme to set
-
getCategoryCode
public String getCategoryCode()
- Returns:
- the _strCategoryCode
-
setCategoryCode
public void setCategoryCode(String strCategoryCode)
- Parameters:
strPictogramme- the _strCategoryCode to set
-
-