Class SubscriptionDTO


  • public class SubscriptionDTO
    extends Object
    DTO to display subscription to users
    • Constructor Detail

      • SubscriptionDTO

        public SubscriptionDTO()
    • 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