org.eclipse.stardust.engine.api.dto
Interface Note

All Superinterfaces:
Serializable

public interface Note
extends Serializable


Method Summary
 ContextKind getContextKind()
           
 RuntimeObject getContextObject()
           
 long getContextOid()
           
 String getText()
           
 Date getTimestamp()
           
 User getUser()
           
 long getUserOid()
          Deprecated. Use getUser().getOID()
 

Method Detail

getText

String getText()
Returns:
the note itself.

getContextKind

ContextKind getContextKind()
Returns:
the kind of context.

getContextOid

long getContextOid()
Returns:
the oid of the context object.

getContextObject

RuntimeObject getContextObject()
Returns:
the context object itself if details level allows it, otherwise null.

getUserOid

long getUserOid()
Deprecated. Use getUser().getOID()

Returns:
the oid of the user who created the note.
See Also:
User.getOID()

getUser

User getUser()
Returns:
the user who created the note. The user will be initialized with details level UserDetailsLevel.CORE. May be null if no user is specified.

getTimestamp

Date getTimestamp()
Returns:
when was the note created.


Copyright © 2017 Eclipse Stardust. All Rights Reserved.