Salesforce Apex Language Reference
Force.com Apex Code Developer's Guide
Last updated: June 15 2012
© Copyright 2000–2012 salesforce.com, inc. All rights reserved. Salesforce.com is a registered trademark of salesforce.com, inc., as are other
names and marks. Other marks appearing herein may be trademarks of their respective owners.
Table of Contents
Table of Contents
Chapter 1:Introducing Apex...............................................................................................................11
What is Apex?.........................................................................................................................................................................12
How Does ApexWork?..............................................................................................................................................13
What is the Apex Development Process?....................................................................................................................14
Using a Developer or SandboxOrganization...................................................................................................14
Learning Apex.................................................................................................................................................17
Writing Apex...................................................................................................................................................18
WritingTests...................................................................................................................................................19
Deploying Apex to a Sandbox Organization...................................................................................................19
Deploying Apex to a Salesforce Production Organization...............................................................................20
AddingApex Code to a Force.com AppExchange App..................................................................................20
When Should I Use Apex?..........................................................................................................................................21
What are the Limitations ofApex?.............................................................................................................................21
What's New?...........................................................................................................................................................................22
Apex QuickStart.....................................................................................................................................................................22
Documentation Typographical Conventions...............................................................................................................22
Understanding Apex Core Concepts...........................................................................................................................23
Writing Your First Apex Class andTrigger................................................................................................................28
Creating a Custom Object...............................................................................................................................28
Adding an ApexClass.....................................................................................................................................29
Adding an Apex Trigger..................................................................................................................................30
Adding a Test Class.........................................................................................................................................31
Deploying Components to...
Regístrate para leer el documento completo.