Start of Content Area

Background documentation MDM 5.5 SP06 Patch 00  Locate the document in its SAP Library structure

Use

With MDM 5.5 SP06 Patch 00, the Java API has been enhanced as follows:

      New

       ProtectRecordsCommandto set records to read-only.

       UnprotectRecordsCommand to set records to read-write.

       RetrieveLimitedQualifierValuesCommand to retrieve the limited list of qualifier values.

       AddRecordsToMaskCommand to add records to a mask.

       RemoveRecordsFromMaskCommand to remove records from a mask.

       RetrieveMaskMembershipForRecordsCommand for retrieving mask membership.

       LockRecordsCommand to lock records.

       UnlockRecordsCommand to unlock records.

       UnlockRecordsOwnedCommand to unlock all records held by the current session.

       RetrieveLockingRecordStatusCommand to retrieve the locking statuses of the records.

       EventDispatcher.terminate for terminating the background thread and stop receiving notifications.

       TextAttributeProperties.getTextAttributeValue (TextAttributeValueID) for retrieving a text attribute value by ID.

       CancelSyndicationCommand to cancel a syndication.

       FieldID.PROTECTED_STATUS_FIELD_ID, FieldID.CHECKED_OUT_STATUS_FIELD_ID, FieldID.MATRIX_TYPE_FIELD_ID for use in sorting.

       RetrieveLimitedRecordsCompoundCommand for retrieving search table results and limited pick lists.

       ResultDefinition.getFieldSortingOrder and ResultDefinition.setFieldSortingOrder for specifying sorting order.

       UnloadRepositoryCommand.setDelay allows for specifying a delay before the server unloads the repository.

       CreateRepositoryCommand.setAdminUserName and CreateRepositoryCommand.setAdminUserPassword for specifying an admin role user instead of the default "Admin".

       SyndicationErrorEventto indicate a failed syndication.

       Methods UnitProperties.getSuffix, UnitProperties.getSynonyms, UnitProperties.getDimensionID.

       Record.setMatrixTypeto set the record matrix type use in retail.

       Additional constructor for all API commands obtaining MdmSessionContext as the input parameter.

       New mdm-extension.jar is added. This jar includes: (1) SessionManagerenabling to create and cache API sessions; (2) MetadataManager that gives convenient access to repository metadata and attribute metadata; (3) Set of "Ex" (extension) command.

       Set of record events is added to event dispatcher mechanism.

      Fixes

       RetrieveGroupTreeCommand for Data Locations always have an ID of -1 for all nodes.

       Enable Record.isProtected.

       RetrieveRecordsByIDCommand returns all records when all records specified were invalid.

       RelationshipProperties.getCode is now supported.

       RetrieveLimitedHierTreeCommand does not support paging. Default value of PageSize is changed from 1000 to -1.

       Fix bug of qualified links modification.

       Fix bug in the Record.findLookupRecord(FieldID).

       Priority of unlaunched workflow tasks can be changed (bug fix).

      Changes

       Added getName and setName to the interface AttributeProperties.

       Deprecated BinaryBlobRecord.setSource, BinaryBlobRecord.getSource; added BinaryBlobRecord.setDataLocationID and BinaryBlobRecord.getDataLocationID.

       Changed RetrieveRecordsByIDCommand to include invalid records in the result set. Previously, the invalid records were filtered out.

       Deprecated all XXXCommand.setFieldSortingOrder methods, replaced by ResultDefinitoin.setFieldSortingOrder.

       Changed CreateRoleCommand.getNewRoleID to return RoleID instead of int.

       Changed CreateUserCommand.getNewUserID to return UserID instead of int.

       The two enums CHECKED_OUT and CHECKED_IN in Record.CheckoutStatus are removed. They are replaced by NONE, ORIGINAL, MEMBER, OWNER and NON_MEMBER.

       Changed CreateWorkflowJobCommand to enable creation of a new workflow job without any records bounded to it.

       Extend list of constants for Work Flow statuses and Inbox filter.

 

End of Content Area