Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
getDelegatesOfType()
This method returnsan array of delegates.
Parameter(s):
Name | Type | Mandatory | Default Value |
---|---|---|---|
delegatorId | String | Y | N |
Returns:
Type | Description |
---|---|
Array | This method returns an array of delegates. |
Example
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
getDelegatorsOfType()
This method returns an array of the employees that delegated authority.
Parameter(s):
Name | Type | Mandatory | Default Value |
---|---|---|---|
delegateId | String | Y | N |
Returns:
Type | Description |
---|---|
Array | This method returns an array of delegates. |
Example:
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
hasDelegationOfType()
This method returns true if there is a specific delegation record.
Parameter(s):
Name | Type | Mandatory | Default Value |
---|---|---|---|
delegateId | String | Y | N |
delegatorId | String | Y | N |
Returns:
Type | Description |
---|---|
Boolean | This method returns true if the delegation record with the specified value of the parameters exists. Otherwise, it returns false. |
Example:
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||