expandEBOM
Expands each Product occurrence in a Navigation Set at the specified level, with a
configuration filter if necessary.
Output
- A Navigation Set that contains the expanded Product occurrences
Example
/**
* Expands a Product navigation set at a specific level
*
* @param ctx completion context
* @param prdInput navigation set that contains the Products occurrences to expand
* @param iDepth integer that defines the depth of the expand
* Note: If the depth is set to zero, it expands all
*
* @return new navigation set that contains the expanded input
* @throws Exception
*/
public static NavigationSet expandEBOM (CompletionContext ctx, NavigationSet prdInput, int iDepth) throws Exception;
expandMBOM
Expands each MBOM occurrence in a Navigation Set at the specified level, with a
configuration filter if necessary.
Output
- A Navigation Set that contains the expanded MBOM occurrences
Example
/**
* Expands a MBOM navigation set at a specific level
*
* @param ctx completion context
* @param MBOMInput navigation set that contains the MBOM occurrences to expand
* @param iDepth integer that defines the depth of the expand
* Note: If the depth is set to zero, it expands all
*
* @return new navigation set that contains the expanded input occurrences
* @throws Exception
*/
public static NavigationSet expandMBOM (CompletionContext ctx, NavigationSet MBOMInput, int iDepth) throws Exception;
expandSystem
Expands each Workplan or System occurrence in a Navigation Set at the specified
level, with a configuration filter if necessary.
Output
- A Navigation Set that contains the expanded Workplan or System occurrences
Example
/**
* Expands a Work plan or System navigation set at a specific level
*
* @param ctx completion context
* @param systInput navigation set that contains the Work plan or System occurrences to expand
* @param iDepth integer that defines the depth of the expand
* Note: If the depth is set to zero, it expands all
*
* @return new navigation set that contains the expanded input
* @throws Exception
*/
public static NavigationSet expandSystem (CompletionContext ctx, NavigationSet systInput, int iDepth) throws Exception;
expandResource
Expands each Resource occurrence in a Navigation Set at the specified level, with a
configuration filter if necessary.
Output
- A Navigation Set that contains the expanded Resource occurrences
Example
/**
* Expands a Resource navigation set at a specific level
*
* @param ctx completion context
* @param resInput navigation set that contains the Resource occurrences to expand
* @param iDepth integer that defines the depth of the expand
* Note: If the depth is set to zero, it expands all
*
* @return new navigation set that contains the expanded input
* @throws Exception
*/
public static NavigationSet expandResource (CompletionContext ctx, NavigationSet resInput, int iDepth) throws Exception;
expandMultiRoot
Expands each occurrence in a Navigation Set at the specified level, with a
configuration filter if necessary.
Notes:
- There can be multiple root entities defined in this Navigation Set.
- After using this primitive, no navigation must be performed from the resulting
Navigation Set. This primitive must be the final step of a procedure before it returns
the lists of entities to be opened.
Output
- A Navigation Set that contains the expanded occurrences
Example
/**
* Expands a Resource navigation set at a specific level
*
* @param ctx completion context
* @param navSetInput navigation set that contains the occurrences to expand
* @param iDepth integer that defines the depth of the expand
* Note: If the depth is set to zero, it expands all
*
* @return new navigation set that contains the expanded input
* @throws Exception
*/
public static NavigationSet expandMultiRoot (CompletionContext ctx, NavigationSet navSetInput, int iDepth) throws Exception;
keepRoot
From a Navigation Set of any supported type, this primitive removes all the
occurrences contained in this Navigation Set except the root entity.
Output
- A Navigation Set that contains only the root entity collapsed and retrived fom
Navigation Set
Example
/**
* From a Navigation Set of any supported type, this primitive removes all the occurrences contained in this Navigation Set except the root entity
*
* @param InputNavSet navigation set that contains the occurrences from which user wants to extract and keep only the root entity
* Note: If the navigation set contains more than 1 root entity (this can be the case for Resources Navigation Sets for instance), resulting Navigation Set will contain only one of these root entities.
* As order of occurrences is not guaranteed in a Navigation Set, the root entity returned can be any of those defined in input Navigation Set.
*
* @return new navigation set that contains only the root entity from the input Navigation Set
* @throws Exception
*/
public static NavigationSet keepRoot (NavigationSet InputNavSet) throws Exception;
|