answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
AleksAgata [21]
2 years ago
14

Universal Containers has implemented a strict software architecture for their custom Apex code. One of the requirements is that

all SOQL queries are contained within reusable classes. Depending on the context of the Apex transaction, the queries should be able to run either "With Sharing" or "Without Sharing". Which two ways allow the Architect to meet these requirements.
Computers and Technology
1 answer:
maxonik [38]2 years ago
6 0

Answer:

The required coding for the architect to meet these requirement has been described below.

Explanation:

The following ways will help the architecture to meet the requirement.

Create a reusable SOQLQueries class; specify “With Sharing” on the methods that require user context and “Without Sharing” on the methods requiring system context.

Create a SystemSOQLQueries class and a UserSOQLQueries class; set the “With Sharing” keyword on the UserSOQLQueries class and “Without Sharing” on the SystemSOQLQueries class.

You might be interested in
Which of the following terms best describes the process that occurs when two or more parties decide how to allocate scarce resou
Ierofanga [76]

Answer:

negotiation

Explanation:

In the allocation of scarce resources involving two or more parties, there must be some level of dialogue and considerations when allocating such resources. The process of dialogue in order to reach a compromise in the allocation is known as negotiation. It involves skills and abilities such as persuasion, communication, cooperating, and strategizing.

4 0
2 years ago
Use the ________ method to write text to a web page.
Nastasia [14]
Document.write()

I'm not sure that this is a method, but I think this is right. 
3 0
2 years ago
A(n) ________ is published by the receiver and used by the sender to encrypt messages.
____ [38]
The answer is "Key".  A public key and sometimes a private key are used by the sender and receiver to encrypt and decrypt messages.
7 0
2 years ago
What is the output of 1101 x 10 == 11000 + 10?
Marta_Voda [28]
== is an operator that returns a boolean if both operand are equal.

1101 * 10 is 11010

11000 + 10 is 11010


11010 == 11010

Thus the output would be True.
5 0
2 years ago
Edhesive Assignment 3: Chatbot on Python
marta [7]

Answer:

Explanation:

Easy peasy lemon squeezy

print: ("hey how are you why are you what are you")

print: ("1,2,3:"):

eif: ("1"):

print: ("nothing")

eif: ("2"):

print: ("Well i am doing this")

eif: ("3):

print: ("watched pewdiepie")

4 0
2 years ago
Read 2 more answers
Other questions:
  • my headphones have a mic and the mic and headset don't work at the same time what do i do to make them work together
    8·2 answers
  • Can someone please help me with this
    9·1 answer
  • In three to five sentences, describe how you can organize written information logically and sequentially
    8·1 answer
  • Seneca has just applied conditional formatting and realizes that she has made a mistake. Which action should she take to fix the
    12·1 answer
  • Which word in brackets is most opposite to the word in capitals? PROSCRIBE (allow, stifle, promote, verify)​
    14·2 answers
  • Explain an application of a data communication system, including issues encountered with implementing the application.
    13·1 answer
  • Without using any additional variables, and without changing the values of ndays or the elements of the parkingTickets array, wr
    14·1 answer
  • A company has offices in Honolulu, Seattle, Ogden, and Dublin, Ireland. There are transmission links between Honolulu and Seattl
    10·1 answer
  • (Java) Which of the following code segments correctly declare a Strings and gives it a value of "fortran".
    12·1 answer
  • Write a complete Java program that: Prompts an employee to enter the number of hours that they have worked in a given week and s
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!