Class ActivityInstance

  • All Implemented Interfaces:
    IServiceDataObject, java.io.Serializable

    public class ActivityInstance
    extends ServiceDataObject
    implements java.io.Serializable
    ActivityInstance is the representation of the current Activity in a ProcessInstance.
    Version:
    2013-08-26
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Date getCompletedDate()
      Gets the date the ActivityInstance completed.
      java.lang.String getDisposition()
      Gets the disposition of the ActivityInstance.
      java.util.Date getDueDate()
      Gets the date the ActivityInstance is due.
      int getID()
      Gets the ID of the ActivityInstance.
      java.lang.Long getMemberID()
      Gets the ID of the user performing the ActivityInstance
      java.util.Date getMilestoneDate()
      Gets the date the last milestone was reached.
      long getProcessID()
      Gets the ID of the ProcessInstance that the ActivityInstance is part of.
      java.util.Date getReadyDate()
      Gets the date the ActivityInstance became ready.
      ActivityStatus getStatus()
      Gets the current status of the ActivityInstance
      long getSubProcessID()
      Gets the ID of the SubProcess that the ActivityInstance is part of.
      java.lang.String getTitle()
      Gets the title of the ActivityInstance.
      void load​(com.opentext.api.LLValue value)
      Deserialize an ServiceDataObject from an LLValue that is received from Livelink.
      void setCompletedDate​(java.util.Date value)
      Sets the date the ActivityInstance completed.
      void setDisposition​(java.lang.String value)
      Sets the disposition of the ActivityInstance.
      void setDueDate​(java.util.Date value)
      Sets the date the ActivityInstance is due.
      void setID​(int value)
      Sets the ID of the ActivityInstance.
      void setMemberID​(java.lang.Long value)
      Sets the ID of the user performing the ActivityInstance
      void setMilestoneDate​(java.util.Date value)
      Sets the date the last milestone was reached.
      void setProcessID​(long value)
      Sets the ID of the ProcessInstance that the ActivityInstance is part of.
      void setReadyDate​(java.util.Date value)
      Sets the date the ActivityInstance became ready.
      void setStatus​(ActivityStatus value)
      Sets the current status of the ActivityInstance
      void setSubProcessID​(long value)
      Sets the ID of the SubProcess that the ActivityInstance is part of.
      void setTitle​(java.lang.String value)
      Sets the title of the ActivityInstance.
      com.opentext.api.LLValue toLLValue()
      Serialize an SDO object to an LLValue that can be sent to Livelink.
      java.lang.String toString()
      Returns a string representation of the object consisting of the object name and any features and their values within square brackets.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ActivityInstance

        public ActivityInstance()
    • Method Detail

      • setCompletedDate

        public void setCompletedDate​(java.util.Date value)
        Sets the date the ActivityInstance completed.
      • getCompletedDate

        public java.util.Date getCompletedDate()
        Gets the date the ActivityInstance completed.
      • setDisposition

        public void setDisposition​(java.lang.String value)
        Sets the disposition of the ActivityInstance.
      • getDisposition

        public java.lang.String getDisposition()
        Gets the disposition of the ActivityInstance.
      • setDueDate

        public void setDueDate​(java.util.Date value)
        Sets the date the ActivityInstance is due.
      • getDueDate

        public java.util.Date getDueDate()
        Gets the date the ActivityInstance is due.
      • setID

        public void setID​(int value)
        Sets the ID of the ActivityInstance.
      • getID

        public int getID()
        Gets the ID of the ActivityInstance.
      • setMemberID

        public void setMemberID​(java.lang.Long value)
        Sets the ID of the user performing the ActivityInstance
      • getMemberID

        public java.lang.Long getMemberID()
        Gets the ID of the user performing the ActivityInstance
      • setMilestoneDate

        public void setMilestoneDate​(java.util.Date value)
        Sets the date the last milestone was reached.
      • getMilestoneDate

        public java.util.Date getMilestoneDate()
        Gets the date the last milestone was reached.
      • setProcessID

        public void setProcessID​(long value)
        Sets the ID of the ProcessInstance that the ActivityInstance is part of.
      • getProcessID

        public long getProcessID()
        Gets the ID of the ProcessInstance that the ActivityInstance is part of.
      • setReadyDate

        public void setReadyDate​(java.util.Date value)
        Sets the date the ActivityInstance became ready.
      • getReadyDate

        public java.util.Date getReadyDate()
        Gets the date the ActivityInstance became ready.
      • setStatus

        public void setStatus​(ActivityStatus value)
        Sets the current status of the ActivityInstance
      • getStatus

        public ActivityStatus getStatus()
        Gets the current status of the ActivityInstance
      • setSubProcessID

        public void setSubProcessID​(long value)
        Sets the ID of the SubProcess that the ActivityInstance is part of. A single process can have several subprocesses, depending on the activities in the workflow.
      • getSubProcessID

        public long getSubProcessID()
        Gets the ID of the SubProcess that the ActivityInstance is part of. A single process can have several subprocesses, depending on the activities in the workflow.
      • setTitle

        public void setTitle​(java.lang.String value)
        Sets the title of the ActivityInstance.
      • getTitle

        public java.lang.String getTitle()
        Gets the title of the ActivityInstance.
      • load

        public void load​(com.opentext.api.LLValue value)
        Description copied from interface: IServiceDataObject
        Deserialize an ServiceDataObject from an LLValue that is received from Livelink. The LLValue is an Assoc that contains all of the features of this SDO. These features may refer to other SDOs and contain arrays of primitive values or SDOs. Each referenced SDO, will have its load() method called as well. Note: this is an internal method not meant to be called by clients.
        Specified by:
        load in interface IServiceDataObject
        Overrides:
        load in class ServiceDataObject
        Parameters:
        value - the LLValue containing the data to be loaded
      • toLLValue

        public com.opentext.api.LLValue toLLValue()
        Description copied from interface: IServiceDataObject
        Serialize an SDO object to an LLValue that can be sent to Livelink. Each feature of the SDO is stored in a key of the LLValue Assoc. Any references to other SDOs cause their toLLValue() method to be called. Note: this is an internal method not meant to be called by clients.
        Specified by:
        toLLValue in interface IServiceDataObject
        Overrides:
        toLLValue in class ServiceDataObject
        Returns:
        Returns the LLValue object that represents this SDO
      • toString

        public java.lang.String toString()
        Description copied from class: ServiceDataObject
        Returns a string representation of the object consisting of the object name and any features and their values within square brackets. Intended for simple debugging or logging of an SDO.
        Overrides:
        toString in class ServiceDataObject