CONTENT_SETS_PROPERTY

getMissingContentSetKeys

public java.util.List getMissingContentSetKeys()

If any content set is missing from the project based on the registere
ContentSetProviders, this method returns a List of the missing
content set keys. If no content sets are missing, this returns an
empty List.

add

Adds the node to the project content, specifically adding
it to the content set identified by the content set key. The supplied
key must match one of the ContentProviders registered with the project.
If the key is valid but the node cannot be added to that content set,
the node will be added to the Resources content set, if possible.

Parameters:

node - the node to add

contentSetKey - the key that identifies the content set

Returns:

true if the node was added successfully,
false if the node could not be added to the specified
content set.

add

Adds the nodes to the project content, specifically adding
it to the content set identified by the content set key. The supplied
key must match one of the ContentProviders registered with the project.
If the key is valid but the node cannot be added to that content set,
the node will be added to the Resources content set, if possible.

Parameters:

nodes - the nodes to add

contentSetKey - the key that identifies the content set

Returns:

true if all the nodes were added successfully,
false if one or more nodes could not be added to the
specified content set.