ThreadedCommentAuthorCollection

ThreadedCommentAuthorCollection class

Represents all persons who .

class ThreadedCommentAuthorCollection;

Constructors

NameDescription
constructor()Default Constructor.

Methods

MethodDescription
get(number)Gets the person who create threaded comments.
get(string)Gets the person who create threaded comments.
getCurrentPerson()Gets and sets the current user.
setCurrentPerson(ThreadedCommentAuthor)Gets and sets the current user.
indexOf(ThreadedCommentAuthor)Gets the index of ThreadedCommentAuthor object
add(string, string, string)Adds one thread comment person.
getCount()Gets the number of elements contained in.
isNull()Checks whether the implementation object is null.

constructor()

Default Constructor.

constructor();

get(number)

Gets the person who create threaded comments.

get(index: number) : ThreadedCommentAuthor;

Parameters:

ParameterTypeDescription
indexnumberThe index

Returns

ThreadedCommentAuthor

get(string)

Gets the person who create threaded comments.

get(name: string) : ThreadedCommentAuthor;

Parameters:

ParameterTypeDescription
namestringThe name of the author.

Returns

ThreadedCommentAuthor

getCurrentPerson()

Gets and sets the current user.

getCurrentPerson() : ThreadedCommentAuthor;

Returns

ThreadedCommentAuthor

setCurrentPerson(ThreadedCommentAuthor)

Gets and sets the current user.

setCurrentPerson(value: ThreadedCommentAuthor) : void;

Parameters:

ParameterTypeDescription
valueThreadedCommentAuthorThe value to set.

indexOf(ThreadedCommentAuthor)

Gets the index of ThreadedCommentAuthor object

indexOf(author: ThreadedCommentAuthor) : number;

Parameters:

ParameterTypeDescription
authorThreadedCommentAuthorThe 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:

ParameterTypeDescription
namestringThe name of the person.
userIdstring
providerIdstringThe id of the provider

getCount()

Gets the number of elements contained in.

getCount() : number;

isNull()

Checks whether the implementation object is null.

isNull() : boolean;