Class SectionRepositoryImpl
- java.lang.Object
-
- net.officefloor.model.impl.section.SectionRepositoryImpl
-
- All Implemented Interfaces:
SectionRepository
public class SectionRepositoryImpl extends java.lang.Object implements SectionRepository
SectionRepository
implementation.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description SectionRepositoryImpl(ModelRepository modelRepository)
Initiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
retrieveSection(SectionModel section, ConfigurationItem configuration)
Retrieves theSectionModel
from theConfigurationItem
.void
storeSection(SectionModel section, WritableConfigurationItem configuration)
Stores theSectionModel
into theConfigurationItem
.
-
-
-
Constructor Detail
-
SectionRepositoryImpl
public SectionRepositoryImpl(ModelRepository modelRepository)
Initiate.- Parameters:
modelRepository
-ModelRepository
.
-
-
Method Detail
-
retrieveSection
public void retrieveSection(SectionModel section, ConfigurationItem configuration) throws java.lang.Exception
Description copied from interface:SectionRepository
Retrieves theSectionModel
from theConfigurationItem
.- Specified by:
retrieveSection
in interfaceSectionRepository
- Parameters:
section
-SectionModel
.configuration
-ConfigurationItem
containing theSectionModel
.- Throws:
java.lang.Exception
- If fails to retrieve theSectionModel
.
-
storeSection
public void storeSection(SectionModel section, WritableConfigurationItem configuration) throws java.lang.Exception
Description copied from interface:SectionRepository
Stores theSectionModel
into theConfigurationItem
.- Specified by:
storeSection
in interfaceSectionRepository
- Parameters:
section
-SectionModel
.configuration
-WritableConfigurationItem
to contain theSectionModel
.- Throws:
java.lang.Exception
- If fails to store theSectionModel
.
-
-