Class SubscriptionDTO
- java.lang.Object
-
- fr.paris.lutece.plugins.subscribe.business.SubscriptionDTO
-
public class SubscriptionDTO extends Object
DTO to display subscription to users
-
-
Constructor Summary
Constructors Constructor Description SubscriptionDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetHtmlSubscription()Get the HTML description of the subscriptionintgetIdSubscription()Get the id of the subscription described by this DTObooleangetRemovable()Check if the subscription is removableStringgetUrlModify()Get the URL to modifyvoidsetHtmlSubscription(String strHtmlSubscription)Set the HTML description of the subscriptionvoidsetIdSubscription(int nIdSubscription)Set the id of the subscription described by this DTOvoidsetRemovable(boolean bRemovable)Set the subscription removablevoidsetUrlModify(String strUrlModify)Set the URL to modify
-
-
-
Method Detail
-
getIdSubscription
public int getIdSubscription()
Get the id of the subscription described by this DTO- Returns:
- The id of the subscription described by this DTO
-
setIdSubscription
public void setIdSubscription(int nIdSubscription)
Set the id of the subscription described by this DTO- Parameters:
nIdSubscription- The id of the subscription described by this DTO
-
getHtmlSubscription
public String getHtmlSubscription()
Get the HTML description of the subscription- Returns:
- The HTML description of the subscription
-
setHtmlSubscription
public void setHtmlSubscription(String strHtmlSubscription)
Set the HTML description of the subscription- Parameters:
strHtmlSubscription- The HTML description of the subscription
-
getRemovable
public boolean getRemovable()
Check if the subscription is removable- Returns:
- True if the subscription is removable, false otherwise
-
setRemovable
public void setRemovable(boolean bRemovable)
Set the subscription removable- Parameters:
bRemovable- True if the subscription is removable, false otherwise
-
getUrlModify
public String getUrlModify()
Get the URL to modify- Returns:
- The URL to modify the subscription
-
setUrlModify
public void setUrlModify(String strUrlModify)
Set the URL to modify- Parameters:
strUrlModify- The URL to modify the subscription
-
-