TechnoBuzz

A Techno Blog, mainly about Java

technology

ATG:

Tables

7.0 API Java DOC

Create Catalogs

Catologs and Products

Catologs, Categories, Skus

sku

er diags

Repository Guide

Repository API

Repository – data store.
Represents a collection of RepositoryItems. the interface

MutableRepository – The interface defines functions for four operations: creating, adding, updating, and removing repository items.

RepositoryItem : like a JavaBean that is similar to a row in a table that is made up of properties. Each repository item must have an identifier, which is called a repository ID.

MutableRepositoryItem
RepositoryItem that can be updated as specified by the interface

RepositoryItemDescriptor –  Each item type is described by a Repository item descriptor (also called a RepositoryView) interface . Gives a name to the type, and also describes the properties for that type.

ItemDescriptorImpl – implements RepositoryItemDescriptor

atgrepositorypropertieschanged : When a repository item is modified, its item descriptor broadcasts locally a PropertiesChangedEvent. In addition to its type, a PropertiesChangedEvent contains the following:- A Map in which the keys are RepositoryPropertyDescriptors and the values are the new property values.- The item that is changed.- The repository ID of the item that is changed.- The item that is changed.-The item descriptor of the item that is changed. If you have a component that you want to be notified when repository item properties change, it can implement the atg.repository.PropertiesChangedListener interface. You can add your PropertiesChangedListener implementation to the atg.repository.ItemDescriptorImpl returned by the repository.getItemDescriptor() method, using the method ItemDescriptorImpl.addPropertiesChangedListener.

RepositoryPropertyDescriptor

Property files in ATG

Generic Service

ATG Mocks

Component
– storage, personalization, biz logic, jsps references component props
Repository
– data and data access
Profile
– attributes about individual visiting a web site

Targeting
– based on profiles. applying tagged content
SCenario
– sequence events over liftetime (multiuser) , and applicable actions taken (email or personalized content)

DAF- Dynamo App Framework
DAS – Dyname App Server
DPS – Dynamo Personalization Server
DSS- Dynamo Scenario Server

/usr/java/ATG7.0/DAS/taglib/dspjspTaglib/1.0
  /lib/dspjspTaglib1_0.jar
  /tld/dspjspELTaglib1_0.tld
/tld/dspjspTaglib1_0.tld

<%@ taglib uri="http://www.atg.com/taglibs/daf/dspjspTaglib1_0&quot; prefix="dsp" %>
<%@ taglib uri="http://www.atg.com/taglibs/daf/dspjspELTaglib1_0&quot; prefix="dspel" %>

SQL Repository
– Java view of elements in database

Repository Item
– repositoryId
– zero or more properties specified by item descriptor

Item Descriptor
– Logical (Repository Item) to Physical (Tables)

Item Type ~ Item Descriptor

GSA
– Generic SQL Adapter

Advertisements

May 23, 2006 - Posted by | Web Design

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: