Join Duard Lynn Davis for an in-depth discussion in this video Controller, part of Learning Salesforce.com Development.
- [Instructor] And finally we're going to look at the…Batch Apex Controller.…Again this is an optional class but it allows you…to create a button that you can put on the object…that you're dealing with.…In this case, we're dealing with cases.…And whenever you click that button, it's automatically…going to run your loader class so that you can…actually see what's happening.…You can debug and test your code.…So we create this, we need a Visualforce page.…I'm going to tell you if we haven't talked anything…about Visualforce pages at this point…so just take this one as is,…the Apex Page standard controller equals…the object we're dealing with, the extension,…and then the action that we want to complete.…
We then use our IDE and we create a new class…called Example Controller, again it's going to be public…with sharing class.…We're then going to modify that class…to look exactly like this.…Going to go ahead and create the start batch method.…The start batch method looks very similar…to our schedulable class.…We instantiate our loader,…
AuthorDuard Lynn Davis
- How Apex works
- Bulkification and triggers
- Systematically debugging your code
- Sets, lists, and maps
- Trigger and trigger handlers
- Batch Apex
- Debugging and logging
Skill Level Intermediate
1. Introduction to Environment
2. Sets, Lists, and Maps
3. Trigger and Trigger Handlers
4. Batch Apex
5. Debugging and Logging
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.