Instance Properties
Name | Description | Access |
---|---|---|
eventListeners | EventListeners A collection of event listeners. | read-only |
events | Events A collection of events. | read-only |
index | number The index of the K4FinishTaskObject within its containing object. | read-only |
isValid | bool Returns true if the object specifier resolves to valid objects. | read-only |
k4AcceptedTaskChanges | K4AcceptedTaskChanges K4 Accepted Task Changes | read-only |
k4IssueId | string K4 Issue ID | read-write |
k4MetaDataValues | K4MetaDataValues K4 Meta Data Values | read-only |
k4Name | string K4 Name | read-write |
k4NextTaskChanges | K4NextTaskChanges K4 Next Task Changes | read-only |
k4PublicationId | string K4 Publication ID | read-only |
k4SectionId | string K4 Section ID | read-write |
k4VersionNote | string K4 Version Note | read-write |
k4WfObjectVariantId | string K4 Workflow Object Variant ID | read-only |
parent | K4ServerData The parent of the K4FinishTaskObject (a K4ServerData). | read-only |
properties | Object A property that allows setting of several properties at the same time. | read-write |
Methods
addEventListener( | eventType, handler [, captures]) |
→ EventListener |
k4BeginFinishTask( | [k4OtherFile]) |
k4Update( | ) |
removeEventListener( | eventType, handler [, captures]) |
→ bool |
toSource( | ) |
→ string |
toSpecifier( | ) |
→ string |
-
addEventListener( eventType, handler [, captures=false])→ EventListener -
Adds an event listener.
eventType
string The event type. handler
The event handler. Can accept: File or JavaScript Function. captures
bool This parameter is obsolete. (Optional) -
getElements( )→ K4FinishTaskObject -
Resolves the object specifier, creating an array of object references.
-
k4BeginFinishTask( [k4OtherFile]) -
K4 Begin Finish Task
k4OtherFile
bool K4 Other File (Optional) -
k4EndFinishTask( ) -
K4 End Finish Task
-
k4Update( ) -
K4 Update
-
removeEventListener( eventType, handler [, captures=false])→ bool -
Removes the event listener.
eventType
string The registered event type. handler
The registered event handler. Can accept: File or JavaScript Function. captures
bool This parameter is obsolete. (Optional) -
toSource( )→ string -
Generates a string which, if executed, will return the K4FinishTaskObject.
-
toSpecifier( )→ string -
Retrieves the object specifier.