EntityCollection
Represents a collection of an entity.
Such an object cannot be instantiated directly. You must use the methods create(), get() or load().
The elements of a collection can be enumerated with for or for each . This example shows an enumeration of files linked to a delivery action.
var delivery = nms.delivery.load("12345")
for each(var attach in delivery.attachment)
logInfo(attach.label)
Methods
| add | Adds a new entity to the collection. |
| remove | Deletes an entity from the collection. |
| removeAll | Deletes all entities from the collection. |
Properties
| length | Returns the entity number of the collection. |
Features
Available in:
- Content management
- Delivery properties
- Typology rule
- JSSP
- SOAP Method
- WebApp
- Workflow