Class NoteMetadata

java.lang.Object
com.appiancorp.suiteapi.process.NoteMetadata
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Note

@Deprecated public class NoteMetadata extends Object implements Serializable
Deprecated.
This class represents the Note that can be attached to ProcessModel, Process, ProcessNode or Task. This bean should only be used for communication between the Java and Database layers.
See Also:
  • Field Details

    • SORT_BY_ID

      public static final Integer SORT_BY_ID
      Deprecated.
      Constant representing sorting by NoteMetadata ID field
    • SORT_BY_TYPE

      public static final Integer SORT_BY_TYPE
      Deprecated.
      Constant representing sorting by NoteMetadata Type field
    • SORT_BY_CREATE_DATE

      public static final Integer SORT_BY_CREATE_DATE
      Deprecated.
      Constant representing sorting by NoteMetadata createTimestamp field
    • SORT_BY_UPDATE_DATE

      public static final Integer SORT_BY_UPDATE_DATE
      Deprecated.
      Constant representing sorting by NoteMetadata updateTimestamp field
    • SORT_BY_AUTHOR

      public static final Integer SORT_BY_AUTHOR
      Deprecated.
      Constant representing sorting by NoteMetadata author field
    • SORT_BY_LOCATION

      public static final Integer SORT_BY_LOCATION
      Deprecated.
      Constant representing sorting by NoteMetadata location(Where note is saved) field
    • SORT_BY_CONTENT

      public static final Integer SORT_BY_CONTENT
      Deprecated.
      Constant representing sorting by NoteMetadata contents field
    • NOTE_TYPE_NORMAL

      public static final Integer NOTE_TYPE_NORMAL
      Deprecated.
      Constant representing the NORMAL NoteMetadata type
    • NOTE_TYPE_REASSIGN_TASK

      public static final Integer NOTE_TYPE_REASSIGN_TASK
      Deprecated.
      Constant representing the REASSIGN_TASK NoteMetadata type
    • NOTE_TYPE_REJECT_TASK

      public static final Integer NOTE_TYPE_REJECT_TASK
      Deprecated.
      Constant representing the REJECT_TASK NoteMetadata type
    • NOTE_TYPE_DELETED

      public static final Integer NOTE_TYPE_DELETED
      Deprecated.
      Constant representing the DELETED NoteMetadata type
    • NOTE_TYPE_EXCEPTION

      public static final Integer NOTE_TYPE_EXCEPTION
      Deprecated.
      Constant representing the Note added on exception type
  • Constructor Details

    • NoteMetadata

      public NoteMetadata()
      Deprecated.
  • Method Details

    • getAttachedTo

      public LocalObject getAttachedTo()
      Deprecated.
      Returns:
      Returns the LocalObject that the note is attached to. It can either be ProcessModel, Process, Node or Task
    • setAttachedTo

      public void setAttachedTo(LocalObject attachedTo_)
      Deprecated.
      Sets the LocalObject that the Note is attached to.
      Parameters:
      attachedTo_ - The attachedTo to set.
    • getAuthor

      public String getAuthor()
      Deprecated.
      Returns:
      Returns the author, who added this note.
    • setAuthor

      public void setAuthor(String author_)
      Deprecated.
      Sets the author of the Note
      Parameters:
      author_ - author to set.
    • getCreateTimestamp

      public Timestamp getCreateTimestamp()
      Deprecated.
      Returns:
      Returns the timestamp when the Note was created.
    • setCreateTimestamp

      public void setCreateTimestamp(Timestamp createTimestamp_)
      Deprecated.
      Sets the creation timestamp of Note
      Parameters:
      createTimestamp_ - Note creation timestamp.
    • getId

      public Long getId()
      Deprecated.
      Returns:
      Returns the Id of Note Object.
    • setId

      public void setId(Long id_)
      Deprecated.
      Sets the Id of Note Object
      Parameters:
      id_ - ID to set.
    • getLocation

      public String getLocation()
      Deprecated.
      Returns:
      Returns the location where the Note contents are stored.
    • setLocation

      public void setLocation(String location_)
      Deprecated.
      Sets the location where note contents are stored.
      Parameters:
      location_ - Note location to set.
    • getPermissions

      public NotePermissions getPermissions()
      Deprecated.
      Returns:
      Returns the Note permissions
    • setPermissions

      public void setPermissions(NotePermissions permissions_)
      Deprecated.
      Sets the Note permissions
      Parameters:
      permissions_ - permissions to set.
    • getType

      public Integer getType()
      Deprecated.
      Returns:
      Returns the type of Note which can be any one of the NOTE_TYPE_XXX constants
    • setType

      public void setType(Integer type_)
      Deprecated.
      Sets the type of Note
      Parameters:
      type_ - type to set.
    • getUpdateTimestamp

      public Timestamp getUpdateTimestamp()
      Deprecated.
      Returns:
      Returns the timestamp when Note was updated
    • setUpdateTimestamp

      public void setUpdateTimestamp(Timestamp updateTimestamp_)
      Deprecated.
      Sets the timestamp when Note was updated.
      Parameters:
      updateTimestamp_ - Note update timestamp to set.
    • getTypeAsString

      protected String getTypeAsString()
      Deprecated.
      Returns:
      Returns the Note type As String representation.
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object