com.elasticpath.service.misc.impl
Class PropertyServiceImpl

java.lang.Object
  extended by com.elasticpath.service.impl.AbstractEpServiceImpl
      extended by com.elasticpath.service.misc.impl.PropertyServiceImpl
All Implemented Interfaces:
EpService, PropertyService

public class PropertyServiceImpl
extends AbstractEpServiceImpl
implements PropertyService

This service provides domain objects relating to system properties.


Constructor Summary
PropertyServiceImpl()
           
 
Method Summary
 java.lang.String[] getCategoryTemplates()
          Get array of catalog template names.
 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 class com.elasticpath.service.impl.AbstractEpServiceImpl
getElasticPath, setElasticPath
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.elasticpath.service.EpService
getElasticPath, setElasticPath
 

Constructor Detail

PropertyServiceImpl

public PropertyServiceImpl()
Method Detail

getCategoryTemplates

public java.lang.String[] getCategoryTemplates()
Get array of catalog template names.

Specified by:
getCategoryTemplates in interface PropertyService
Returns:
array of exisiting catalog template names on the filesystem.

getProductTemplates

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

Specified by:
getProductTemplates in interface PropertyService
Returns:
array of product templates on the file system.

getPropertiesMap

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

Specified by:
getPropertiesMap in interface PropertyService
Returns:
the Map of properties file names to Properties objects

setPropertiesDao

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

Specified by:
setPropertiesDao in interface PropertyService
Parameters:
propertiesDao - the DAO used to load properties.