When a dynamic item type is created, removed, or modified, an atg.repository.dynamic.DynamicTypeEvent repository event is broadcast. This class has a DynamicEvent inner class that defines the set of available event types:

DynamicTypeEvent has properties for storing the event type (eventType), the name of the affected item descriptor (descriptorName ), and the name of the parent item descriptor (parentDescriptorName).

To be notified of these events, classes need to implement the atg.repository.dynamic.DynamicTypeEventListener interface and use the GSARepository.addDynamicTypeEventListeners() method to register themselves with the appropriate repository.


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