1answer.
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
qwelly [4]
3 years ago
10

Universal Containers (UC) has a requirement to expose a web service to their business partners. The web service will be used to

allow each business partner to query UC's Salesforce instance to retrieve the status of orders. The business partner should only be allowed access to orders for which the business partner is the fulfillment vendor. The Architect does not want the business partners to utilize the standard APIs and would prefer a custom API be developed. Which three design elements should the Architect consider in order to ensure the data security of the solution?
Engineering
1 answer:
ivanzaharov [21]3 years ago
3 0

Answer:

"- Set the Orders object's sharing settings to Private in the Org-Wide Defaults

_Provide each partner with their own Salesforce login set to API Enabled on the profile

-Develop a custom Apex web service using the "With Sharing" keyword"

Explanation:

<em>Universal Containers (UC) has a requirement to expose a web service to their business partners. The web service will be used to allow each business partner to query UC's Salesforce instance to retrieve the status of orders. The business partner should only be allowed access to orders for which the business partner is the fulfillment vendor. The Architect does not want the business partners to utilize the standard APIs and would prefer a custom API be developed. Which three design elements should the Architect consider in order to ensure the data security of the solution?</em>

<em>A. Query the Orders object with Dynamic SOQL based upon the fulfillment ID. </em>

<em>B. Set the Orders object's sharing settings to Private in the Org-Wide Defaults </em>

<em>C. Provide each partner with their own Salesforce login set to API Enabled on the profile.  </em>

<em>D. Develop a custom Apex web service with a fulfillment ID input attribute </em>

<em>E. Develop a custom Apex web service using the "With Sharing" keyword.</em>

<em />

<em>The above should be a follow up option to the question</em>

The Architect should consider the following design

"- Set the Orders object's sharing settings to Private in the Org-Wide Defaults

_Provide each partner with their own Salesforce login set to API Enabled on the profile

-Develop a custom Apex web service using the "With Sharing" keyword"

 There is need for some sharing rule between the architect and the user

You might be interested in
Explain how use of EGR is effective in reducing NOx emissions 4. In most locations throughout the U.S., the octane number of reg
TiliK225 [7]

Answer:please see attached file

Explanation:

3 0
3 years ago
A six-lane freeway (three lanes in each direction) with a 5.5% uphill grade 1.5 miles long has 10-ft lanes and obstructions 5 ft
sertanlavr [38]
The answer would be:
A. LOS B
4 0
3 years ago
Read 2 more answers
Alcohol consumption tends to cause more ___________ behavior.
lions [1.4K]

Answer:

Aggressive behavior

Explanation:

Alcohol consumption tends to cause more Aggressive behavior.

The consumption of alcohol plays a more role in our culture but drinking of too much alcohol can cause drowsiness, vomiting, Upset stomach, slurred speech, heart damage, infertile, numbness lung infections, and many more. Also too much alcohol can cause violence, anger and so on in the society.    

8 0
3 years ago
Privacy settings allow account owners to decide who can
VLD [36.1K]
Access their accounts.

anyone can search for them online.
they only meet in person with who they choose.
no one can view their personal information (other than companies they give it to.)
6 0
3 years ago
Reference Parameters (returning multiple values): Write a C++ function that converts standard time to military time. Inputs incl
valkas [14]

Answer:

Code is given as below:

Explanation:

#include <iostream>

using namespace std;

//function prototype declaration

void MilitaryTime(int, int, char, int &, int &);

int main()

{

    //declare required variables

    int SHour, SMin, MHour, MMin;

    char AorP;

    //promt and read the hours from the user

    cout<<"Enter hours in standard time : ";

    cin>>SHour;

    //check the hours are valid are not

    while(SHour<0 || SHour>12)

    {

         cout<<"Invalid hours for standard time. "

             <<"Try again..."<<endl;

         cout<<"Enter hours in standard time : ";

         cin>>SHour;

    }

    //promt and read the minutes from the user

    cout<<"Enter minutes in standard time : ";

    cin>>SMin;

    //check the minutes are valid are not

    while(SMin<0 || SMin>59)

    {

         cout<<"Invalid minutes for standard time. "

             <<"Try again..."<<endl;

         cout<<"Enter minutes in standard time : ";

         cin>>SMin;

    }

    //promt and read the am or pm from the user

    cout<<"Enter standard time meridiem (a for AM p for PM): ";

    cin>>AorP;

    //check the meridiem is valid are not

    while(!(AorP=='a' || AorP=='p' || AorP=='A' || AorP=='P'))

    {

         cout<<"Invalid meridiem for standard time. "

             <<"Try again..."<<endl;

         cout<<"Enter standard time meridiem (a for AM p for PM): ";

         cin>>AorP;

    }

    //call function to calculate the military time

    MilitaryTime(SHour, SMin, AorP, MHour, MMin);

    //fill zeros and display standard time

    cout.width(2);

    cout.fill('0');

    cout<<SHour<<":";

    cout.width(2);

    cout.fill('0');

    cout<<SMin;

    if(AorP=='a' || AorP=='A')

         cout<<" am = ";

    else

         cout<<" pm = ";

    //fill zeros and display military time

    cout.width(2);

    cout.fill('0');

    cout<<MHour;

    cout.width(2);

    cout.fill('0');

    cout<<MMin<<endl;

    system("PAUSE");

    return 0;

}

//function to calculate the military time with reference parameters

void MilitaryTime(int SHour, int SMin, char AorP, int &MHour, int &MMin)

{

    //check the meredium is am or pm

    //and calculate hours

    if(AorP=='a' || AorP=='A')

    {

         if(SHour==12)

             MHour = 0;

         else

             MHour = SHour;

    }

    else

         MHour = SHour+12;

    MMin = SMin;

5 0
3 years ago
Other questions:
  • Work-producing devices that operate on reversible processes deliver the most work, and work-consuming devices that operate on re
    6·1 answer
  • Which of the following elements of the CIA triad refers to maintaining and assuring the accuracy of data over its life-cycle?
    7·1 answer
  • Using the results of the Arrhenius analysis (Ea=93.1kJ/molEa=93.1kJ/mol and A=4.36×1011M⋅s−1A=4.36×1011M⋅s−1), predict the rate
    10·1 answer
  • Kinetic energy is defined as energy of an object in:
    6·2 answers
  • Ear "popping" is an unpleasant phenomenon sometimes experienced when a change in pressure occurs, for example in a
    12·1 answer
  • What is compression ratio of an Otto cycle? How does it affect the thermal efficiency of the cycle?
    14·1 answer
  • The Greek alphabet has 24 distinct lowercase letters. How many bits are needed to be able to encode any single lowercase Greek l
    9·1 answer
  • Which of the following is an essential component of reinforced concrete?
    9·1 answer
  • The two major forces opposing the motion of a vehicle moving on a level road are the rolling resistance of the tires, Fr, and th
    7·1 answer
  • Wells drilled by a nonprofit called Water for South Sudan use a pump that can provide up to 5,500 gallons of water per day. Use
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!