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