Class Contribution

java.lang.Object
com.appiancorp.suiteapi.common.LocalObject
com.appiancorp.suiteapi.portal.Contribution
All Implemented Interfaces:
com.appiancorp.core.expr.portable.PortableLocalObject, DeepCloneable, LocalId, LocalStringId, Serializable, Cloneable, Comparable<LocalObject>

@Deprecated public class Contribution extends LocalObject implements DeepCloneable
Deprecated.
This functionality is no longer supported and will be removed in the next release.
Contains information on a contribution by a user to a part of the application, such as participation in discussion threads, portal page creation, and document uploads.
See Also:
  • Field Details

    • SORT_BY_ID

      public static final Integer SORT_BY_ID
      Deprecated.
    • SORT_BY_TYPE

      public static final Integer SORT_BY_TYPE
      Deprecated.
    • SORT_BY_TIMESTAMP

      public static final Integer SORT_BY_TIMESTAMP
      Deprecated.
    • SORT_BY_AUTHOR_ON_OFF

      public static final Integer SORT_BY_AUTHOR_ON_OFF
      Deprecated.
    • AUTHOR_ON

      public static final boolean AUTHOR_ON
      Deprecated.
      set if the contribution being reported is the creation of the thread.
      See Also:
    • AUTHOR_OFF

      public static final boolean AUTHOR_OFF
      Deprecated.
      set if the contribution being reported is not the creation of the thread.
      See Also:
  • Constructor Details

    • Contribution

      public Contribution()
      Deprecated.
    • Contribution

      public Contribution(Integer type_, Long id_, boolean author_)
      Deprecated.
    • Contribution

      public Contribution(Integer type_, Long id_)
      Deprecated.
  • Method Details

    • clone

      public Object clone()
      Deprecated.
      Creates and returns a copy of this object.
      Specified by:
      clone in interface DeepCloneable
      Overrides:
      clone in class LocalObject
      Returns:
    • getTimestamp

      public Timestamp getTimestamp()
      Deprecated.
      Returns:
      The time of this contribution
    • setTimestamp

      public void setTimestamp(Timestamp timestamp_)
      Deprecated.
      Sets the time of this contribution
      Parameters:
      timestamp_ - the time of this contribution
    • setAuthor

      public void setAuthor(boolean author_)
      Deprecated.
      Retrieves authorship of Contribution AUTHOR_ON if contribution is authoring a new thread AUTHOR_OFF if contribution is participating in a thread or has nothing to do with threads
      Parameters:
      author_ - authorship of contribution
    • isAuthor

      public boolean isAuthor()
      Deprecated.
      Sets authorship of contribution AUTHOR_ON if contribution is authoring a new thread AUTHOR_OFF if contribution is participating in a thread or has nothing to do with threads
      Returns:
      authorship of contribution