Package org.ametys.web.repository
Class PageGeneratorHelper
- java.lang.Object
 - 
- org.ametys.web.repository.PageGeneratorHelper
 
 
- 
public final class PageGeneratorHelper extends Object
Helper for page generator 
- 
- 
Constructor Summary
Constructors Modifier Constructor Description privatePageGeneratorHelper() 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static Map<String,Object>_getParameters(Map<String,ModelItem> definitions, ModelAwareDataHolder dataHolder)Recursive method to retrieve parameter valuesstatic Map<String,Object>getParameters(Service service, ZoneItem zoneItem)Retrieve the parameter values of the given service 
 - 
 
- 
- 
Constructor Detail
- 
PageGeneratorHelper
private PageGeneratorHelper()
 
 - 
 
- 
Method Detail
- 
getParameters
public static Map<String,Object> getParameters(Service service, ZoneItem zoneItem) throws AmetysRepositoryException
Retrieve the parameter values of the given service- Parameters:
 service- the service's modelzoneItem- the zone item containing the service's instance- Returns:
 - the service's parameter values indexed by their name
 - Throws:
 AmetysRepositoryException- - to remove
 
- 
_getParameters
private static Map<String,Object> _getParameters(Map<String,ModelItem> definitions, ModelAwareDataHolder dataHolder)
Recursive method to retrieve parameter values- Parameters:
 definitions- definitions of the parameters to retrieve, indexed by their namedataHolder- data holder containing the parameter values- Returns:
 - the parameter values indexed by their name
 
 
 - 
 
 -