@Transactional public class NoteServiceImpl extends Object implements NoteService
| Constructor and Description |
|---|
NoteServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Note |
createNote(Note noteToCopy,
PersistableBusinessObject bo,
String authorPrincipalId)
TODO this method seems awfully out of place in this service
|
void |
deleteNote(Note note)
Deletes the specified note.
|
protected AttachmentService |
getAttachmentService() |
List<Note> |
getByRemoteObjectId(String remoteObjectId)
Retrieves a list of notes that are associated with the given object id.
|
Note |
getNoteByNoteId(Long noteId)
Retrieves the note with the given id.
|
protected NoteDao |
getNoteDao()
Retrieves a data access object
|
Note |
save(Note note)
Saves the specified note.
|
void |
saveNoteList(List<Note> notes)
Saves the given lists of notes.
|
void |
setAttachmentService(AttachmentService attachmentService) |
void |
setNoteDao(NoteDao d)
Sets the data access object
|
public NoteServiceImpl()
public void saveNoteList(List<Note> notes)
NoteServicesaveNoteList in interface NoteServicenotes - the list of notes to saveorg.kuali.rice.krad.service.NoteService#saveNoteValueList(java.util.List)public Note save(Note note)
NoteServicesave in interface NoteServicenote - the note to saveNoteService.save(org.kuali.rice.krad.bo.Note)public List<Note> getByRemoteObjectId(String remoteObjectId)
NoteServicePersistableBusinessObject
that the note was attached to when it was created.getByRemoteObjectId in interface NoteServiceremoteObjectId - the object id that the notes being searched for are associated withNoteService.getByRemoteObjectId(java.lang.String)public Note getNoteByNoteId(Long noteId)
NoteServicegetNoteByNoteId in interface NoteServicenoteId - the note id to search byNoteService.getNoteByNoteId(java.lang.Long)public void deleteNote(Note note)
NoteServicedeleteNote in interface NoteServicenote - the note to deleteNoteService.deleteNote(org.kuali.rice.krad.bo.Note)public Note createNote(Note noteToCopy, PersistableBusinessObject bo, String authorPrincipalId)
createNote in interface NoteServicenoteToCopy - the note to copybo - the business object to associate the Note withorg.kuali.rice.krad.service.NoteService#createNote(org.kuali.rice.krad.bo.Note, org.kuali.rice.krad.bo.PersistableBusinessObject)public void setNoteDao(NoteDao d)
d - protected NoteDao getNoteDao()
public void setAttachmentService(AttachmentService attachmentService)
protected AttachmentService getAttachmentService()
Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.