Class SectionRepositoryImpl
- java.lang.Object
-
- net.officefloor.model.impl.section.SectionRepositoryImpl
-
- All Implemented Interfaces:
SectionRepository
public class SectionRepositoryImpl extends java.lang.Object implements SectionRepository
SectionRepositoryimplementation.- 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 voidretrieveSection(SectionModel section, ConfigurationItem configuration)Retrieves theSectionModelfrom theConfigurationItem.voidstoreSection(SectionModel section, WritableConfigurationItem configuration)Stores theSectionModelinto 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:SectionRepositoryRetrieves theSectionModelfrom theConfigurationItem.- Specified by:
retrieveSectionin interfaceSectionRepository- Parameters:
section-SectionModel.configuration-ConfigurationItemcontaining 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:SectionRepositoryStores theSectionModelinto theConfigurationItem.- Specified by:
storeSectionin interfaceSectionRepository- Parameters:
section-SectionModel.configuration-WritableConfigurationItemto contain theSectionModel.- Throws:
java.lang.Exception- If fails to store theSectionModel.
-
-