Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



getDelegatesOfType()


This method returnsan array of delegates.

Parameter(s):

NameTypeMandatoryDefault Value




delegatorIdStringYN
fromDateTimeSimpleDateTime objectYN
toDateTimeSimpleDateTime objectYN

Returns:

TypeDescription
ArrayThis method returns an array of delegates.

Example 

Code Block
languagejs
themeEclipse
titlegetDelegatesOfType()
linenumberstrue

getDelegatorsOfType()


This method returns an array of the employees that delegated authority.

Parameter(s):

NameTypeMandatoryDefault Value
delegateIdStringYN
fromDateTimeSimpleDateTime objectYN
toDateTimeSimpleDateTime objectYN

Returns:

TypeDescription
ArrayThis method returns an array of delegates.

Example:

Code Block
languagejs
themeEclipse
titlegetDelegatorsOfType()
linenumberstrue

hasDelegationOfType()


This method returns true if there is a specific delegation record. 

Parameter(s):

NameTypeMandatoryDefault Value
delegateIdStringYN
delegatorIdStringYN
fromDateTimeSimpleDateTime objectYN
toDateTimeSimpleDateTime objectYN

Returns:

TypeDescription
BooleanThis method returns true if the delegation record with the specified value of the parameters exists. Otherwise, it returns false.

Example:

Code Block
languagejs
themeEclipse
titlehasDelegationOfType()
linenumberstrue