fr.paris.lutece.portal.service.fileimage
Class FileImageService

java.lang.Object
  extended by fr.paris.lutece.portal.service.fileimage.FileImageService
All Implemented Interfaces:
ImageResourceProvider

public final class FileImageService
extends Object
implements ImageResourceProvider

Service for Url entry types. Provide ImageResource managemenent


Method Summary
 ImageResource getImageResource(int nIdResource)
          Return the Resource id
static FileImageService getInstance()
          Get the unique instance of the service
 String getResourceTypeId()
          Return the Resource Type id
static void init()
          Init
 void register()
          Initializes the service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

init

public static void init()
                 throws LuteceInitException
Init

Throws:
LuteceInitException - if an error occurs

register

public void register()
Initializes the service


getInstance

public static FileImageService getInstance()
Get the unique instance of the service

Returns:
The unique instance

getImageResource

public ImageResource getImageResource(int nIdResource)
Return the Resource id

Specified by:
getImageResource in interface ImageResourceProvider
Parameters:
nIdResource - The resource identifier
Returns:
The Resource Image

getResourceTypeId

public String getResourceTypeId()
Return the Resource Type id

Specified by:
getResourceTypeId in interface ImageResourceProvider
Returns:
The Resource Type Id


Copyright © 2014 Mairie de Paris. All Rights Reserved.