Resources, resource instances, and resource collections | HCL Digital Experience
Before you can personalize HCL Digital Experience resources, you need to understanding the terms for portal objects stored in the content repository.
A resource is a Java™ class that defines the properties of a user or content object. In database terms, it is analogous to the database schema that defines the column names and types for a database table. Resource classes must implement the com.ibm.websphere.personalization.resources.Resource interface
A resource instance is an instance of the resource class. Again, using a database analogy, the resource instance is similar to a row of a database table because it contains actual values for each property defined by the resource.
- Resource Class
- An instance of
com.ibm.websphere.personalization.resources
. - Resource Manager Class
- An instance of
com.ibm.websphere.personalization.resources.ResourceManager3
. - Domain Class
- An instance of
com.ibm.websphere.personalization.resources.ResourceDomain3
. - Translator Class
- An instance of
com.ibm.websphere.personalization.resources.AuthIDTranslator
.
While resources, resource instances, and resource collections are easily mapped to familiar database concepts, it is important to note that the actual content store they refer to does not have to be a database table. It can be a file system, an LDAP repository, an XML store, or virtually any content store accessible by Java™.