K4 ServerK4ObjectsWithTasks

K4 Objects With Tasks

Instance Properties

Name Description Access
length number The number of objects in the collection. read-only

Methods

count(
)
 → number
item(
index)
 → K4ObjectWithTasks
itemByRange(
from, to)
 → K4ObjectWithTasks
k4GetByIds(
k4PublicationId, k4WfObjectVariantId)
 → Object
toSource(
)
 → string
anyItem(
)
 → K4ObjectWithTasks
Returns any K4ObjectWithTasks in the collection.
count(
)
 → number
Displays the number of elements in the K4ObjectWithTasks.
everyItem(
)
 → K4ObjectWithTasks
Returns every K4ObjectWithTasks in the collection.
firstItem(
)
 → K4ObjectWithTasks
Returns the first K4ObjectWithTasks in the collection.
item(
index)
 → K4ObjectWithTasks
Returns the K4ObjectWithTasks with the specified index or name.
index The index or name. Can accept: Long Integer or String.
itemByRange(
from, to)
 → K4ObjectWithTasks
Returns the K4ObjectsWithTasks within the specified range.
from The K4ObjectWithTasks, index, or name at the beginning of the range. Can accept: K4ObjectWithTasks, Long Integer or String.
to The K4ObjectWithTasks, index, or name at the end of the range. Can accept: K4ObjectWithTasks, Long Integer or String.
k4GetByIds(
k4PublicationId, k4WfObjectVariantId)
 → Object
K4 Get by Publication ID and WF Object Variant ID
k4PublicationId string K4 Publication ID
k4WfObjectVariantId string K4 Workflow Object Variant ID
lastItem(
)
 → K4ObjectWithTasks
Returns the last K4ObjectWithTasks in the collection.
middleItem(
)
 → K4ObjectWithTasks
Returns the middle K4ObjectWithTasks in the collection.
nextItem(
obj)
 → K4ObjectWithTasks
Returns the K4ObjectWithTasks whose index follows the specified K4ObjectWithTasks in the collection.
obj K4ObjectWithTasks The K4ObjectWithTasks whose index comes before the desired K4ObjectWithTasks.
previousItem(
obj)
 → K4ObjectWithTasks
Returns the K4ObjectWithTasks with the index previous to the specified index.
obj K4ObjectWithTasks The index of the K4ObjectWithTasks that follows the desired K4ObjectWithTasks.
toSource(
)
 → string
Generates a string which, if executed, will return the K4ObjectWithTasks.