Class Favorite
- java.lang.Object
-
- fr.paris.lutece.plugins.mydashboard.modules.favorites.business.Favorite
-
- All Implemented Interfaces:
java.io.Serializable
public class Favorite extends java.lang.Object implements java.io.SerializableThis 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 java.lang.StringgetCategoryCode()java.lang.StringgetDescription()intgetId()Returns the IdbooleangetIsActivated()Returns the IsActivatedbooleangetIsDefault()Return the default booleanjava.lang.StringgetLabel()Returns the LabelintgetOrder()java.lang.StringgetPictogramme()java.lang.StringgetProviderName()Returns the Provider Namejava.lang.StringgetRemoteId()Returns the remote Id of the favoritejava.lang.StringgetUrl()Returns the UrlvoidsetCategoryCode(java.lang.String strCategoryCode)voidsetDescription(java.lang.String strDescription)voidsetId(int nId)Sets the IdvoidsetIsActivated(boolean bIsActivated)Sets the IsActivatedvoidsetIsDefault(boolean bIsDefault)Set the default booleanvoidsetLabel(java.lang.String strLabel)Sets the LabelvoidsetOrder(int nOrder)voidsetPictogramme(java.lang.String strPictogramme)voidsetProviderName(java.lang.String strProviderName)Sets the Provider NamevoidsetRemoteId(java.lang.String strRemoteId)Set the remote Id of the favoritevoidsetUrl(java.lang.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 java.lang.String getLabel()
Returns the Label- Returns:
- The Label
-
setLabel
public void setLabel(java.lang.String strLabel)
Sets the Label- Parameters:
strLabel- The Label
-
getUrl
public java.lang.String getUrl()
Returns the Url- Returns:
- The Url
-
setUrl
public void setUrl(java.lang.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 java.lang.String getProviderName()
Returns the Provider Name- Returns:
- The Provider Name
-
setProviderName
public void setProviderName(java.lang.String strProviderName)
Sets the Provider Name- Parameters:
strProviderName- The ProviderName
-
getRemoteId
public java.lang.String getRemoteId()
Returns the remote Id of the favorite- Returns:
- The Remote Id of the favorite
-
setRemoteId
public void setRemoteId(java.lang.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 java.lang.String getDescription()
- Returns:
- the _strDescription
-
setDescription
public void setDescription(java.lang.String strDescription)
- Parameters:
strDescription- the _strDescription to set
-
getPictogramme
public java.lang.String getPictogramme()
- Returns:
- the _strPictogramme
-
setPictogramme
public void setPictogramme(java.lang.String strPictogramme)
- Parameters:
strPictogramme- the _strPictogramme to set
-
getCategoryCode
public java.lang.String getCategoryCode()
- Returns:
- the _strCategoryCode
-
setCategoryCode
public void setCategoryCode(java.lang.String strCategoryCode)
- Parameters:
strPictogramme- the _strCategoryCode to set
-
-