public class ResourceExtenderServiceFacade extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T extends IExtendableResourceResult> |
addExtenderType(ExtenderType<T> extenderType)
Appends the extenderType element to the end of this list
|
static <T extends IExtendableResourceResult> |
getExtenderType(Class<T> clazz)
Get Optional
|
static <T extends IExtendableResourceResult> |
getInfoExtender(String extenderType,
String strIdExtendableResource,
String strExtendableResourceType)
Get list extenderType information object (example: List
|
<T extends IExtendableResourceResult> |
getInfoExtenderByList(String extenderType,
List<String> listIdExtendableResource,
String strExtendableResourceType)
Get list extenderType information object (example: List
|
static String |
getInfoForExport(String extenderType,
String strIdExtendableResource,
String strExtendableResourceType)
Get the information value associate to the extenderType to export in the file export
|
static String |
getInfoForRecap(String extenderType,
String strIdExtendableResource,
String strExtendableResourceType)
Get the information value associate to the extenderType to write in the recap
|
static List<ExtenderType<? extends IExtendableResourceResult>> |
getListExtenderType() |
public static String getInfoForExport(String extenderType, String strIdExtendableResource, String strExtendableResourceType) throws InfoExtenderException
extenderType - the extender type ( example: hit, rating ....)strIdExtendableResource - the idExtendableResourcestrExtendableResourceType - the extendableResourceTypeInfoExtenderException - the InfoExtenderExceptionpublic static String getInfoForRecap(String extenderType, String strIdExtendableResource, String strExtendableResourceType) throws InfoExtenderException
extenderType - the extender type (example: hit, rating ....)strIdExtendableResource - the idExtendableResourcestrExtendableResourceType - the extendableResourceTypeInfoExtenderException - the InfoExtenderExceptionpublic static <T extends IExtendableResourceResult> List<T> getInfoExtender(String extenderType, String strIdExtendableResource, String strExtendableResourceType) throws InfoExtenderException
extenderType - the extender type (example: hit, rating ....)strIdExtendableResource - the idExtendableResourcestrExtendableResourceType - the extendableResourceTypeT - the extenderType information object (example: Hit)InfoExtenderException - the InfoExtenderExceptionpublic <T extends IExtendableResourceResult> List<T> getInfoExtenderByList(String extenderType, List<String> listIdExtendableResource, String strExtendableResourceType) throws InfoExtenderException
extenderType - the extender type (example: hit, rating ....)listIdExtendableResource - the list of IdExtendableResourcestrExtendableResourceType - the extendableResourceTypeT - the extenderType information object (example: Hit)InfoExtenderException - the InfoExtenderExceptionpublic static <T extends IExtendableResourceResult> Optional<ExtenderType<T>> getExtenderType(Class<T> clazz)
T - the type of extender type (example: Hit or Rating or......)clazz - the class type of extender type (example: Hit.class or Rating.class or....)T - the extenderType information object (example: Hit)ExtenderTypepublic static <T extends IExtendableResourceResult> boolean addExtenderType(ExtenderType<T> extenderType)
extenderType - the ExtenderType? - the extenderType information object (example: Hit)public static List<ExtenderType<? extends IExtendableResourceResult>> getListExtenderType()
? - the extender type information object (example: Hit)Copyright © 2023 City of Paris. All rights reserved.