Class Favorite
java.lang.Object
fr.paris.lutece.plugins.mydashboard.modules.favorites.business.Favorite
- All Implemented Interfaces:
Serializable
This is the business class for the object Favorite
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetId()Returns the IdbooleanReturns the IsActivatedbooleanReturn the default booleangetLabel()Returns the LabelintgetOrder()Returns the Provider NameReturns the remote Id of the favoritegetUrl()Returns the UrlvoidsetCategoryCode(String strCategoryCode) voidsetDescription(String strDescription) voidsetId(int nId) Sets the IdvoidsetIsActivated(boolean bIsActivated) Sets the IsActivatedvoidsetIsDefault(boolean bIsDefault) Set the default booleanvoidSets the LabelvoidsetOrder(int nOrder) voidsetPictogramme(String strPictogramme) voidsetProviderName(String strProviderName) Sets the Provider NamevoidsetRemoteId(String strRemoteId) Set the remote Id of the favoritevoidSets the Url
-
Constructor Details
-
Favorite
public Favorite()
-
-
Method Details
-
getId
public int getId()Returns the Id- Returns:
- The Id
-
setId
public void setId(int nId) Sets the Id- Parameters:
nId- The Id
-
getLabel
Returns the Label- Returns:
- The Label
-
setLabel
Sets the Label- Parameters:
strLabel- The Label
-
getUrl
Returns the Url- Returns:
- The Url
-
setUrl
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
Returns the Provider Name- Returns:
- The Provider Name
-
setProviderName
Sets the Provider Name- Parameters:
strProviderName- The ProviderName
-
getRemoteId
Returns the remote Id of the favorite- Returns:
- The Remote Id of the favorite
-
setRemoteId
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
- Returns:
- the _strDescription
-
setDescription
- Parameters:
strDescription- the _strDescription to set
-
getPictogramme
- Returns:
- the _strPictogramme
-
setPictogramme
- Parameters:
strPictogramme- the _strPictogramme to set
-
getCategoryCode
- Returns:
- the _strCategoryCode
-
setCategoryCode
- Parameters:
strPictogramme- the _strCategoryCode to set
-