Class EntryUrlService

  • All Implemented Interfaces:
    fr.paris.lutece.portal.service.image.ImageResourceProvider

    public class EntryUrlService
    extends java.lang.Object
    implements fr.paris.lutece.portal.service.image.ImageResourceProvider
    Service for Url entry types. Provide ImageResource managemenent
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      fr.paris.lutece.portal.service.image.ImageResource getImageResource​(int nIdResource)
      Return the Resource id
      static EntryUrlService getInstance()
      Get the unique instance of the service
      static java.lang.String getResourceImageEntryUrl​(int nEntryUrl)
      Management of the image associated to the EntryUrl
      java.lang.String getResourceTypeId()
      Return the Resource Type id
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface fr.paris.lutece.portal.service.image.ImageResourceProvider

        addImageResource
    • Method Detail

      • getInstance

        public static EntryUrlService getInstance()
        Get the unique instance of the service
        Returns:
        The unique instance
      • getImageResource

        public fr.paris.lutece.portal.service.image.ImageResource getImageResource​(int nIdResource)
        Return the Resource id
        Specified by:
        getImageResource in interface fr.paris.lutece.portal.service.image.ImageResourceProvider
        Parameters:
        nIdResource - The resource identifier
        Returns:
        The Resource Image
      • getResourceTypeId

        public java.lang.String getResourceTypeId()
        Return the Resource Type id
        Specified by:
        getResourceTypeId in interface fr.paris.lutece.portal.service.image.ImageResourceProvider
        Returns:
        The Resource Type Id
      • getResourceImageEntryUrl

        public static java.lang.String getResourceImageEntryUrl​(int nEntryUrl)
        Management of the image associated to the EntryUrl
        Parameters:
        nEntryUrl - The EntryUrl identifier
        Returns:
        The url of the resource