Skip to content

Commit

Permalink
Added docs to sobject selector
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-baillie-ortoo committed Dec 12, 2021
1 parent fc34884 commit 04128c9
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/**
* Is an extension of the provided fflib version of SobjectSelector in order to try to limit the impact of changes
* Is an extension of the provided fflib version of SobjectSelector.
*
* Reverses the default secruity setup for FLS, being that it defaults to enforcing FLS.
*
* @group fflib Extension
*/
Expand All @@ -11,6 +13,11 @@ public abstract inherited sharing class ortoo_SobjectSelector extends fflib_Sobj
enforceFLS();
}

/**
* Configure this instance to ignore FLS when selecting data.
*
* @return fflib_SObjectSelector Itself, allowing for a fluent interface.
*/
public fflib_SObjectSelector ignoreFls()
{
m_enforceFLS = false;
Expand Down

0 comments on commit 04128c9

Please sign in to comment.