The Repository Loader module includes a simple example of an SQL repository that uses the Repository Loader. The Repository Loader example is in the <ATG9dir>/RL/Example
directory. It loads the files in the FileSystemMonitorService’s root path:
<ATG9dir>/RL/Example/j2ee-apps/example/web-app/public
The SQL repository in the Repository Loader Example is a GSARepository component with a Nucleus address of /atg/rl-example/ExampleRepository
. The repository item types in the ExampleRepository
are specified by the repository definition file found at <ATG9dir>/RL/Example/config/atg/rl-example/exampleRepository.xml
. It 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 |