Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learning Force.com Application Development
  • Table Of Contents Toc
  • Feedback & Rating feedback
Learning Force.com Application Development

Learning Force.com Application Development

By : Madusanka
4.3 (4)
close
Learning Force.com Application Development

Learning Force.com Application Development

4.3 (4)
By: Madusanka

Overview of this book

If you are a developer who wants to learn how to develop and deploy applications from the Salesforce.com platform, then this book is for you. No prior knowledge of Salesforce is necessary.
Table of Contents (15 chapters)
close
14
Index

Writing Apex code – object-oriented programming in Apex


As in most OOP languages, classes are templates through which objects are instantiated that contain attributes and methods. Class methods or attributes can be invoked by other Apex scripts within the same organization except methods that have the webservice keyword. The webservice methods are available externally to the organization. Classes are stored with the version of the API used to compile them. Classes have an isValid flag that is true if dependent metadata has not changed since compilation. Classes may contain one level of inner classes. Inner class is a way of organizing the classes (same as the package in Java).

Creating Apex code

Apex classes can be created and edited through the Setup menu of the organization and Force.com IDE and Developer Console. You can interact with Apex classes via the setup page by navigating to Setup | Develop | Apex Classes. You will see the following screenshot:

Landing page of Apex classes

You can...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete