@cparra/apexdocs 2.14.0 → 2.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -15
- package/docs/README.md +1 -84
- package/docs/types/Classes/nspc.AnotherInterface.md +7 -0
- package/docs/types/Classes/nspc.ChildClass.md +79 -0
- package/docs/{Main → types/Main}/nspc.GroupedClass.md +1 -1
- package/docs/{Main → types/Main}/nspc.SampleClass.md +30 -30
- package/docs/types/Misc-Group/nspc.GrandparentClass.md +13 -0
- package/docs/types/Misc-Group/nspc.InterfaceWithInheritance.md +29 -0
- package/docs/types/Misc-Group/nspc.MemberGrouping.md +13 -0
- package/docs/types/Misc-Group/nspc.ParentClass.md +37 -0
- package/docs/types/Misc-Group/nspc.Reference1.md +18 -0
- package/docs/types/Misc-Group/nspc.Reference2.md +12 -0
- package/docs/types/Misc-Group/nspc.Reference3.md +7 -0
- package/docs/types/Misc-Group/nspc.Reference4.md +7 -0
- package/docs/types/Misc-Group/nspc.Reference5.md +7 -0
- package/docs/{Misc-Group → types/Misc-Group}/nspc.Reference6.md +1 -1
- package/docs/types/Misc-Group/nspc.Reference7.md +7 -0
- package/docs/{Misc-Group → types/Misc-Group}/nspc.SampleClassWithoutModifier.md +1 -1
- package/docs/{Misc-Group → types/Misc-Group}/nspc.SampleRestResource.md +11 -19
- package/docs/{Misc-Group → types/Misc-Group}/nspc.SampleRestResourceWithInnerClass.md +6 -10
- package/docs/{Misc-Group → types/Misc-Group}/nspc.SampleRestResourceWithoutApexDocs.md +2 -2
- package/docs/types/README.md +91 -0
- package/docs/{Sample-Interfaces → types/Sample-Interfaces}/nspc.SampleInterface.md +6 -10
- package/examples/force-app/main/default/classes/AnotherInterface.cls +4 -0
- package/examples/force-app/main/default/classes/ChildClass.cls +4 -0
- package/examples/force-app/main/default/classes/SampleClass.cls +2 -0
- package/lib/cli/generate.js +5 -0
- package/lib/cli/generate.js.map +1 -1
- package/lib/model/markdown-generation-util/field-declaration-util.js +2 -2
- package/lib/model/markdown-generation-util/field-declaration-util.js.map +1 -1
- package/lib/model/markdown-generation-util/method-declaration-util.js +17 -13
- package/lib/model/markdown-generation-util/method-declaration-util.js.map +1 -1
- package/lib/settings.d.ts +2 -0
- package/lib/settings.js +3 -0
- package/lib/settings.js.map +1 -1
- package/lib/transpiler/markdown/class-file-generatorHelper.js +3 -1
- package/lib/transpiler/markdown/class-file-generatorHelper.js.map +1 -1
- package/package.json +2 -2
- package/src/cli/generate.ts +6 -0
- package/src/model/markdown-generation-util/field-declaration-util.ts +2 -2
- package/src/model/markdown-generation-util/method-declaration-util.ts +22 -13
- package/src/settings.ts +5 -0
- package/src/transpiler/markdown/class-file-generatorHelper.ts +2 -1
- package/docs/Misc-Group/nspc.AnotherInterface.md +0 -1
- package/docs/Misc-Group/nspc.ChildClass.md +0 -81
- package/docs/Misc-Group/nspc.GrandparentClass.md +0 -13
- package/docs/Misc-Group/nspc.InterfaceWithInheritance.md +0 -33
- package/docs/Misc-Group/nspc.MemberGrouping.md +0 -13
- package/docs/Misc-Group/nspc.ParentClass.md +0 -37
- package/docs/Misc-Group/nspc.Reference1.md +0 -18
- package/docs/Misc-Group/nspc.Reference2.md +0 -12
- package/docs/Misc-Group/nspc.Reference3.md +0 -7
- package/docs/Misc-Group/nspc.Reference4.md +0 -7
- package/docs/Misc-Group/nspc.Reference5.md +0 -7
- package/docs/Misc-Group/nspc.Reference7.md +0 -7
package/README.md
CHANGED
|
@@ -118,21 +118,22 @@ apexdocs-generate
|
|
|
118
118
|
|
|
119
119
|
The CLI supports the following parameters:
|
|
120
120
|
|
|
121
|
-
| Parameter
|
|
122
|
-
|
|
123
|
-
| --sourceDir
|
|
124
|
-
| --targetDir
|
|
125
|
-
| --recursive
|
|
126
|
-
| --scope
|
|
127
|
-
| --targetGenerator
|
|
128
|
-
| --indexOnly
|
|
129
|
-
| --defaultGroupName
|
|
130
|
-
| --sanitizeHtml
|
|
131
|
-
| --openApiTitle
|
|
132
|
-
| --title
|
|
133
|
-
| --namespace
|
|
134
|
-
| --openApiFileName
|
|
135
|
-
| --includeMetadata
|
|
121
|
+
| Parameter | Alias | Description | Default | Required |
|
|
122
|
+
|------------------------|-------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------|----------|
|
|
123
|
+
| --sourceDir | -s | The directory location which contains your apex .cls classes. | N/A | Yes |
|
|
124
|
+
| --targetDir | -t | The directory location where documentation will be generated to. | `docs` | No |
|
|
125
|
+
| --recursive | -r | Whether .cls classes will be searched for recursively in the directory provided. | `true` | No |
|
|
126
|
+
| --scope | -p | A list of scopes to document. Values should be separated by a space, e.g --scope public private. Note that this setting is ignored if generating an OpenApi REST specification since that looks for classes annotated with @RestResource. | `global` | No |
|
|
127
|
+
| --targetGenerator | -g | Define the static file generator for which the documents will be created. Currently supports: `jekyll`, `docsify`, `plain-markdown`, and `openapi`. | `jekyll` | No |
|
|
128
|
+
| --indexOnly | N/A | Defines whether only the index file should be generated. | `false` | No |
|
|
129
|
+
| --defaultGroupName | N/A | Defines the `@group` name to be used when a file does not specify it. | `Miscellaneous` | No |
|
|
130
|
+
| --sanitizeHtml | N/A | When on, any special character within your ApexDocs is converted into its HTML code representation. This is specially useful when generic objects are described within the docs, e.g. "List< Foo>", "Map<Foo, Bar>" because otherwise the content within < and > would be treated as HTML tags and not shown in the output. Content in @example blocks are never sanitized. | `Apex REST Api` | No |
|
|
131
|
+
| --openApiTitle | N/A | If using "openapi" as the target generator, this allows you to specify the OpenApi title value. | true | No |
|
|
132
|
+
| --title | N/A | Allows you to specify the home page main title. If using "openapi" this acts as an alias to the openApiTitle parameter | `Classes` | No |
|
|
133
|
+
| --namespace | N/A | The package namespace, if any. If this value is provided the namespace will be added as a prefix to all of the parsed files. If generating an OpenApi definition, it will be added to the file's Server Url. | N/A | No |
|
|
134
|
+
| --openApiFileName | N/A | If using "openapi" as the target generator, this allows you to specify the name of the output file. | `openapi` | No |
|
|
135
|
+
| --includeMetadata | N/A | Whether to include the file's meta.xml information: Whether it is active and and the API version | false | No |
|
|
136
|
+
| --documentationRootDir | N/A | The root directory where the documentation will be generated. This is useful when you want to generate the documentation in a subdirectory of your project. | N/A | No |
|
|
136
137
|
|
|
137
138
|
### Importing to your project
|
|
138
139
|
|
package/docs/README.md
CHANGED
|
@@ -1,84 +1 @@
|
|
|
1
|
-
|
|
2
|
-
## Misc Group
|
|
3
|
-
|
|
4
|
-
### [nspc.AnotherInterface](/Misc-Group/nspc.AnotherInterface.md)
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
### [nspc.ChildClass](/Misc-Group/nspc.ChildClass.md)
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
### [nspc.GrandparentClass](/Misc-Group/nspc.GrandparentClass.md)
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
### [nspc.InterfaceWithInheritance](/Misc-Group/nspc.InterfaceWithInheritance.md)
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
### [nspc.MemberGrouping](/Misc-Group/nspc.MemberGrouping.md)
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
### [nspc.ParentClass](/Misc-Group/nspc.ParentClass.md)
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
### [nspc.Reference1](/Misc-Group/nspc.Reference1.md)
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
### [nspc.Reference2](/Misc-Group/nspc.Reference2.md)
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
### [nspc.Reference3](/Misc-Group/nspc.Reference3.md)
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
### [nspc.Reference4](/Misc-Group/nspc.Reference4.md)
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
### [nspc.Reference5](/Misc-Group/nspc.Reference5.md)
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
### [nspc.Reference6](/Misc-Group/nspc.Reference6.md)
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
### [nspc.Reference7](/Misc-Group/nspc.Reference7.md)
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
### [nspc.SampleClassWithoutModifier](/Misc-Group/nspc.SampleClassWithoutModifier.md)
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
### [nspc.SampleRestResource](/Misc-Group/nspc.SampleRestResource.md)
|
|
47
|
-
|
|
48
|
-
Account related operations
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
### [nspc.SampleRestResourceWithInnerClass](/Misc-Group/nspc.SampleRestResourceWithInnerClass.md)
|
|
53
|
-
|
|
54
|
-
Contact related operations
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
### [nspc.SampleRestResourceWithoutApexDocs](/Misc-Group/nspc.SampleRestResourceWithoutApexDocs.md)
|
|
59
|
-
|
|
60
|
-
Order related operations
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
## Main
|
|
64
|
-
|
|
65
|
-
### [nspc.GroupedClass](/Main/nspc.GroupedClass.md)
|
|
66
|
-
|
|
67
|
-
Uses a block style apex doc
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
### [nspc.SampleClass](/Main/nspc.SampleClass.md)
|
|
72
|
-
|
|
73
|
-
This is a class description. This class relates to [nspc.SampleInterface](/Sample-Interfaces/nspc.SampleInterface.md)
|
|
74
|
-
But this [ClassThatDoesNotExist](ClassThatDoesNotExist) does not exist.
|
|
75
|
-
You can also link using this syntax [nspc.SampleInterface](/Sample-Interfaces/nspc.SampleInterface.md)
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
## Sample Interfaces
|
|
79
|
-
|
|
80
|
-
### [nspc.SampleInterface](/Sample-Interfaces/nspc.SampleInterface.md)
|
|
81
|
-
|
|
82
|
-
This is an interface description.
|
|
83
|
-
|
|
84
|
-
|
|
1
|
+
Go to [docs](/types/README.md) for more information.
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# nspc.ChildClass
|
|
2
|
+
|
|
3
|
+
Some desc
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
**Inheritance**
|
|
7
|
+
|
|
8
|
+
[nspc.GrandparentClass](types/Misc-Group/nspc.GrandparentClass.md)
|
|
9
|
+
>
|
|
10
|
+
[nspc.ParentClass](types/Misc-Group/nspc.ParentClass.md)
|
|
11
|
+
>
|
|
12
|
+
ChildClass
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
**Implemented types**
|
|
16
|
+
|
|
17
|
+
[nspc.SampleInterface](types/Sample-Interfaces/nspc.SampleInterface.md)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
**Group** Classes
|
|
21
|
+
|
|
22
|
+
## Fields
|
|
23
|
+
|
|
24
|
+
### `private privateStringFromChild` → `String`
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### `protected protectedGrandParentField` → `String`
|
|
28
|
+
|
|
29
|
+
*Inherited*
|
|
30
|
+
|
|
31
|
+
### `protected protectedStringFromParent` → `String`
|
|
32
|
+
|
|
33
|
+
*Inherited*
|
|
34
|
+
|
|
35
|
+
This is a protected string, use carefully.
|
|
36
|
+
|
|
37
|
+
### `public publicStringFromParent` → `String`
|
|
38
|
+
|
|
39
|
+
*Inherited*
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
## Properties
|
|
43
|
+
|
|
44
|
+
### `protected AProp` → `String`
|
|
45
|
+
|
|
46
|
+
*Inherited*
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
## Methods
|
|
50
|
+
### `public doSomething()`
|
|
51
|
+
### `public override overridableMethodOverridden()`
|
|
52
|
+
|
|
53
|
+
This method was overridden.
|
|
54
|
+
|
|
55
|
+
#### Returns
|
|
56
|
+
|
|
57
|
+
|Type|Description|
|
|
58
|
+
|---|---|
|
|
59
|
+
|String|A String.|
|
|
60
|
+
|
|
61
|
+
### `public execute()`
|
|
62
|
+
|
|
63
|
+
Executes the command.
|
|
64
|
+
|
|
65
|
+
### `public getValue()`
|
|
66
|
+
|
|
67
|
+
Returns a value based on the executed command.
|
|
68
|
+
|
|
69
|
+
#### Returns
|
|
70
|
+
|
|
71
|
+
|Type|Description|
|
|
72
|
+
|---|---|
|
|
73
|
+
|String|The value|
|
|
74
|
+
|
|
75
|
+
### `public overridableMethod()`
|
|
76
|
+
|
|
77
|
+
*Inherited*
|
|
78
|
+
|
|
79
|
+
---
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
`NAMESPACEACCESSIBLE`
|
|
4
4
|
|
|
5
|
-
This is a class description. This class relates to [nspc.SampleInterface](/Sample-Interfaces/nspc.SampleInterface.md)
|
|
5
|
+
This is a class description. This class relates to [nspc.SampleInterface](types/Sample-Interfaces/nspc.SampleInterface.md)
|
|
6
6
|
But this [ClassThatDoesNotExist](ClassThatDoesNotExist) does not exist.
|
|
7
|
-
You can also link using this syntax [nspc.SampleInterface](/Sample-Interfaces/nspc.SampleInterface.md)
|
|
7
|
+
You can also link using this syntax [nspc.SampleInterface](types/Sample-Interfaces/nspc.SampleInterface.md)
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
**Group** Main
|
|
@@ -16,15 +16,15 @@ This is a class description. This class relates to [nspc.SampleInterface](/Sampl
|
|
|
16
16
|
**Author** Cesar Parra
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
**See** [nspc.SampleInterface](/Sample-Interfaces/nspc.SampleInterface.md)
|
|
19
|
+
**See** [nspc.SampleInterface](types/Sample-Interfaces/nspc.SampleInterface.md)
|
|
20
20
|
|
|
21
21
|
## Constructors
|
|
22
22
|
### My Super Group
|
|
23
|
-
##### `SampleClass()`
|
|
23
|
+
##### `public SampleClass()`
|
|
24
24
|
|
|
25
25
|
`NAMESPACEACCESSIBLE`
|
|
26
26
|
|
|
27
|
-
Constructs a SampleClass without any arguments. This relates to [nspc.SampleInterface](/Sample-Interfaces/nspc.SampleInterface.md)
|
|
27
|
+
Constructs a SampleClass without any arguments. This relates to [nspc.SampleInterface](types/Sample-Interfaces/nspc.SampleInterface.md)
|
|
28
28
|
|
|
29
29
|
###### Throws
|
|
30
30
|
|
|
@@ -36,7 +36,7 @@ Constructs a SampleClass without any arguments. This relates to [nspc.SampleInte
|
|
|
36
36
|
**CustomAnnotation** A Custom method annotation
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
**See** [nspc.SampleInterface](/Sample-Interfaces/nspc.SampleInterface.md)
|
|
39
|
+
**See** [nspc.SampleInterface](types/Sample-Interfaces/nspc.SampleInterface.md)
|
|
40
40
|
|
|
41
41
|
###### Example
|
|
42
42
|
```apex
|
|
@@ -47,7 +47,7 @@ SampleClass sampleInstance = new SampleClass();
|
|
|
47
47
|
|
|
48
48
|
---
|
|
49
49
|
### Other
|
|
50
|
-
##### `SampleClass(String argument1, String argument2)`
|
|
50
|
+
##### `public SampleClass(String argument1, String argument2)`
|
|
51
51
|
|
|
52
52
|
Constructs a SampleClass with an argument.
|
|
53
53
|
|
|
@@ -62,28 +62,32 @@ Constructs a SampleClass with an argument.
|
|
|
62
62
|
## Fields
|
|
63
63
|
### Common Constants
|
|
64
64
|
|
|
65
|
-
* `ANOTHER_CONSTANT` → `String`
|
|
66
|
-
* `A_CONSTANT` → `String` [`NAMESPACEACCESSIBLE` ] - This is a constant.
|
|
67
|
-
* `listOfStrings` → `List<String>`
|
|
65
|
+
* `public ANOTHER_CONSTANT` → `String`
|
|
66
|
+
* `public A_CONSTANT` → `String` [`NAMESPACEACCESSIBLE` ] - This is a constant.
|
|
67
|
+
* `public listOfStrings` → `List<String>`
|
|
68
68
|
---
|
|
69
69
|
### 'General' Constants
|
|
70
70
|
|
|
71
|
-
* `GENERAL_ANOTHER_CONSTANT` → `String`
|
|
72
|
-
* `GENERAL_A_CONSTANT` → `String` [`NAMESPACEACCESSIBLE` ] - This is a constant.
|
|
71
|
+
* `public GENERAL_ANOTHER_CONSTANT` → `String`
|
|
72
|
+
* `public GENERAL_A_CONSTANT` → `String` [`NAMESPACEACCESSIBLE` ] - This is a constant.
|
|
73
73
|
---
|
|
74
74
|
### Other variables
|
|
75
75
|
|
|
76
|
-
* `someVariable` → `String`
|
|
76
|
+
* `public someVariable` → `String`
|
|
77
|
+
---
|
|
78
|
+
### Other
|
|
79
|
+
|
|
80
|
+
* `private somePrivateStuff` → `String`
|
|
77
81
|
---
|
|
78
82
|
## Properties
|
|
79
83
|
|
|
80
|
-
### `AnotherProp` → `Decimal`
|
|
84
|
+
### `public AnotherProp` → `Decimal`
|
|
81
85
|
|
|
82
86
|
`AURAENABLED`
|
|
83
87
|
|
|
84
88
|
This is a Decimal property.
|
|
85
89
|
|
|
86
|
-
### `MyProp` → `String`
|
|
90
|
+
### `public MyProp` → `String`
|
|
87
91
|
|
|
88
92
|
`AURAENABLED`
|
|
89
93
|
`DEPRECATED`
|
|
@@ -93,7 +97,7 @@ This is a String property.
|
|
|
93
97
|
---
|
|
94
98
|
## Methods
|
|
95
99
|
### A method group
|
|
96
|
-
##### `static sampleMethod(String argument1, String argument2)`
|
|
100
|
+
##### `public static sampleMethod(String argument1, String argument2)`
|
|
97
101
|
|
|
98
102
|
`NAMESPACEACCESSIBLE`
|
|
99
103
|
|
|
@@ -106,15 +110,11 @@ Executes commands based on the passed in argument.
|
|
|
106
110
|
|`argument1`|Argument1 to debug|
|
|
107
111
|
|`argument2`|Argument2 to debug|
|
|
108
112
|
|
|
109
|
-
######
|
|
110
|
-
|
|
111
|
-
**Type**
|
|
113
|
+
###### Returns
|
|
112
114
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
Empty string
|
|
115
|
+
|Type|Description|
|
|
116
|
+
|---|---|
|
|
117
|
+
|String|Empty string|
|
|
118
118
|
|
|
119
119
|
###### Example
|
|
120
120
|
```apex
|
|
@@ -123,7 +123,7 @@ System.debug(result);
|
|
|
123
123
|
```
|
|
124
124
|
|
|
125
125
|
|
|
126
|
-
##### `static anotherSampleMethod(String arg1)`
|
|
126
|
+
##### `public static anotherSampleMethod(String arg1)`
|
|
127
127
|
|
|
128
128
|
Something here
|
|
129
129
|
|
|
@@ -132,7 +132,7 @@ Something here
|
|
|
132
132
|
|
|
133
133
|
---
|
|
134
134
|
### Other
|
|
135
|
-
##### `static call()`
|
|
135
|
+
##### `public static call()`
|
|
136
136
|
|
|
137
137
|
Calls the method. This methods allows you to call it.
|
|
138
138
|
|
|
@@ -153,14 +153,14 @@ Inner class belonging to SampleClass.
|
|
|
153
153
|
|
|
154
154
|
#### Properties
|
|
155
155
|
|
|
156
|
-
##### `InnerProp` → `String`
|
|
156
|
+
##### `public InnerProp` → `String`
|
|
157
157
|
|
|
158
158
|
|
|
159
159
|
Description of the inner property.
|
|
160
160
|
|
|
161
161
|
---
|
|
162
162
|
#### Methods
|
|
163
|
-
##### `innerMethod()`
|
|
163
|
+
##### `public innerMethod()`
|
|
164
164
|
|
|
165
165
|
Executes from the inner class.
|
|
166
166
|
|
|
@@ -172,14 +172,14 @@ Inner class belonging to SampleClass.
|
|
|
172
172
|
|
|
173
173
|
#### Properties
|
|
174
174
|
|
|
175
|
-
##### `InnerProp` → `String`
|
|
175
|
+
##### `public InnerProp` → `String`
|
|
176
176
|
|
|
177
177
|
|
|
178
178
|
Description of the inner property.
|
|
179
179
|
|
|
180
180
|
---
|
|
181
181
|
#### Methods
|
|
182
|
-
##### `innerMethod()`
|
|
182
|
+
##### `public innerMethod()`
|
|
183
183
|
|
|
184
184
|
Executes from the inner class.
|
|
185
185
|
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# nspc.InterfaceWithInheritance
|
|
2
|
+
|
|
3
|
+
**Extended types**
|
|
4
|
+
|
|
5
|
+
[nspc.SampleInterface](types/Sample-Interfaces/nspc.SampleInterface.md)
|
|
6
|
+
,
|
|
7
|
+
[nspc.AnotherInterface](types/Classes/nspc.AnotherInterface.md)
|
|
8
|
+
## Methods
|
|
9
|
+
### `global execute()`
|
|
10
|
+
|
|
11
|
+
*Inherited*
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
Executes the command.
|
|
15
|
+
|
|
16
|
+
### `global getValue()`
|
|
17
|
+
|
|
18
|
+
*Inherited*
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
Returns a value based on the executed command.
|
|
22
|
+
|
|
23
|
+
#### Returns
|
|
24
|
+
|
|
25
|
+
|Type|Description|
|
|
26
|
+
|---|---|
|
|
27
|
+
|String|The value|
|
|
28
|
+
|
|
29
|
+
---
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# nspc.MemberGrouping
|
|
2
|
+
## Fields
|
|
3
|
+
### Group old syntax
|
|
4
|
+
|
|
5
|
+
* `public anotherInGroup1` → `String`
|
|
6
|
+
* `public inGroup1` → `String`
|
|
7
|
+
---
|
|
8
|
+
### Group new syntax
|
|
9
|
+
Group's description
|
|
10
|
+
|
|
11
|
+
* `public anotherInGroup2` → `String`
|
|
12
|
+
* `public inGroup2` → `String` - Description for constant in group 2
|
|
13
|
+
---
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# nspc.ParentClass
|
|
2
|
+
|
|
3
|
+
**Inheritance**
|
|
4
|
+
|
|
5
|
+
[nspc.GrandparentClass](types/Misc-Group/nspc.GrandparentClass.md)
|
|
6
|
+
>
|
|
7
|
+
ParentClass
|
|
8
|
+
|
|
9
|
+
## Fields
|
|
10
|
+
|
|
11
|
+
### `private privateStringFromParent` → `String`
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### `protected protectedGrandParentField` → `String`
|
|
15
|
+
|
|
16
|
+
*Inherited*
|
|
17
|
+
|
|
18
|
+
### `protected protectedStringFromParent` → `String`
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
This is a protected string, use carefully.
|
|
22
|
+
|
|
23
|
+
### `public publicStringFromParent` → `String`
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
## Properties
|
|
28
|
+
|
|
29
|
+
### `protected AProp` → `String`
|
|
30
|
+
|
|
31
|
+
*Inherited*
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
## Methods
|
|
35
|
+
### `public overridableMethod()`
|
|
36
|
+
### `public overridableMethodOverridden()`
|
|
37
|
+
---
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# nspc.Reference1
|
|
2
|
+
## Fields
|
|
3
|
+
|
|
4
|
+
### `public reference2Member` → `Reference2`
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
This is a reference 2 member. Lorem.
|
|
8
|
+
|
|
9
|
+
### `public reference3Member` → `Reference3`
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### `public reference4Collection` → `List<Reference4>`
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### `public reference5Member` → `Reference5`
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
---
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
Account related operations
|
|
6
6
|
|
|
7
7
|
## Methods
|
|
8
|
-
### `static doDelete()`
|
|
8
|
+
### `global static doDelete()`
|
|
9
9
|
|
|
10
10
|
`HTTPDELETE`
|
|
11
11
|
|
|
@@ -32,21 +32,17 @@ Sample HTTP Delete method with references to other types.
|
|
|
32
32
|
|
|
33
33
|
**Http Response** statusCode: 307 schema: Reference7[untypedObject:Reference2]
|
|
34
34
|
|
|
35
|
-
### `static doGet()`
|
|
35
|
+
### `global static doGet()`
|
|
36
36
|
|
|
37
37
|
`HTTPGET`
|
|
38
38
|
|
|
39
39
|
This is a sample HTTP Get method
|
|
40
40
|
|
|
41
|
-
####
|
|
41
|
+
#### Returns
|
|
42
42
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
Account
|
|
46
|
-
|
|
47
|
-
**Description**
|
|
48
|
-
|
|
49
|
-
An Account SObject.
|
|
43
|
+
|Type|Description|
|
|
44
|
+
|---|---|
|
|
45
|
+
|Account|An Account SObject.|
|
|
50
46
|
|
|
51
47
|
|
|
52
48
|
**Http Parameter** name: limit in: query required: true description: Limits the number of items on a page schema: type: integer
|
|
@@ -69,21 +65,17 @@ An Account SObject.
|
|
|
69
65
|
|
|
70
66
|
**Http Response** statusCode: 100 schema: type: object properties: anotherObject: description: An object inside of an object type: object properties: message: type: string somethingElse: type: number
|
|
71
67
|
|
|
72
|
-
### `static doPost(String name, String phone, String website)`
|
|
68
|
+
### `global static doPost(String name, String phone, String website)`
|
|
73
69
|
|
|
74
70
|
`HTTPPOST`
|
|
75
71
|
|
|
76
72
|
This is a sample HTTP Post method
|
|
77
73
|
|
|
78
|
-
####
|
|
79
|
-
|
|
80
|
-
**Type**
|
|
81
|
-
|
|
82
|
-
String
|
|
83
|
-
|
|
84
|
-
**Description**
|
|
74
|
+
#### Returns
|
|
85
75
|
|
|
86
|
-
|
|
76
|
+
|Type|Description|
|
|
77
|
+
|---|---|
|
|
78
|
+
|String|A String SObject.|
|
|
87
79
|
|
|
88
80
|
|
|
89
81
|
**Summary** Posts an Account 2
|