Sepasoft MES Module Suite
Description
Return a list of links that represent unit objects. Paging is supported by providing the page number and page size and should be used when a large number of units exist.
getLinks(parentLink, pageNumber, pageSize, searchPattern) → List
Syntax
getLinks(parentLink, pageNumber, pageSize, searchPattern)
- Parameters
MESObjectLink parentLink - The link to the process cell object to return the children. If None is provided for this parameter, then it will return the children of the first process cell 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 based the page number by. If paging is not required, set this parameter to a value greater than the number of units that will ever be in the system. For example: 2147483647
String searchPattern - A case-insensitive search pattern to filter the return results. This string must be contained in the object name. An empty string will apply no filtering.
- 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 MESUnit object.
- Scope
All
Sepasoft MES Module Suite