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