Class FileIconeService
java.lang.Object
fr.paris.lutece.plugins.workflow.service.FileIconeService
- All Implemented Interfaces:
fr.paris.lutece.portal.service.image.ImageResourceProvider
public final class FileIconeService
extends Object
implements fr.paris.lutece.portal.service.image.ImageResourceProvider
Service for Url entry types. Provide ImageResource management
-
Method Summary
Modifier and TypeMethodDescriptionfr.paris.lutece.portal.service.image.ImageResourcegetImageResource(int nIdResource) static FileIconeServiceGet the unique instance of the servicestatic StringgetResourceImageEntryUrl(int nEntryUrl) Management of the image associated to the entryvoidregister()Initializes the serviceMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface fr.paris.lutece.portal.service.image.ImageResourceProvider
addImageResource
-
Method Details
-
register
public void register()Initializes the service -
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:
getImageResourcein interfacefr.paris.lutece.portal.service.image.ImageResourceProvider
-
getResourceTypeId
- Specified by:
getResourceTypeIdin interfacefr.paris.lutece.portal.service.image.ImageResourceProvider
-
getResourceImageEntryUrl
Management of the image associated to the entry- Parameters:
nEntryUrl- The identifier- Returns:
- The url of the resource
-