|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.service.impl.NoteServiceImpl
@Transactional public class NoteServiceImpl
This class is the service implementation for the Note structure.
Constructor Summary | |
---|---|
NoteServiceImpl()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NoteServiceImpl()
Method Detail |
---|
public void saveNoteList(List<Note> notes)
NoteService
saveNoteList
in interface NoteService
notes
- the list of notes to saveorg.kuali.rice.krad.service.NoteService#saveNoteValueList(java.util.List)
public Note save(Note note)
NoteService
save
in interface NoteService
note
- the note to save
NoteService.save(org.kuali.rice.krad.bo.Note)
public List<Note> getByRemoteObjectId(String remoteObjectId)
NoteService
PersistableBusinessObject
that the note was attached to when it was created.
getByRemoteObjectId
in interface NoteService
remoteObjectId
- the object id that the notes being searched for are associated with
NoteService.getByRemoteObjectId(java.lang.String)
public Note getNoteByNoteId(Long noteId)
NoteService
getNoteByNoteId
in interface NoteService
noteId
- the note id to search by
NoteService.getNoteByNoteId(java.lang.Long)
public void deleteNote(Note note)
NoteService
deleteNote
in interface NoteService
note
- the note to deleteNoteService.deleteNote(org.kuali.rice.krad.bo.Note)
public Note createNote(Note noteToCopy, PersistableBusinessObject bo, String authorPrincipalId)
createNote
in interface NoteService
noteToCopy
- the note to copybo
- the business object to associate the Note with
org.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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |