org.kuali.rice.kew.notes
Class Note
java.lang.Object
org.kuali.rice.kew.notes.Note
- All Implemented Interfaces:
- Serializable, Identifiable, Versioned, NoteContract
@Entity(name="org.kuali.rice.kew.notes.Note")
public class Note
- extends Object
- implements Serializable, NoteContract
A note attached to a document. May also contain a List of attachments.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
Attachment
,
Serialized Form
Constructor Summary |
Note()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Note
public Note()
getLockVerNbr
public Integer getLockVerNbr()
setLockVerNbr
public void setLockVerNbr(Integer lockVerNbr)
getNoteAuthorWorkflowId
public String getNoteAuthorWorkflowId()
setNoteAuthorWorkflowId
public void setNoteAuthorWorkflowId(String noteAuthorWorkflowId)
getNoteCreateDate
public Timestamp getNoteCreateDate()
setNoteCreateDate
public void setNoteCreateDate(Timestamp noteCreateDate)
getNoteId
public String getNoteId()
setNoteId
public void setNoteId(String noteId)
getNoteText
public String getNoteText()
setNoteText
public void setNoteText(String noteText)
getDocumentId
public String getDocumentId()
- Specified by:
getDocumentId
in interface NoteContract
setDocumentId
public void setDocumentId(String documentId)
getNoteAuthorEmailAddress
public String getNoteAuthorEmailAddress()
setNoteAuthorEmailAddress
public void setNoteAuthorEmailAddress(String noteAuthorEmailAddress)
getNoteAuthorFullName
public String getNoteAuthorFullName()
setNoteAuthorFullName
public void setNoteAuthorFullName(String noteAuthorFullName)
getNoteAuthorNetworkId
public String getNoteAuthorNetworkId()
setNoteAuthorNetworkId
public void setNoteAuthorNetworkId(String noteAuthorNetworkId)
getNoteCreateLongDate
public Long getNoteCreateLongDate()
setNoteCreateLongDate
public void setNoteCreateLongDate(Long noteCreateLongDate)
getAuthorizedToEdit
public Boolean getAuthorizedToEdit()
setAuthorizedToEdit
public void setAuthorizedToEdit(Boolean authorizedToEdit)
getEditingNote
public Boolean getEditingNote()
setEditingNote
public void setEditingNote(Boolean editingNote)
getFormattedCreateDateTime
public String getFormattedCreateDateTime()
getFormattedCreateDate
public String getFormattedCreateDate()
getFormattedCreateTime
public String getFormattedCreateTime()
getAttachments
public List<Attachment> getAttachments()
setAttachments
public void setAttachments(List<Attachment> attachments)
beforeInsert
public void beforeInsert()
getId
public String getId()
- Description copied from interface:
Identifiable
- The unique identifier for an object. This can be null.
- Specified by:
getId
in interface Identifiable
- Returns:
- the id
getVersionNumber
public Long getVersionNumber()
- Description copied from interface:
Versioned
- Returns the version number for this object. In general, this value should only
be null if the object has not yet been stored to a persistent data store.
This version number is generally used for the purposes of optimistic locking.
- Specified by:
getVersionNumber
in interface Versioned
- Returns:
- the version number, or null if one has not been assigned yet
getAuthorPrincipalId
public String getAuthorPrincipalId()
- Specified by:
getAuthorPrincipalId
in interface NoteContract
getCreateDate
public org.joda.time.DateTime getCreateDate()
- Specified by:
getCreateDate
in interface NoteContract
getText
public String getText()
- Specified by:
getText
in interface NoteContract
to
public static Note to(Note note)
from
public static Note from(Note note)
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.