
Sometimes you can get it from the setup. Go to setup->monitor->jobs->scheduled jobs, and you'll see a list of all scheduled jobs. For apex classes that were scheduled through the 'Schedule Apex' button in setup->develop->apex classes, you'll see a 'Manage' link next to the job.
Full Answer
How to create batch apex in Salesforce?
Using Batch Apex
- Start
- Execute
- Finish
How to set and list methods in Salesforce apex?
Set Methods
- add (setElement) Adds an element to the set if it is not already present. ...
- addAll (fromList) Adds all of the elements in the specified list to the set if they are not already present. ...
- addAll (fromSet) Adds all of the elements in the specified set to the set that calls the method if they are not already present.
How to use custom labels in apex class in Salesforce?
To define custom labels, from Setup, in the Quick Find box, enter Custom Labels, and then select Custom Labels. In your Apex class, reference the label with the syntax System.Label.MyLabelName . Return label values as plain text strings. You can’t return a label expression using the $Label global value provider.
What is an apex class in Salesforce?
Summary:
- Apex is a strongly typed, object-oriented programming language that compiles and run on force.com platform
- Apex programming language is a case insensitive language
- Two types of flow of actions in Apex are 1) Developer action 2) End-user action
- Apex helps you to create web services that integrate Salesforce with other applications.

How do I get a list of Apex classes in Salesforce?
From Setup, enter Apex Classes in the Quick Find box, then select Apex Classes.Click the name of the class you want to view.
How do you find the class class for Apex?
Go to Developer Console > File > Open > 'Select class', top left corner says which tests are covering the specific class. Click on the Code coverage drop down, there you can see the test class for that particular class.
How do I use SOQL query in Apex class?
To include SOQL queries within your Apex code, wrap the SOQL statement within square brackets and assign the return value to an array of sObjects. For example, the following retrieves all account records with two fields, Name and Phone, and returns an array of Account sObjects.
How do I read the apex class in Salesforce?
1:3039:49Salesforce Apex Tutorial for Beginners - YouTubeYouTubeStart of suggested clipEnd of suggested clipNow apex syntax looks 70 the same as that of java apex enables developers to add business logic toMoreNow apex syntax looks 70 the same as that of java apex enables developers to add business logic to most system events which includes button clicks record updates and creating visual force pages.
What are Apex classes in Salesforce?
An Apex class is a template or blueprint from which Apex objects are created. Classes consist of other classes, user-defined methods, variables, exception types, and static initialization code.
What is test isRunningTest () in Salesforce?
isRunningTest() - Returns true if the currently executing code was called by code contained in a test method, false otherwise. Use this method if you need to run different code depending on whether it was being called from a test.
How do I query a related list in Salesforce?
You can use a subquery: SELECT Id, Name, (SELECT Id, Name FROM Approvers__r) FROM opportunity. In Visualforce pages with a standard controller, you can use the apex:relatedList component to automatically show the list as it would have shown in the page layout.
How do I query Sobject in Salesforce?
If you have the sobject name in a string, e,g, 'sobjname', you can then query back the record via something like: String queryStr='select id from ' + sobjname; List
How do I query data in Salesforce?
Salesforce – Viewing Data in the Developer ConsoleAll of the object's fields display. Select the fields you would like displayed in the result list. ... Click the Query button to create and add the SOQL query to the editor.Click the Execute button to run the query and see the results.
How do you read an Apex code?
Apex is a strongly-typed language, that is, you must declare the data type of a variable when you first refer to it. Apex data types include basic types such as Integer, Date, and Boolean, as well as more advanced types such as lists, maps, objects and sObjects. Variables are declared with a name and a data type.
What is SObject in Salesforce?
Sobjects are standard or custom objects that stores record data in the force.com database. There is also SObject datatype in apex that is the programmatic representation of these SObjects. Developers referes to SObject and their fields by their API names.
What is the difference between Apex class and Apex trigger?
Classes consist of other classes, user-defined methods, variables, exception types, and static initialization code A trigger is Apex code that executes before or after specific data manipulation language (DML) events occur, such as before object records are inserted into the database, or after records have been deleted ...
How to reference an element of a one-dimensional list of primitives?
To reference an element of a one-dimensional list of primitives or sObjects, you can also follow the name of the list with the element's index position in square brackets as shown in the example.
Why is the first element of a list null?
In the following example, the list has three elements. When the list is sorted, the first element is null because it has no value assigned. The second element and third element have values of 5 and 10.
addAll (fromList)
Adds all of the elements in the specified list to the list that calls the method. Both lists must be of the same type.
addAll (fromSet)
Add all of the elements in specified set to the list that calls the method. The set and the list must be of the same type.
clear ()
Removes all elements from a list, consequently setting the list's length to zero.
deepClone (preserveId, preserveReadonlyTimestamps, preserveAutonumber)
Makes a duplicate copy of a list of sObject records, including the sObject records themselves.
equals (list2)
Compares this list with the specified list and returns true if both lists are equal; otherwise, returns false.
getSObjectType ()
Returns the token of the sObject type that makes up a list of sObjects.
indexOf (listElement)
Returns the index of the first occurrence of the specified element in this list. If this list does not contain the element, returns -1.