public class FileImgService extends Object implements fr.paris.lutece.portal.service.image.ImageResourceProvider
Modifier and Type | Method and Description |
---|---|
fr.paris.lutece.portal.service.image.ImageResource |
getImageResource(int nIdResource)
Return the Resource id
|
static FileImgService |
getInstance()
Get the unique instance of the service
|
static String |
getResourceImageEntryUrlWhitoutEntities(int nEntryUrl)
Management of the image associated to the
EntryTypeUrl |
String |
getResourceTypeId()
Return the Resource Type id
|
void |
register()
Initializes the service
|
public void register()
public static FileImgService getInstance()
public fr.paris.lutece.portal.service.image.ImageResource getImageResource(int nIdResource)
getImageResource
in interface fr.paris.lutece.portal.service.image.ImageResourceProvider
nIdResource
- The resource identifierpublic String getResourceTypeId()
getResourceTypeId
in interface fr.paris.lutece.portal.service.image.ImageResourceProvider
public static String getResourceImageEntryUrlWhitoutEntities(int nEntryUrl)
EntryTypeUrl
nEntryUrl
- The EntryTypeUrl
identifierCopyright © 2020 City of Paris. All rights reserved.