Script: Class dw.object.Note

Class Note

Represents a note that can be attached to any persistent object that supports this feature.

Properties

createdBy : String Read Only

Return the login ID of user that is stored in the session at the time the note is created.

creationDate : Date Read Only

Return the date and time that the note was created. This is usually set by the system, but may be specified if the note is generated via an import.

subject : String Read Only

Return the subject of the note.

text : String Read Only

Return the text of the note.

Constructor Summary

This class does not have a constructor, so you cannot create it directly.

Method Summary

getCreatedBy() : String

Return the login ID of user that is stored in the session at the time the note is created.

getCreationDate() : Date

Return the date and time that the note was created.

getSubject() : String

Return the subject of the note.

getText() : String

Return the text of the note.

Methods inherited from class Object

assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values

Method Detail

getCreatedBy

getCreatedBy() : String

Return the login ID of user that is stored in the session at the time the note is created.

Returns:

the username.

getCreationDate

getCreationDate() : Date

Return the date and time that the note was created. This is usually set by the system, but may be specified if the note is generated via an import.

Returns:

the creation date.


getSubject

getSubject() : String

Return the subject of the note.

Returns:

the subject.


getText

getText() : String

Return the text of the note.

Returns:

the text.