Inherits from SIBAbstractTemplateListRequestBuilder : NSObject
Declared in SIBWhiteListTemplateRequestBuilder.h
SIBWhiteListTemplateRequestBuilder.m

Overview

Creates the request to fetch only those children of the given item having the templates on the initializer list.

Tasks

Instance Methods

init

Unsupported initializer. It throws an exception when called.
Use initWithTemplateNames: instead.

- (instancetype)init

Declared In

SIBWhiteListTemplateRequestBuilder.h

initWithTemplateNames:

Designated initializer.

- (instancetype)initWithTemplateNames:(NSArray *)templateNames

Parameters

templateNames

Names of templates for filtering. Do not include full path entries.
For example,
[ [ SIBAbstractTemplateListRequestBuilder alloc ] initWithTemplateNames: @[ @“Folder”, @“Item”, @“Image” ] ];

Return Value

A properly initialized filter.

Declared In

SIBWhiteListTemplateRequestBuilder.h

itemsBrowser:levelDownRequestForItem:

Creates a query based request that fetches children of the given item that match any of the template on the list.

- (SCReadItemsRequest *)itemsBrowser:(id)sender levelDownRequestForItem:(SCItem *)item

Parameters

sender

One of the items browser controllers below.
* SCItemListBrowser
* SCItemGridBrowser

item

The children list should be defined for it by this class.

Return Value

A request that defines the scope of child items.

Declared In

SIBWhiteListTemplateRequestBuilder.h