Catalog operations - script to Java migration

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

Catalog

These script operations can be mapped to the following Catalog Java API methods.
Table 1. Script operations that map to the Catalog Java API methods
Script operation Java method
defineLocationSpecificData addLocationDataConfiguration
addSecondaryCategoryTree addSecondaryHierarchy
containsByPrimaryKey containsItem
insertNewVersion createVersion
deleteCatalog deleteAsynchronous
getCatalogAccessControlGroupName getAccessControlGroup
getCtgCategorySpecs getCategorySpecs
setContainerProperties getItemBuildScript
ctg.getCtgItemByPrimaryKey getItemByPrimaryKey
getItemSetForCatalog getItems
getItemCollectionByPK
getCategoryCollectionByPK
getItemsByPrimaryKeys
getCtgItemByAttributeValue getItemsWithAttributeValue
defineLocationSpecificData getLocationDataConfigurations
getCatalogCategoryTrees getLocationHierarchies
getCtgName getName
setContainerProperties
getPostSaveScript
getPostScript
getPreScript
getCtgSpec getSpec
getItemSetForUnassigned getUnassignedItems
getUserDefinedLog getUserDefinedLog
getCatalogVersion getVersionInfo
isEntryCheckedOutForPrimaryKey isItemCheckedOut
isOrdered isOrdered
linkCatalog link
saveCatalog save
setOrdered setOrdered
setContainerProperties
setPostSaveScript
setPostScript
setPreScript
UserDefinedLog Container::newUserDefinedLog(String name, String description, Boolean isRunningLog) Catalog.createUserDefinedLog(String name, boolean runningLog)

CatalogManager

These script operations can be mapped to the following CatalogManager Java API methods.
Table 2. Script operations that map to the CatalogManager Java API methods
Script operation Java method
new Catalog createCatalog
getCtgByName getCatalog
getCatalogVersionSummary getVersionInfo