ThreadedCommentAuthorCollection
Contents
[
Hide
]ThreadedCommentAuthorCollection class
Represents all persons who .
class ThreadedCommentAuthorCollection;
Constructors
| Constructor | Description | 
|---|---|
| constructor() | Default Constructor. | 
Properties
| Property | Type | Description | 
|---|---|---|
| currentPerson | ThreadedCommentAuthor | Gets and sets the current user. | 
Methods
| Method | Description | 
|---|---|
| get(number) | Gets the person who create threaded comments. | 
| get(string) | Gets the person who create threaded comments. | 
| getCurrentPerson() | @deprecated. Please use the ‘currentPerson’ property instead. Gets and sets the current user. | 
| setCurrentPerson(ThreadedCommentAuthor) | @deprecated. Please use the ‘currentPerson’ property instead. Gets and sets the current user. | 
| indexOf(ThreadedCommentAuthor) | Gets the index of ThreadedCommentAuthor object | 
| add(string, string, string) | Adds one thread comment person. | 
| getCount() | @deprecated. Please use the ‘count’ property instead. Gets the number of elements contained in. | 
| isNull() | Checks whether the implementation object is null. | 
constructor()
Default Constructor.
constructor();
currentPerson
Gets and sets the current user.
currentPerson : ThreadedCommentAuthor;
get(number)
Gets the person who create threaded comments.
get(index: number) : ThreadedCommentAuthor;
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| index | number | The index | 
Returns
get(string)
Gets the person who create threaded comments.
get(name: string) : ThreadedCommentAuthor;
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| name | string | The name of the author. | 
Returns
getCurrentPerson()
@deprecated. Please use the ‘currentPerson’ property instead. Gets and sets the current user.
getCurrentPerson() : ThreadedCommentAuthor;
Returns
setCurrentPerson(ThreadedCommentAuthor)
@deprecated. Please use the ‘currentPerson’ property instead. Gets and sets the current user.
setCurrentPerson(value: ThreadedCommentAuthor) : void;
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| value | ThreadedCommentAuthor | The value to set. | 
indexOf(ThreadedCommentAuthor)
Gets the index of ThreadedCommentAuthor object
indexOf(author: ThreadedCommentAuthor) : number;
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| author | ThreadedCommentAuthor | The ThreadedCommentAuthor object | 
Returns
The index in the ThreadedCommentAuthor collection
add(string, string, string)
Adds one thread comment person.
add(name: string, userId: string, providerId: string) : number;
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| name | string | The name of the person. | 
| userId | string | |
| providerId | string | The id of the provider | 
getCount()
@deprecated. Please use the ‘count’ property instead. Gets the number of elements contained in.
getCount() : number;
isNull()
Checks whether the implementation object is null.
isNull() : boolean;