Book Image

Force.com Enterprise Architecture

By : Andrew Fawcett
Book Image

Force.com Enterprise Architecture

By: Andrew Fawcett

Overview of this book

Table of Contents (20 chapters)
Force.com Enterprise Architecture
Credits
Foreword
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

The packaging code


The source code provided with this chapter contains skeleton Apex classes shown in the UML diagrams used earlier in this chapter. In the upcoming chapters, we will flesh out the methods and logic within them. For now, deploy them into your packaging org and add them into your package. Note that once you add Apex classes, any Apex classes they subsequently go on to reference will be automatically pulled into the package. The following is a list of the Apex classes added in this chapter and the application architecture layer they apply to:

Apex class

Layer

SeasonController.cls

Visualforce Controller

SeasonControllerTest.cls

Apex test

ContestantController.cls

Visualforce Controller

ContestantControllerTest.cls

Apex test

RaceController.cls

Visualforce Controller

RaceControllerTest.cls

Apex test

SeasonNewsletterScheduler.cls

Apex Scheduler

SeasonNewsletterSchedulerTest.cls

Apex test

RaceService.cls

Race Service

RaceServiceTest.cls

Apex...