Home > Contents > Index >
Template Tags TOC   |    Alpha TOC   |    Tag Family TOC   |    Purpose TOC   |    Annotated TOC   |    Index 

 

searchstate:addhasdescendantconstraint

Adds a descendent constraint into an existing searchstate object.

Syntax

Parameters

name (required)
Input parameter. Name of an object representing a searchstate.

assetid (required)
Input parameter. Asset id of the descendant asset whose ancestor asset is to be searched.

assettype (required)
Input parameter. Asset type of descendant asset.

bucket (required)
Input parameter. Bucket name. This parameter needs to be unique across searchstates.

immediateonly (optional)
Input parameter. Boolean value to indicate immediate descendants or all descendants. When the value is false, searchstate is set to search for all the descendants. When the value is true, (default value) searchstate is set to search for immediate descendants only.

Description

The searchstate object referred to by name is updated to include the new constraint specified by this tag. It adds a search constraint to find assets that have a particular asset of type assettype and id assetid as its descendant.

Example

This code creates an empty searchstate and adds an descendant constraint. Any assets that have 'FSII FSE Triple Play' as their descendant asset will be returned as matches for this constraint. This code then sets this searchstate into an assetset:setsearchedassets tag to constrain the assetset to be used when searching with other assetset tags.

See Also

searchstate:addhasancestorconstraint
searchstate:create
assetset:setsearchedassets
assetset:getattributevalues
ListObjects

  Home > Contents > Index >

Oracle JSP Tag Reference
Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.