fr.paris.lutece.plugins.calendar.service
Class EventImageResourceService

java.lang.Object
  extended by fr.paris.lutece.plugins.calendar.service.EventImageResourceService
All Implemented Interfaces:
fr.paris.lutece.portal.service.image.ImageResourceProvider

public class EventImageResourceService
extends Object
implements fr.paris.lutece.portal.service.image.ImageResourceProvider

EventImageResourceService


Method Summary
 fr.paris.lutece.portal.service.image.ImageResource getImageResource(int nIdEvent)
          Get the resource for image
static EventImageResourceService getInstance()
          Get the unique instance of the service
 String getResourceImageEvent(int nEventId)
          Management of the image associated to the event
 String getResourceTypeId()
          Get the type of resource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

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

Returns:
The unique instance

getImageResource

public fr.paris.lutece.portal.service.image.ImageResource getImageResource(int nIdEvent)
Get the resource for image

Specified by:
getImageResource in interface fr.paris.lutece.portal.service.image.ImageResourceProvider
Parameters:
nIdEvent - The identifier of event object
Returns:
The ImageResource

getResourceTypeId

public String getResourceTypeId()
Get the type of resource

Specified by:
getResourceTypeId in interface fr.paris.lutece.portal.service.image.ImageResourceProvider
Returns:
The type of resource

getResourceImageEvent

public String getResourceImageEvent(int nEventId)
Management of the image associated to the event

Parameters:
nEventId - The event identifier
Returns:
The url of the resource


Copyright © 2014 Mairie de Paris. All Rights Reserved.