@Transactional public class NoteServiceImpl extends Object implements NoteService
| Modifier and Type | Field and Description |
|---|---|
protected AttachmentService |
attachmentService |
protected DataObjectService |
dataObjectService |
| Constructor and Description |
|---|
NoteServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Note |
createNote(Note noteToCopy,
GloballyUnique 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.
|
Note |
save(Note note)
Saves the specified note.
|
void |
saveNoteList(List<Note> notes)
Saves the given lists of notes.
|
void |
setAttachmentService(AttachmentService attachmentService) |
void |
setDataObjectService(DataObjectService dataObjectService) |
protected AttachmentService attachmentService
protected DataObjectService dataObjectService
public NoteServiceImpl()
public void saveNoteList(List<Note> notes)
NoteServicesaveNoteList in interface NoteServicenotes - the list of notes to savepublic 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, GloballyUnique bo, String authorPrincipalId)
createNote in interface NoteServicenoteToCopy - the note to copybo - the business object to associate the Note withpublic void setAttachmentService(AttachmentService attachmentService)
protected AttachmentService getAttachmentService()
public void setDataObjectService(DataObjectService dataObjectService)
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.