Sepasoft MES Module Suite
Description
Return a list of links that represent unit class objects. Paging is supported by providing the page number and page size and should be used when a large number of unorganized unit classes exist.
getLinks(parentLink, pageNumber, pageSize, searchPattern) → List
Syntax
getLinks(parentLink, pageNumber, pageSize, searchPattern)
- Parameters
MESObjectLink parentLink - The link to the unit class object to return the children. If None is provided for this parameter, then it will return the children of the BatchRootUnitClass object.
int pageNumber - The page number to include in the return results. If paging is not required, set this parameter to 0.
int pageSize - The page size to base the page number by. If paging is not required, set this parameter to a value greater than the number of unit classes that will ever be in the system. For example: 2147483647
String searchPattern - An optional search pattern to filter the return results by. It can contain * and ? wildcard characters. Example: Mixer *
- Returns
A list of MESObjectLink objects. Links are lightweight and hold the key information of an MES Object and link.getMESObject() can be used to get the actual object.
- Scope
All
Sepasoft MES Module Suite