SIBBlackListTemplateRequestBuilder Class Reference
Inherits from | SIBAbstractTemplateListRequestBuilder : NSObject |
Declared in | SIBBlackListTemplateRequestBuilder.h SIBBlackListTemplateRequestBuilder.m |
Overview
Creates the request to fetch only those children of the given item having any templates except those on the initializer list.
Tasks
-
– init
Unsupported initializer. It throws an exception when called.
Use initWithTemplateNames: instead. -
– initWithTemplateNames:
Designated initializer.
-
– itemsBrowser:levelDownRequestForItem:
Creates a query based request that fetches children of the given item that match none of the template on the list.
Instance Methods
init
Unsupported initializer. It throws an exception when called.
Use initWithTemplateNames: instead.
- (instancetype)init
Declared In
SIBBlackListTemplateRequestBuilder.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
SIBBlackListTemplateRequestBuilder.h
itemsBrowser:levelDownRequestForItem:
Creates a query based request that fetches children of the given item that match none 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
SIBBlackListTemplateRequestBuilder.h