CommentService Class
Retrieves comment information
Item Index
Methods
- getCommentingUser
- getCommentingUser static
- getCommentsTemplates
- validate
- static
- static
- validate static
Properties
Methods
getCommentingUser
(
-
user
Retrieves the necessary user information for a commenter
Parameters:
-
user
ObjectA user object
getCommentingUser
(
static
-
user
Retrieves the necessary user information for a commenter
Parameters:
-
user
ObjectA user object
getCommentsTemplates
(
-
contentSettings
-
output
Retrieves the template for comments
Parameters:
-
contentSettings
ObjectThe content settings to use with retrieval
-
output
FunctionCallback function
validate
(
-
context
-
cb
Validates a comment
Parameters:
-
context
Object -
cb
Function
(
static
-
context
-
service
-
cb
Parameters:
-
context
Object -
service
TopicServiceAn instance of the service that triggered the event that called this handler
-
cb
FunctionA callback that takes a single parameter: an error if occurred
(
static
-
context
-
service
-
cb
Parameters:
-
context
Object -
service
TopicServiceAn instance of the service that triggered the event that called this handler
-
cb
FunctionA callback that takes a single parameter: an error if occurred
validate
(
static
-
context
-
cb
Parameters:
-
context
Object-
data
ObjectThe DTO that was provided for persistence
-
service
TopicServiceAn instance of the service that triggered the event that called this handler
-
-
cb
FunctionA callback that takes a single parameter: an error if occurred