Class WoofResourcesRepositoryImpl
- java.lang.Object
-
- net.officefloor.woof.model.resources.WoofResourcesRepositoryImpl
-
- All Implemented Interfaces:
WoofResourcesRepository
public class WoofResourcesRepositoryImpl extends java.lang.Object implements WoofResourcesRepository
WoofResourcesRepository
implementation.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description WoofResourcesRepositoryImpl(ModelRepository modelRepository)
Initiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
retrieveWoofResources(WoofResourcesModel resources, ConfigurationItem configuration)
Retrieves theWoofResourcesModel
from theConfigurationItem
.void
storeWoofResources(WoofResourcesModel resources, WritableConfigurationItem configuration)
Stores theWoofResourcesModel
within theWritableConfigurationItem
.
-
-
-
Constructor Detail
-
WoofResourcesRepositoryImpl
public WoofResourcesRepositoryImpl(ModelRepository modelRepository)
Initiate.- Parameters:
modelRepository
-ModelRepository
.
-
-
Method Detail
-
retrieveWoofResources
public void retrieveWoofResources(WoofResourcesModel resources, ConfigurationItem configuration) throws java.lang.Exception
Description copied from interface:WoofResourcesRepository
Retrieves theWoofResourcesModel
from theConfigurationItem
.- Specified by:
retrieveWoofResources
in interfaceWoofResourcesRepository
- Parameters:
resources
-WoofResourcesModel
.configuration
-ConfigurationItem
.- Throws:
java.lang.Exception
- If fails to retrieve theWoofResourcesModel
.
-
storeWoofResources
public void storeWoofResources(WoofResourcesModel resources, WritableConfigurationItem configuration) throws java.lang.Exception
Description copied from interface:WoofResourcesRepository
Stores theWoofResourcesModel
within theWritableConfigurationItem
.- Specified by:
storeWoofResources
in interfaceWoofResourcesRepository
- Parameters:
resources
-WoofResourcesModel
.configuration
-WritableConfigurationItem
.- Throws:
java.lang.Exception
- If fails to store theWoofResourcesModel
.
-
-