Dashboard > Atlassian Plugins > ... > Suppliers > Collection Supplier
  Atlassian Plugins Log In | Sign Up   View a printable version of the current page.  
  Collection Supplier

Added by david , last edited by David Peterson on Mar 05, 2008  (view change) show comment
Labels: 

Summary

Provides information about collections of items.

Details

Name: Collection Supplier
Prefix: collection (optional)
Supported Content: Collections, such as lists, sets and arrays.
Provided By: Reporting Plugin

Keys Supported

The following are the list of keys which this supplier will return a value for.

Key Content Types Return Type Description
size Collection Number The number of items in the collection.
is empty Collection Boolean Test if the collection is empty.
first Collection Anything (Since 2.0.0) Returns the first item in the collection, if anything is present.
last Collection Anything (Since 2.0.0) Returns the last item in the collection, if anything is present.
[X] Collection Anything (Since 2.0.0) Returns the X'th item in the collection, where X is a number between 1 and 'size'.

Related Suppliers

Content Supplier, Label Supplier, Map Supplier, Salesforce.com Supplier, Space Supplier, User Group Supplier, User Supplier
Copyright(c) CustomWare Asia Pacific Pty Ltd
Powered by Atlassian Confluence 2.7.3, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators