Interface ManufacturingItemService
public interface ManufacturingItemService
-
Method Summary
Modifier and TypeMethodDescriptionMfgItemBulkResult<? extends MfgItem>
bulkRead
(com.technia.dsx.common.TenantSession session, Collection<String> itemIds, MfgItemMask mask, MfgItemField... fields) Gets multiple Manufacturing Items which are Indexed.default MfgItemBulkResult<MfgItemDetails>
bulkReadDetails
(com.technia.dsx.common.TenantSession session, Collection<String> itemIds, boolean allFields) create
(com.technia.dsx.common.TenantSession session, CreateMfgItemsInput createInput, MfgItemMask mask, MfgItemField... fields) void
default ExpandResult
expand
(com.technia.dsx.common.TenantSession session, String mfgItemId, MfgItemExpandMask mask, int expandDepth) expand
(com.technia.dsx.common.TenantSession session, String mfgItemId, MfgItemExpandMask mask, ExpandInput input) getMfgItemsFromEngItem
(com.technia.dsx.common.TenantSession session, List<String> engItemIds) Get scoped and resulting manufacturing item references from Engineering Item.getRealizedChanges
(com.technia.dsx.common.TenantSession session, MfgItemRealizedChangesMask mask, RealizedChangesInput input) locate
(com.technia.dsx.common.TenantSession session, Integer maxResult, Integer skip, LocateMfgItemsInput input) Provides the capability to locate or find set of Manufacturing Items dsmfg:MfgItem and navigate to target types based on the matched search criteria and other filter criteria.read
(com.technia.dsx.common.TenantSession session, String id, MfgItemMask mask, MfgItemField... fields) default MfgItemDetails
readDetails
(com.technia.dsx.common.TenantSession session, String itemId, boolean allFields) void
reconnectEngItems
(com.technia.dsx.common.TenantSession session, ReconnectInput input) search
(com.technia.dsx.common.TenantSession session, String searchString, MfgItemMask mask, Integer maxResult, Integer skip) com.technia.dsx.app.model.Referable
toReferable
(com.technia.dsx.common.TenantSession session, MfgItem item) toStructure
(ExpandResult result) update
(com.technia.dsx.common.TenantSession session, String itemId, MfgItemModifyData data, MfgItemMask mask, MfgItemField... fields)
-
Method Details
-
toReferable
com.technia.dsx.app.model.Referable toReferable(com.technia.dsx.common.TenantSession session, MfgItem item) -
search
@Remote(READ) MfgItemSearchResult<?> search(com.technia.dsx.common.TenantSession session, String searchString, MfgItemMask mask, Integer maxResult, Integer skip) -
readDetails
@Remote(READ) default MfgItemDetails readDetails(com.technia.dsx.common.TenantSession session, String itemId, boolean allFields) -
read
@Remote(READ) MfgItem read(com.technia.dsx.common.TenantSession session, String id, MfgItemMask mask, MfgItemField... fields) -
create
@Remote(CREATE) List<? extends MfgItem> create(com.technia.dsx.common.TenantSession session, CreateMfgItemsInput createInput, MfgItemMask mask, MfgItemField... fields) -
update
@Remote(UPDATE) MfgItem update(com.technia.dsx.common.TenantSession session, String itemId, MfgItemModifyData data, MfgItemMask mask, MfgItemField... fields) -
delete
-
getMfgItemsFromEngItem
@Remote(READ) MfgfItemsFromEngItems getMfgItemsFromEngItem(com.technia.dsx.common.TenantSession session, List<String> engItemIds) Get scoped and resulting manufacturing item references from Engineering Item.NOTE: List of EngItem physical id and number of items per request is limited to 10.
-
locate
@Remote(READ) LocateMfgItemsResult locate(com.technia.dsx.common.TenantSession session, Integer maxResult, Integer skip, LocateMfgItemsInput input) Provides the capability to locate or find set of Manufacturing Items dsmfg:MfgItem and navigate to target types based on the matched search criteria and other filter criteria.Following are the capabilities provided: 1. Locate Mfg Item matching the search criteria 'searchCriteria' alone. 2. Locate Mfg Item matching the search criteria 'searchCriteria' and filter using query param $top and $skip. 3. Locate Mfg Item matching both the search criteria 'searchCriteria' and list of Mfg Items Object references passed in the request payload.
Additionally once the Manufacturing item is located based on matching criteria we return list of Manufacturing item references and also return its associated objects defined in 'navigateTo'.
By default it will return where used Manufacturing item instances if exists.
-
reconnectEngItems
@Remote(UPDATE) void reconnectEngItems(com.technia.dsx.common.TenantSession session, ReconnectInput input) -
expand
@Remote(READ) default ExpandResult expand(com.technia.dsx.common.TenantSession session, String mfgItemId, MfgItemExpandMask mask, int expandDepth) -
expand
@Remote(READ) ExpandResult expand(com.technia.dsx.common.TenantSession session, String mfgItemId, MfgItemExpandMask mask, ExpandInput input) -
toStructure
-
getRealizedChanges
@Remote(READ) RealizedChangesResult getRealizedChanges(com.technia.dsx.common.TenantSession session, MfgItemRealizedChangesMask mask, RealizedChangesInput input) -
bulkRead
@Remote(READ) MfgItemBulkResult<? extends MfgItem> bulkRead(com.technia.dsx.common.TenantSession session, Collection<String> itemIds, MfgItemMask mask, MfgItemField... fields) Gets multiple Manufacturing Items which are Indexed. API Works only for Indexed Data only. The customer attributes or enterprise extension attributes are returned only with default sixw mapping ds6wg:TypeName.AttributeName and it is not supported if the sixw predicate is changed.- Parameters:
session
- The current session.itemIds
- List of dsmfg:MfgItem reference physical ids. Limit 1000 physical ids to be passed per requestmask
- Mask defining what will be returned. Default Mask is:dsmfg:MfgItemMask.Default Available values : dsmfg:MfgItemMask.Default, dsmfg:MfgItemMask.Detailsfields
- Available values : dsmveno:CustomerAttributes- Returns:
- The result
-
bulkReadDetails
@Remote(READ) default MfgItemBulkResult<MfgItemDetails> bulkReadDetails(com.technia.dsx.common.TenantSession session, Collection<String> itemIds, boolean allFields)
-