com.elasticpath.service.misc
Interface PropertyService

All Superinterfaces:
EpService
All Known Implementing Classes:
PropertyServiceImpl

public interface PropertyService
extends EpService

This service provides access to domain objects containing property (file) information, such as country information.


Method Summary
 java.lang.String[] getCategoryTemplates()
          Get a array of templates for categoryTypes.
 java.lang.String[] getProductTemplates()
          Get a array of templates for productTypes.
 java.util.Map getPropertiesMap()
          Returns a properties map where the keys are properties file names and the values are Properties objects.
 void setPropertiesDao(PropertiesDao propertiesDao)
          Set the DAO used to load properties.
 
Methods inherited from interface com.elasticpath.service.EpService
getElasticPath, setElasticPath
 

Method Detail

getCategoryTemplates

java.lang.String[] getCategoryTemplates()
Get a array of templates for categoryTypes.

Returns:
array of category templates on the file system.

getProductTemplates

java.lang.String[] getProductTemplates()
Get a array of templates for productTypes.

Returns:
array of product templates on the file system.

getPropertiesMap

java.util.Map getPropertiesMap()
Returns a properties map where the keys are properties file names and the values are Properties objects.

Returns:
the Map of properties file names to Properties objects

setPropertiesDao

void setPropertiesDao(PropertiesDao propertiesDao)
Set the DAO used to load properties.

Parameters:
propertiesDao - the properties DAO used to retrieve country information.