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
A wrapper around process instances having a different toString method (id + subject).
Allows references to processes in forms.
- See Also:
-
Field Summary
Fields inherited from class com.groiss.store.PersistentObject
filled, oid
Fields inherited from interface com.groiss.store.Persistent
emptyKeys
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the class name of the base objects.Get the base object instance.long
getOid()
Getter method for the persistent object's OID.This method must return the table name of the database table in which this persistent object is stored.void
Set the base object of the view instance.void
setOid
(long oid) Setter method for the persistent object's OID.Returns a special string representation of the object.toString()
String[]
Get an array of column names of the base object class which are included in the view object class.Methods inherited from class com.groiss.store.PersistentObject
afterDelete, afterInsert, afterRead, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, clone, dbFields, equals, getKey, getKeys, getLocalClassName, getLocalObjectName, getValue, hashCode, isFilled, isValid, onDelete, onInsert, onRead, onUpdate, setFilled, setOid
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.groiss.store.Persistent
afterDelete, afterInsert, afterRead, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, dbFields, getKey, getKeys, getLocalClassName, getLocalObjectName, getStore, getValue, isFilled, isValid, setFilled, setOid
-
Constructor Details
-
ProcessInstanceView
public ProcessInstanceView() -
ProcessInstanceView
-
-
Method Details
-
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 interfacePersistent
- 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 interfacePersistent
- Overrides:
getOid
in classPersistentObject
- 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 interfacePersistent
- Overrides:
setOid
in classPersistentObject
- Parameters:
oid
- The new OID for the object.
-
getBaseClassName
Description copied from interface:View
Get the class name of the base objects.- Specified by:
getBaseClassName
in interfaceView
- Returns:
- the class name of the base objects
-
getBaseObject
Description copied from interface:View
Get the base object instance.- Specified by:
getBaseObject
in interfaceView
- Returns:
- the base object instance
-
setBaseObject
Description copied from interface:View
Set the base object of the view instance.- Specified by:
setBaseObject
in interfaceView
- Parameters:
si
- the base object
-
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 interfaceView
- Returns:
- the known column names of the view object.
-
toString
-
toListString
Description copied from class:PersistentObject
Returns a special string representation of the object.- Specified by:
toListString
in interfacePersistent
- Overrides:
toListString
in classPersistentObject
- Returns:
- a string representation of this Object suitable for usage in lists
-