Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [abstract]

The tag has no usage guidance.

1
vote
0answers
10 views

State transfer between abstract extensible component and lightning:isUrlAddressable

I've got a little problem and thinking I might have designed my component a little incorrectly. I'm storing quite a bit of state in an abstract extensible component for convenience. I've noticed if I ...
13
votes
1answer
622 views

Can create an Instance of Abstract Class, Salesforce Bug?

I was playing with Apex and stumbled upon this. Created an Abstract Class and made the constructor as private, so that noone can create an instance of it. This works just fine during compilation. it ...
3
votes
2answers
111 views

How can I upsert a homogeneous List<SObject>, in a good way? [duplicate]

I have some abstracted code, which at the end of some process will create a homogeneous list of SObjects. It could be a list of Accounts, it could be a list of contacts, it could be a list of some ...
0
votes
0answers
61 views

Utility methods failing with 'cannot call test methods in non-test context'

I generate a number of different email notifications from Cases, with variations depending on Account location, for example. They've morphed from basic workflow email templates in order to gather ...
5
votes
0answers
179 views

Using abstract component to iterate sub-component - how to correctly bind state?

I have this idea for a generic component that would allow adding, deleting and copying entries in the form - abstract component handles adding, cloning, etc, while your main component holds actual ...
1
vote
1answer
164 views

Abstract Class with Generic Type?

Is there a way I can implement something like an abstract class with a generic type? For example, I want to be able to write code like the following (I know there are issues there). The main error I ...