Class EntryUrl

  • All Implemented Interfaces:
    IEntry, Cloneable

    public class EntryUrl
    extends Entry
    The class Entry Text
    • Constructor Detail

      • EntryUrl

        public EntryUrl()
    • Method Detail

      • setDescription

        public void setDescription​(String strDescription)
        Parameters:
        strDescription - the _strDescription to set
      • getDescription

        public String getDescription()
        Returns:
        the _strDescription
      • getUrl

        public String getUrl()
        Returns:
        the url
      • setUrl

        public void setUrl​(String strUrl)
        Parameters:
        strUrl - the url to set
      • getImage

        public byte[] getImage()
        Returns:
        the image
      • setImage

        public void setImage​(byte[] image)
        Parameters:
        image - the image to set
      • getImageMimeType

        public String getImageMimeType()
        Returns:
        the imageMimeType
      • setImageMimeType

        public void setImageMimeType​(String strImageMimeType)
        Parameters:
        strImageMimeType - the imageMimeType to set
      • getEntryUrlDisplayProperties

        public EntryUrlDisplayProperties getEntryUrlDisplayProperties()
        Returns:
        the entryUrlDisplayProperties
      • setEntryUrlDisplayProperties

        public void setEntryUrlDisplayProperties​(EntryUrlDisplayProperties entryUrlDisplayProperties)
        Parameters:
        entryUrlDisplayProperties - the entryUrlDisplayProperties to set
      • getEntryUrlLinkProperties

        public EntryUrlLinkProperties getEntryUrlLinkProperties()
        Returns:
        the entryUrlLinkProperties
      • setEntryUrlLinkProperties

        public void setEntryUrlLinkProperties​(EntryUrlLinkProperties entryUrlLinkProperties)
        Parameters:
        entryUrlLinkProperties - the entryUrlLinkProperties to set
      • getHtml

        public String getHtml​(fr.paris.lutece.portal.service.plugin.Plugin plugin,
                              Locale locale)
        Description copied from interface: IEntry
        Get the HTML code of the entry
        Specified by:
        getHtml in interface IEntry
        Overrides:
        getHtml in class Entry
        Parameters:
        plugin - The Plugin
        locale - The Locale
        Returns:
        HTML code of the entry
      • setTitle

        public void setTitle​(String strTitle)
        Specified by:
        setTitle in interface IEntry
        Overrides:
        setTitle in class Entry
        Parameters:
        strTitle - the strTitle to set
      • getTarget

        public String getTarget()
        Get the target
        Returns:
        The target
      • setTarget

        public void setTarget​(String strTarget)
        Set the target
        Parameters:
        strTarget - the target to set
      • setSpecificParameters

        public String setSpecificParameters​(javax.servlet.http.HttpServletRequest request)
        Description copied from class: Entry
        Set the specific parameters for the entry
        Specified by:
        setSpecificParameters in interface IEntry
        Overrides:
        setSpecificParameters in class Entry
        Parameters:
        request - the HttpServletRequest
        Returns:
        The i18n message if error occurs, null else
      • getSpecificParameters

        public void getSpecificParameters​(javax.servlet.http.HttpServletRequest request,
                                          Map<String,​Object> model,
                                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Description copied from class: Entry
        Get the specific parameters for the entry
        Specified by:
        getSpecificParameters in interface IEntry
        Overrides:
        getSpecificParameters in class Entry
        Parameters:
        request - the HttpServletRequest
        model - The HashMap model
        plugin - The Plugin
      • getImageResource

        public fr.paris.lutece.portal.service.image.ImageResource getImageResource()
        Get the image resource for the entry url
        Returns:
        The ImageResource object
      • getImageUrl

        public String getImageUrl()
        Get the image Url
        Returns:
        The image Url
      • createSpecificParameters

        public void createSpecificParameters​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Description copied from class: Entry
        Create the specific parameters
        Specified by:
        createSpecificParameters in interface IEntry
        Overrides:
        createSpecificParameters in class Entry
        Parameters:
        plugin - The Plugin
      • loadSpecificParameters

        public void loadSpecificParameters​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Description copied from class: Entry
        Load the specific parameters
        Specified by:
        loadSpecificParameters in interface IEntry
        Overrides:
        loadSpecificParameters in class Entry
        Parameters:
        plugin - The Plugin
      • removeSpecificParameters

        public void removeSpecificParameters​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Description copied from class: Entry
        Remove the specific parameters
        Specified by:
        removeSpecificParameters in interface IEntry
        Overrides:
        removeSpecificParameters in class Entry
        Parameters:
        plugin - The Plugin
      • updateSpecificParameters

        public void updateSpecificParameters​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Description copied from class: Entry
        Update the specific parameters
        Specified by:
        updateSpecificParameters in interface IEntry
        Overrides:
        updateSpecificParameters in class Entry
        Parameters:
        plugin - The Plugin