Class VendorUtils
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringIntransition operations, there are some situations where aChangeSummaryGrouporChangeDeployis created before their associatedsummariesorgroupsare fully known. -
Method Summary
-
Field Details
-
TEMPORARY_PLACEHOLDER_VENDORREF
Intransition operations, there are some situations where aChangeSummaryGrouporChangeDeployis created before their associatedsummariesorgroupsare fully known.This also means that there is a brief gap when
ChangeSummaryGroup.getAffectedVendorRefs()/ChangeDeploy.getAffectedVendorRefs()andChangeSummaryGroup.isAffectsNonVendorData()/ChangeDeploy.isAffectsNonVendorData()are not yet initialized, and therefore those records could be visible to unintended vendor-restricted users (even if vendor narrowing criteria were applied).To prevent these records from being even temporarily visible to those users, this constant holds a special non-existent vendor ref that can be added to
ChangeSummaryGroup.getAffectedVendorRefs()/ChangeDeploy.getAffectedVendorRefs()at the time of initial persistence. This will cause the vendor-narrowing criteria to filter out those records for vendor-restricted users. Once all of the actual affected vendors are fully known and set, simply remove this element.- See Also:
-