Skip to content
pCon.configurator onlineDocumentation
Esc
↑↓navigate↵open⌘Jpreview
On this page

collapseSetArticles

Synopsis

void collapseSetArticles(SessionId sessionId, BItemId[] itemIds)
throws BasketServiceFault;

See also: SessionId, BItemId, BasketServiceFault

This operation collapses zero or more set-articles.

Depending on the set-article mode of the basket view and the set-article-collapsed property of the set article item, set-articles are displayed expanded (the set-article item and its parts are visible) or collapsed (only the set-article item is visible). This operation affects the set-article-collapsed property of the specified set-article items, and thus the display of these set-article items in views using SetArticleMode.Dynamic. The operation iterates over all items specified by the itemIds parameter and collects all set-article items whose set-article- collapsed property is false. Then it iterates over all set-article items thus found and sets their set-article-collapsed property to true.

As EAIWS does not yet support basket views, this operation has no effect on the basket item structure. However, it may be useful if the session is saved to a project file and loaded into an application that supports views.