Datasheet
Chapter 1: Introducing Cairngorm
4
com.adobe.cairngorm.model
com.adobe.cairngorm.view
com.adobe.cairngorm.vo
It is not necessary to know the contents of each package in order to build a Cairngorm project, but
knowing the basic structure will help you understand how the framework is organized and, should you
need to locate a particular class, make that easier to do. When applicable, this documentation will be
referenced as you explore the major components of Cairngorm that are commonly used to build
Cairngorm projects.
For now, here is a brief explanation of the classes and interfaces that you can find in each package:
com.adobe.cairngorm
The com.adobe.cairngorm package contains the following classes:
CairngormError: An error class thrown when a Cairngorm error occurs
CairngormMessageCodes: Stores Cairngorm message codes
com.adobe.cairngorm.business
The com.adobe.cairngorm.business package contains the following classes:
AbstractServices: Used to manage all services defined on the IServiceLocator instance
ServiceLocator: Allows services to be located and security credentials to be managed
It also contains the following interfaces:
IServiceLocator: Defines an interface for the service locator
IServices: Defines an interface for managing services on an IServiceLocator
Responder: Implemented by classes to handle data returned as the result of a service call to the
server. Deprecated as of Cairngorm 2.1 and replaced by mx.rpc.IResponder
com.adobe.cairngorm.commands
The com.adobe.cairngorm.commands package contains the following class:
SequenceCommand: A “ pseudo - abstract ” (since ActionScript has no real concept of abstract
classes) base class that can be extended when you wish to chain commands together for a single
user gesture, or establish some simple form of decision - based workflow
It also contains the following interfaces:
Command: Enforces the contract between the FrontController and concrete command classes in
your application. Deprecated as of Cairngorm 2.1 and replaced by com.adobe.cairngorm
.commands.ICommand
ICommand: Enforces the contract between the FrontController and concrete command classes in
your application
❑
❑
❑
❑
❑
❑
❑
❑
❑
❑
❑
❑
❑
c01.indd 4c01.indd 4 10/20/09 12:26:40 PM10/20/09 12:26:40 PM