Interface UpdatableDocumentWorkItems
- All Superinterfaces:
DocumentWorkItems
,Iterable<WorkItem>
,IterableWithSize<WorkItem>
- Since:
- 3.9.0
-
Method Summary
Modifier and TypeMethodDescriptionCreates an instance of work item, which (after being persisted) will be stored in this document.Methods inherited from interface com.polarion.alm.shared.api.model.document.DocumentWorkItems
contained, filtered, isInternal, revisionOfWorkItem, unreferenced
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
Methods inherited from interface com.polarion.alm.shared.api.utils.collections.IterableWithSize
addAllTo, isEmpty, size, toArray, toArrayList
-
Method Details
-
create
Creates an instance of work item, which (after being persisted) will be stored in this document.Note, that this function just creates the java instance, which is not persisted in any way and call to the
UpdatableModelObjectBase.save()
method is necessary to persist it.- Parameters:
type
- work item type (notnull
)- Returns:
- the unpersisted
UpdatableWorkItem
-