Package com.groiss.wf

Class ProcessInstanceView

java.lang.Object
com.groiss.store.PersistentObject
com.groiss.wf.ProcessInstanceView
All Implemented Interfaces:
KeyValuePair<String,String>, Persistent, View, Serializable, Cloneable

public class ProcessInstanceView extends PersistentObject implements View
A wrapper around process instances having a different toString method (id + subject). Allows references to processes in forms.
See Also:
  • Constructor Details

    • ProcessInstanceView

      public ProcessInstanceView()
    • ProcessInstanceView

      public ProcessInstanceView(ProcessInstance si)
  • Method Details

    • getTableName

      public String getTableName()
      Description copied from interface: Persistent
      This method must return the table name of the database table in which this persistent object is stored.
      Specified by:
      getTableName in interface Persistent
      Returns:
      The table name of the database table in which this persistent object is stored.
    • getOid

      public long getOid()
      Description copied from interface: Persistent
      Getter method for the persistent object's OID.
      Specified by:
      getOid in interface Persistent
      Overrides:
      getOid in class PersistentObject
      Returns:
      The OID of the persistent object.
    • setOid

      public void setOid(long oid)
      Description copied from interface: Persistent
      Setter method for the persistent object's OID. Usually you will never need to set the OID of an object directly, because OIDs are assigned automatically.
      Specified by:
      setOid in interface Persistent
      Overrides:
      setOid in class PersistentObject
      Parameters:
      oid - The new OID for the object.
    • getBaseClassName

      public String getBaseClassName()
      Description copied from interface: View
      Get the class name of the base objects.
      Specified by:
      getBaseClassName in interface View
      Returns:
      the class name of the base objects
    • getBaseObject

      public Persistent getBaseObject()
      Description copied from interface: View
      Get the base object instance.
      Specified by:
      getBaseObject in interface View
      Returns:
      the base object instance
    • setBaseObject

      public void setBaseObject(Persistent si)
      Description copied from interface: View
      Set the base object of the view instance.
      Specified by:
      setBaseObject in interface View
      Parameters:
      si - the base object
    • viewColumnNames

      public String[] viewColumnNames()
      Description copied from interface: View
      Get an array of column names of the base object class which are included in the view object class.
      Specified by:
      viewColumnNames in interface View
      Returns:
      the known column names of the view object.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toListString

      public String toListString()
      Description copied from class: PersistentObject
      Returns a special string representation of the object.
      Specified by:
      toListString in interface Persistent
      Overrides:
      toListString in class PersistentObject
      Returns:
      a string representation of this Object suitable for usage in lists