The findAllChangeSets method takes an argument that can be null or it can be a ChangeSetLoadTuner that specifies whether information about the Change Set members is loaded. If null, all Change Set member information is loaded.

You can also search for Change Set by specifying criteria. The following example returns all open Change Sets whose name contains ChangeSet. (The noMembersLoadTuner is configured to load Change Sets without any member information.)

If strictName is set to false, the search matches all Change Sets whose names contains CS01 (for example, CS01 and abcCS01def). If set to true, then the results will only contain the Change Sets whose names match CS01 exactly.

The Change Set is open. Objects can be added to and removed from the Change Set.

LOCKED

The Change Set is locked. Objects cannot be added to or removed from the Change Set. Objects in the Change Set cannot be modified.

FINALIZED

The Change Set has been finalized. This means that changes made to objects in the Change Set have been synchronized to the target system and the objects have been released (i.e., unlocked). Once the objects are released, they can once again be edited and added to other Change Sets.

Moving Objects From One Change Set to Another

Use the updateAndMoveObjects to move objects from one Change Set to another.