Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options questions only not deleted user 10834

A class is a template or blueprint from which objects are created. An object is an instance of a class.

4 votes
1 answer
1k views

Creating a Custom Object Handler Class

I am new to SF so any education about this request would be helpful, even if that includes saying this is a dumb request :P So far I have this: public virtual class Global_Settings { public static … Potentially this class and others like it would have utility like methods in here specific to the object. …
Xtremefaith's user avatar
  • 4,590
2 votes
1 answer
1k views

Can Wrapper Class Objects be used for Trigger Logic?

Working with Visual Force pages recently I've grown to like the benefits of defining inner class objects to store complex data structure as opposed to multidimensional maps. … For example I can easily store aggregated data into an inner object like this simple example: public CustomClass{ public class InnerObject{ public String var1 public Decimal var2 …
Xtremefaith's user avatar
  • 4,590
19 votes
2 answers
23k views

APEX: Use a dynamic string to create an instance of a class

I have an abstract class called Process that I extend to create a list of processes (List<Process>); each in relation to an object. … These records contain the String name of a class that I want to instantiate, but for the life of me I can't seem to find a way to do this. …
Xtremefaith's user avatar
  • 4,590
2 votes
2 answers
2k views

HttpResponse StatusCode=200, but 3rd party request (Pardot) not made

So my Pardot class method creates the URL like so: String add_prospect = 'https://pi.pardot.com/prospect/sync/email/'+l.Email+'? … req.setEndpoint(url); req.setMethod('POST'); //I tried GET as well req.setTimeout(60000); // Send the request, and return a response HttpResponse res = h.send(req); } This is my first trigger/class
Xtremefaith's user avatar
  • 4,590