Instance Properties
Name | Description | Access |
---|---|---|
length | number The number of objects in the collection. | read-only |
Methods
count( | ) |
→ number |
itemByRange( | from, to) |
→ K4Task |
k4GetById( | k4Id) |
→ Object |
k4GetByName( | k4Name) |
→ Object |
k4GetByTaskInstanceId( | k4Id) |
→ Object |
middleItem( | ) |
→ K4Task |
previousItem( | obj) |
→ K4Task |
toSource( | ) |
→ string |
-
anyItem( )→ K4Task -
Returns any K4Task in the collection.
-
count( )→ number -
Displays the number of elements in the K4Task.
-
everyItem( )→ K4Task -
Returns every K4Task in the collection.
-
firstItem( )→ K4Task -
Returns the first K4Task in the collection.
-
item( index)→ K4Task -
Returns the K4Task with the specified index or name.
index
The index or name. Can accept: Long Integer or String. -
itemByRange( from, to)→ K4Task -
Returns the K4Tasks within the specified range.
from
The K4Task, index, or name at the beginning of the range. Can accept: K4Task, Long Integer or String. to
The K4Task, index, or name at the end of the range. Can accept: K4Task, Long Integer or String. -
k4GetById( k4Id)→ Object -
K4 Get By ID
k4Id
string K4 ID -
k4GetByName( k4Name)→ Object -
K4 Get By Name
k4Name
string K4 Name -
k4GetByTaskInstanceId( k4Id)→ Object -
K4 Get By Task Instance ID
k4Id
string K4 ID -
lastItem( )→ K4Task -
Returns the last K4Task in the collection.
-
middleItem( )→ K4Task -
Returns the middle K4Task in the collection.
-
nextItem( obj)→ K4Task -
Returns the K4Task whose index follows the specified K4Task in the collection.
obj
K4Task The K4Task whose index comes before the desired K4Task. -
previousItem( obj)→ K4Task -
Returns the K4Task with the index previous to the specified index.
obj
K4Task The index of the K4Task that follows the desired K4Task. -
toSource( )→ string -
Generates a string which, if executed, will return the K4Task.