Attribute collection operations - script to Java migration

The migration tables list the script operations that map to Attribute Collection Java™ API methods.

Attribute Collection

These script operations can be mapped to the following Attribute Collection Java API methods.
Table 1. Script operations that map to the Attribute Collection Java API methods
Script operation Java method
addAttributeToAttrGroup addAttribute
addLocalesToAttrGroup
addLocaleRestriction
setLocaleRestrictions
addSpecToAttrGroup addAllAttributes
deleteAttrGroup delete
getAllAttributePathsFromAttrGroup getAttributes
getAttrGroupName getName
getLocalesOfAttrGroup getLocaleRestrictions
removeAttributeFromAttrGroup removeAttribute
removeSpecFromAttrGroup removeSpec

Attribute Collection Manager

These script operations can be mapped to the following Attribute Collection Manager Java API methods.
Table 2. Script operations that map to the Attribute Collection Manager Java API methods
Script operation Java method
new AttrGroup createAttributeCollection
getAllAttrGroupsForAttribute getAttributeCollections
getAttrGroupByName getAttributeCollection