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