Package com.skava.business.factoryimpl
Class NotesFactoryImpl
java.lang.Object
com.skava.business.factoryimpl.NotesFactoryImpl
- All Implemented Interfaces:
NotesFactory
This service class implements NotesFactory and handles the transformation of Notes Domain to Notes DTO objects.
- Author:
- Infosys Equinox
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateNotes
(NotesDomain notesDomain) This method converts theNotes
object fromNotesDomain
object.createNotesList
(List<NotesDomain> notes)
-
Constructor Details
-
NotesFactoryImpl
public NotesFactoryImpl()
-
-
Method Details
-
createNotes
This method converts theNotes
object fromNotesDomain
object.- Specified by:
createNotes
in interfaceNotesFactory
- Parameters:
notesDomain
- HoldsNotesDomain
object which is used to transferring notes domain to notes DTO object.- Returns:
- The
Notes
object.
-
createNotesList
- Specified by:
createNotesList
in interfaceNotesFactory
- Parameters:
notes
- Holds theList
ofNotesDomain
object which is used to convert notes domain list to Notes DTO object.- Returns:
- The
List
ofNotes
object.
-