Class FileIconeService

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

    public final class FileIconeService
    extends java.lang.Object
    implements fr.paris.lutece.portal.service.image.ImageResourceProvider
    Service for Url entry types. Provide ImageResource management
    • 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)
      static FileIconeService getInstance()
      Get the unique instance of the service
      static java.lang.String getResourceImageEntryUrl​(int nEntryUrl)
      Management of the image associated to the entry
      java.lang.String getResourceTypeId()
      void register()
      Initializes the service
      • 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

      • register

        public void register()
        Initializes the service
      • getInstance

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

        public fr.paris.lutece.portal.service.image.ImageResource getImageResource​(int nIdResource)
        Specified by:
        getImageResource in interface fr.paris.lutece.portal.service.image.ImageResourceProvider
      • getResourceTypeId

        public java.lang.String getResourceTypeId()
        Specified by:
        getResourceTypeId in interface fr.paris.lutece.portal.service.image.ImageResourceProvider
      • getResourceImageEntryUrl

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