Site groups allow site administrators, as well as other applications, to group sites together to share common properties and registered shareable type components, such as a shopping cart.

Sites can belong to multiple site groups. Site groups can contain one or more sites and can contain multiple components, with all shareable components being shared amongst all sites in the site group. Site groups that contain shareable components are also known as Sharing Groups.

Shareables can be a member of many different site groups; however, a site can be a member of only one site group that contains a specific shareable. In other words, a site cannot have a common shareable across site groups. For example, if Site A is part of Site Group One that shares a shopping cart, Site A cannot be part of Site Group Three that shares the same shopping cart.

Site groups are stored as versioned repository assets in the Site Repository and are managed by the SiteGroupManager component. The SiteGroupManager enables SiteGroups and shareable types to obtain information on ShareableTypes, SiteGroup IDs, and determine if sites share specific ShareableTypes. For additional information on the SiteGroupManager component, refer to the ATG Platform Programming Guide.

The siteGroup item descriptor defines the following properties:

<item-descriptor name="siteGroup" >
  <property name="id" data-type="string"/>
  <property name="displayName" data-type="string"/>
  <property name="shareableTypes" data-type="array"
    component-data-type="String"/>
  <property name="sites" data-type="array"
    component-item-type="site"/>
</item>

The shareableTypes property of siteGroup is a collection of enumerated strings.


Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices