The AssetDiffFormHandler has the following configuration properties:

Property

Function

assetURI

Holds the asset’s URI and ID, which includes the repository name, item descriptor name and asset ID. This does not provide version-specific information.

deletedWarning

Holds the message displayed when one version of an item involved in a comparison is deleted.

diffChangeList

Refers to a PropetyChangeList that records the differences between the two versions of the item in PropertyChange objects.

diffProperties

Holds the properties that have one value in one version and a different value in the other.

indexedVersions

Holds an array of version numbers. If this property has only one value, the working version is used as the second value. Use this property to specify the versions you want to compare.

item1

Holds the RepositoryItem representing one version involved in the comparison. This property is automatically populated, using the assetURI and indexedVersions properties to locate the Repository ID.

item2

Holds the RepositoryItem representing one version involved in the comparison. This property is automatically populated, using the assetURI and indexedVersions properties to locate the Repository ID.

selectedVersionsForMerge

When there are property value conflicts across two versions, this property identifies which version’s property value is used. This property is a map in which the key holds the property with conflicting values and the value holds a 1 (representing item1) or 2 (representing item2).

versions

Holds an array of version numbers. Use this property to work with all versions at the same time.

viewAttribute

Holds the name of the portlet you use to access the item. Options include assetView and projectView.

workspaceName

Holds the current project’s workspace. The best way to specify a value for this attribute is to set it to a method that accesses the project’s workspace.

 
loading table of contents...