The Repository Loader module includes a simple example of a SQL repository that uses the Repository Loader. The Repository Loader Example can be found in the <ATG2007.3dir>/RL/Example
directory.
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 <ATG2007.3dir>/RL/Example/config/atg/rl-example/exampleRepository.xml
. It defines the following item types in its item descriptors. Note how the content item types use item descriptor inheritance:
Item Descriptor Name | Description |
---|---|
fileFolder | A content folder item type. |
fileAsset | A content item type. This is the super-type for a series of item types that inherit from the A |
textFileAsset | A content item type that inherits from |
binaryFileAsset | A content item type that inherits from |
htmlArticle | A content item type that inherits from |
txtPressRelease | A content item type that inherits from |
xmlPressRelease | A content item type that inherits from |
gifImage | A content item type that inherits from |
jpgImage | A content item type that inherits from |
address | A simple non-content item type. Used by the user item type’s |
contact | A non-content item type. Used by the user item type’s |
phone | A simple non-content item type. Used by the user item type’s |
user | A complex non-content item type. The |