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

All Superinterfaces:
java.io.Serializable

public interface Note
extends java.io.Serializable


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

Method Detail

getText

java.lang.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() instead.

Returns:
the oid of the user who created the note.

getUser

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

getTimestamp

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


Copyright © 2013 SunGard CSA LLC. All Rights Reserved.