Skip to content

Commit

Permalink
fix(project-scratch-def): removing pre-release
Browse files Browse the repository at this point in the history
Signed-off-by: kpoorman <kjp@codefriar.com>
  • Loading branch information
codefriar committed Oct 19, 2023
1 parent dc2ea9e commit 7897308
Show file tree
Hide file tree
Showing 50 changed files with 668 additions and 668 deletions.
2 changes: 1 addition & 1 deletion config/project-scratch-def.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"orgName": "ApexKit Company",
"description": "ApexKitV2.5",
"edition": "Developer",

"hasSampleData": true,
"features": [
"EinsteinGPTForDevelopers",
Expand Down
8 changes: 4 additions & 4 deletions docs/BulkCallable.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Provides a similar interface to Callable, but bulkified to handle multiple sets

## Methods

### `public List call(String methodName, List<Map<String,Object>> parameters)`
### `public List<Object> call(String methodName, List<Map<String,Object>> parameters)`

Implementing classes must implement this method signature.

Expand All @@ -19,8 +19,8 @@ Implementing classes must implement this method signature.

#### Returns

| Type | Description |
| ------------ | --------------------------------------------------- |
| List<Object> | List<Object> The results of the called Apex methods |
| Type | Description |
| -------------- | --------------------------------------------------- |
| `List<Object>` | List<Object> The results of the called Apex methods |

---
150 changes: 75 additions & 75 deletions docs/CanTheUser.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ A method to determine if the running user can perform the specified CRUD operati

#### Returns

| Type | Description |
| ------- | ----------------------------------------------------------------------------------------- |
| Boolean | Boolean true if the user can perform the specified CRUD operation on the specified object |
| Type | Description |
| --------- | ----------------------------------------------------------------------------------------- |
| `Boolean` | Boolean true if the user can perform the specified CRUD operation on the specified object |

#### Example

Expand All @@ -64,9 +64,9 @@ a list accepting version of the crud method. It returns CRUD results for the fir

#### Returns

| Type | Description |
| ------- | ------------------------------------------------------------------------------------------------- |
| Boolean | Boolean true if the user can perform the specified CRUD operation on the first object in the list |
| Type | Description |
| --------- | ------------------------------------------------------------------------------------------------- |
| `Boolean` | Boolean true if the user can perform the specified CRUD operation on the first object in the list |

### `private static Boolean crud(String objectName, CrudType permission)`

Expand All @@ -83,9 +83,9 @@ A method to determine if the running user can perform the specified CRUD operati

#### Returns

| Type | Description |
| ------- | ----------------------------------------------------------------------------------------- |
| Boolean | Boolean true if the user can perform the specified CRUD operation on the specified object |
| Type | Description |
| --------- | ----------------------------------------------------------------------------------------- |
| `Boolean` | Boolean true if the user can perform the specified CRUD operation on the specified object |

### `public static Boolean create(SObject obj)`

Expand All @@ -99,9 +99,9 @@ convenience api for determining if the running user can create the specified obj

#### Returns

| Type | Description |
| ------- | -------------------------------------------------------- |
| Boolean | Boolean true if the user can create the specified object |
| Type | Description |
| --------- | -------------------------------------------------------- |
| `Boolean` | Boolean true if the user can create the specified object |

#### Example

Expand All @@ -121,9 +121,9 @@ convenience api for determining if the running user can create the specified obj

#### Returns

| Type | Description |
| ------- | ---------------------------------------------------------------- |
| Boolean | Boolean true if the user can create the first object in the list |
| Type | Description |
| --------- | ---------------------------------------------------------------- |
| `Boolean` | Boolean true if the user can create the first object in the list |

### `public static Boolean create(String objName)`

Expand All @@ -137,9 +137,9 @@ convenience api for determining if the running user can create the specified obj

#### Returns

| Type | Description |
| ------- | -------------------------------------------------------- |
| Boolean | Boolean true if the user can create the specified object |
| Type | Description |
| --------- | -------------------------------------------------------- |
| `Boolean` | Boolean true if the user can create the specified object |

#### Example

Expand All @@ -159,9 +159,9 @@ convenience api for determining if the running user can read / access the specif

#### Returns

| Type | Description |
| ------- | ------------------------------------------------------ |
| Boolean | Boolean true if the user can read the specified object |
| Type | Description |
| --------- | ------------------------------------------------------ |
| `Boolean` | Boolean true if the user can read the specified object |

#### Example

Expand All @@ -181,9 +181,9 @@ convenience api for determining if the running user can read / access the specif

#### Returns

| Type | Description |
| ------- | ------------------------------------------------------ |
| Boolean | Boolean true if the user can read the specified object |
| Type | Description |
| --------- | ------------------------------------------------------ |
| `Boolean` | Boolean true if the user can read the specified object |

### `public static Boolean read(String objName)`

Expand All @@ -197,9 +197,9 @@ convenience api for determining if the running user can read the specified objec

#### Returns

| Type | Description |
| ------- | ------------------------------------------------------ |
| Boolean | Boolean true if the user can read the specified object |
| Type | Description |
| --------- | ------------------------------------------------------ |
| `Boolean` | Boolean true if the user can read the specified object |

#### Example

Expand All @@ -219,9 +219,9 @@ convenience api for determining if the running user can edit / update the specif

#### Returns

| Type | Description |
| ------- | ------------------------------------------------------ |
| Boolean | Boolean true if the user can edit the specified object |
| Type | Description |
| --------- | ------------------------------------------------------ |
| `Boolean` | Boolean true if the user can edit the specified object |

#### Example

Expand All @@ -241,9 +241,9 @@ convenience api for determining if the running user can edit / update the specif

#### Returns

| Type | Description |
| ------- | ------------------------------------------------------ |
| Boolean | Boolean true if the user can edit the specified object |
| Type | Description |
| --------- | ------------------------------------------------------ |
| `Boolean` | Boolean true if the user can edit the specified object |

### `public static Boolean edit(String objName)`

Expand All @@ -257,9 +257,9 @@ convenience api for determining if the running user can edit the specified objec

#### Returns

| Type | Description |
| ------- | ------------------------------------------------------ |
| Boolean | Boolean true if the user can edit the specified object |
| Type | Description |
| --------- | ------------------------------------------------------ |
| `Boolean` | Boolean true if the user can edit the specified object |

#### Example

Expand All @@ -279,9 +279,9 @@ convenience api for determining if the running user can upsert (insert and updat

#### Returns

| Type | Description |
| ------- | -------------------------------------------------------- |
| Boolean | Boolean true if the user can upsert the specified object |
| Type | Description |
| --------- | -------------------------------------------------------- |
| `Boolean` | Boolean true if the user can upsert the specified object |

#### Example

Expand All @@ -301,9 +301,9 @@ convenience api for determining if the running user can edit / update the specif

#### Returns

| Type | Description |
| ------- | -------------------------------------------------------- |
| Boolean | Boolean true if the user can upsert the specified object |
| Type | Description |
| --------- | -------------------------------------------------------- |
| `Boolean` | Boolean true if the user can upsert the specified object |

### `public static Boolean ups(String objName)`

Expand All @@ -317,9 +317,9 @@ convenience api for determining if the running user can upsert the specified obj

#### Returns

| Type | Description |
| ------- | --------------------------------------------------------- |
| Boolean | Boolean true if the user can upsert the specified objects |
| Type | Description |
| --------- | --------------------------------------------------------- |
| `Boolean` | Boolean true if the user can upsert the specified objects |

#### Example

Expand All @@ -339,9 +339,9 @@ convenience api for determining if the running user can delete/destroy the speci

#### Returns

| Type | Description |
| ------- | -------------------------------------------------------- |
| Boolean | Boolean true if the user can delete the specified object |
| Type | Description |
| --------- | -------------------------------------------------------- |
| `Boolean` | Boolean true if the user can delete the specified object |

#### Example

Expand All @@ -361,9 +361,9 @@ convenience api for determining if the running user can delete the specified obj

#### Returns

| Type | Description |
| ------- | -------------------------------------------------------- |
| Boolean | Boolean true if the user can delete the specified object |
| Type | Description |
| --------- | -------------------------------------------------------- |
| `Boolean` | Boolean true if the user can delete the specified object |

### `public static Boolean destroy(String objName)`

Expand All @@ -377,9 +377,9 @@ convenience api for determining if the running user can delete the specified obj

#### Returns

| Type | Description |
| ------- | -------------------------------------------------------- |
| Boolean | Boolean true if the user can delete the specified object |
| Type | Description |
| --------- | -------------------------------------------------------- |
| `Boolean` | Boolean true if the user can delete the specified object |

#### Example

Expand All @@ -400,17 +400,17 @@ public static method to determine if a given field on a given object is Accessib

#### Returns

| Type | Description |
| ------- | ----------------------------------------------------------------------------- |
| Boolean | Boolean true if the user can read the specified field on the specified object |
| Type | Description |
| --------- | ----------------------------------------------------------------------------- |
| `Boolean` | Boolean true if the user can read the specified field on the specified object |

#### Example

```apex
System.debug(CanTheUser.flsAccessible('Account', 'Name'));
```

### `public static Map bulkFLSAccessible(String obj, Set<String> fields)`
### `public static Map<String,Boolean> bulkFLSAccessible(String obj, Set<String> fields)`

bulk form of flsAccessible

Expand All @@ -423,9 +423,9 @@ bulk form of flsAccessible

#### Returns

| Type | Description |
| ------------------- | ----------------------------------------------------------------------------------------- |
| Map<String,Boolean> | `Map<String, Boolean>` where the key is the field name and the value is the accessibility |
| Type | Description |
| --------------------- | ----------------------------------------------------------------------------------------- |
| `Map<String,Boolean>` | `Map<String, Boolean>` where the key is the field name and the value is the accessibility |

#### Example

Expand All @@ -447,17 +447,17 @@ public static method to determine if a given field on a given object is Updatabl

#### Returns

| Type | Description |
| ------- | ------------------------------------------------------------------------------- |
| Boolean | Boolean true if the user can update the specified field on the specified object |
| Type | Description |
| --------- | ------------------------------------------------------------------------------- |
| `Boolean` | Boolean true if the user can update the specified field on the specified object |

#### Example

```apex
System.debug(CanTheUser.flsUpdatable('Account', 'Name'));
```

### `public static Map bulkFLSUpdatable(String obj, Set<String> fields)`
### `public static Map<String,Boolean> bulkFLSUpdatable(String obj, Set<String> fields)`

bulk form of flsUpdatable call

Expand All @@ -470,9 +470,9 @@ bulk form of flsUpdatable call

#### Returns

| Type | Description |
| ------------------- | ---------------------------------------------------------------------------------------- |
| Map<String,Boolean> | `Map<String, Boolean>` where the key is the field name and the value is the updatability |
| Type | Description |
| --------------------- | ---------------------------------------------------------------------------------------- |
| `Map<String,Boolean>` | `Map<String, Boolean>` where the key is the field name and the value is the updatability |

#### Example

Expand All @@ -495,11 +495,11 @@ Abstracted method for retrieving or calculating (memoization) of the FLS for a g

#### Returns

| Type | Description |
| ------- | ----------- |
| Boolean | `Boolean` |
| Type | Description |
| --------- | ----------- |
| `Boolean` | `Boolean` |

### `private static Map calculateFLS(String objType)`
### `private static Map<String,Map<FLSType,Boolean>> calculateFLS(String objType)`

Calculates the FLS for a given object type

Expand All @@ -511,9 +511,9 @@ Calculates the FLS for a given object type

#### Returns

| Type | Description |
| -------------------------------- | ------------------------------------ |
| Map<String,Map<FLSType,Boolean>> | `Map<String, Map<FLSType, Boolean>>` |
| Type | Description |
| ---------------------------------- | ------------------------------------ |
| `Map<String,Map<FLSType,Boolean>>` | `Map<String, Map<FLSType, Boolean>>` |

---

Expand Down
2 changes: 1 addition & 1 deletion docs/CanTheUserTests.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## Methods

### `private static List generateAccounts()`
### `private static List<Account> generateAccounts()`

### `private static void canCrudAccountCreatePositive()`

Expand Down
Loading

0 comments on commit 7897308

Please sign in to comment.