system.mes.batch.phase.getLinks(parentLink, pageNumber, pageSize, searchPattern)

Sepasoft MES Module Suite

system.mes.batch.phase.getLinks(parentLink, pageNumber, pageSize, searchPattern)

Return a list of links that can represent batch phase or batch phase class objects. Paging is supported by providing the page number and page size and should be used when a large number of unorganized batch phases exist.

getLinks(parentLink, pageNumber, pageSize, searchPattern) → List

Syntax

getLinks(parentLink, pageNumber, pageSize, searchPattern)

  • Parameters

MESObjectLink parentLink - The link to the batch phase class object to return the children. If None is provided for this parameter, then it will return the children of the BatchRootPhase 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 batch phases 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: Add Ingredient *

  • 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