Skip to content

Latest commit

 

History

History
84 lines (55 loc) · 1.27 KB

File metadata and controls

84 lines (55 loc) · 1.27 KB

ORM Class

ORM class is the state manager for the Moxygen library. It is responsble for managing the state of the library's settings and context. It's named ORM because Salesforce is an ORM, and unfortunately, the Database namespace is already taken.

Group Moxygen

Methods

disableBacktickReplacement()

Sets the isBacktickReplaceEnabled flag to false

Signature

public static void disableBacktickReplacement()

Return Type

void


enableBacktickReplacement()

Sets the isBacktickReplaceEnabled flag to true

Signature

public static void enableBacktickReplacement()

Return Type

void


isBacktickReplacementEnabled()

Returns whether backtick replacement is enabled

Signature

public static Boolean isBacktickReplacementEnabled()

Return Type

Boolean

,[object Object]


isUnitTest()

Returns if the current context is a unit test

Signature

public static Boolean isUnitTest()

Return Type

Boolean

,[object Object]


validateUnitTestContext()

Validates that the current context is a unit test

Signature

public static void validateUnitTestContext()

Return Type

void

Throws

NoAccessException: