Removes all {@link wt,inf.sharing.SharedContainerMap} for the target object and target container pased as
arguments. Removes both object and version shares, enabled or disabled shares.
NoteIf the share exists and is a COLLECTIVE, FOLDER or STRUCTURE share, then all related shares are
removed.
Shares an object given the target container and the target folder. If the object is Iterated, then a version is
shared, otherwise an instance is shared. Returns a wt.inf.SharedContainerMap object representing the
sharing of the data.
The way the operation deals with duplicate shares is as follows:
If there is an equivalent version share, nothing happens and the equivalent share is returned;
If there is a conflicting share, then it is deleted and a new share is created.
If there is no conflicting share: a new share is created.
Where an equivalent share is one with same target object and container: same ûmodeú (version/object); same
target folder. A conflicting share is one with same target object and container but has either a different mode
or a different folder.
Shares a WTCollection given the target container and the target folder. Returns a
collection of SharedContainerMap representing the sharing of the objects. The objects in
the input collection are not assumed to be Iterated. For the ones that are version shares are created; for the
others, object shares. The shares are not assumed to belong to the same action. This means that they can be
removed/disabled/enabled independently.