You can create groups of repository items, using the atg.targeting.RuleBasedRepositoryItemGroup class. A repository item group has the same properties as a RuleBasedRepositoryTargeter: repository and ruleSetService.

Create your RuleBasedRepositoryItemGroup component in /atg/registry/RepositoryGroups, so that the system’s group registry can find it and make it available to the ACC. Note that when you create a content group component using the ACC, the component you create is an instance of atg.targeting.DynamicContentGroup with a Nucleus address of /atg/registry/RepositoryGroups.

 
loading table of contents...