The Repository Loader module includes a simple example of an SQL repository that uses the Repository Loader. The Repository Loader example is in the <ATG11dir>/RL/Example
directory. It loads the files in the FileSystemMonitorService’s root path:
<ATG11dir>/RL/Example/j2ee-apps/example/web-app/public
The SQL repository in this example is a GSARepository component with this Nucleus address:
/atg/rl-example/ExampleRepository
Repository item types in ExampleRepository
are specified by this repository definition file:
<ATG11dir>/RL/Example/config/atg/rl-example/exampleRepository.xml
.
This XML file defines the following item types in its item descriptors (note how content item types use item descriptor inheritance):
Item descriptor name | Description |
---|---|
| A content folder item type. |
| A content item type. This is the super-type for a series of item types that inherit from the A |
| A content item type that inherits from |
| A content item type that inherits from |
| A content item type that inherits from |
| A content item type that inherits from |
| A content item type that inherits from |
| A content item type that inherits from |
| A content item type that inherits from |
| A simple non-content item type. Used by the user item type’s |
| A non-content item type. Used by the user item type’s |
| A simple non-content item type. Used by the user item type’s |
| A complex non-content item type. The |