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:
-
userObjectA user object
getCommentingUser
(
static
-
user
Retrieves the necessary user information for a commenter
Parameters:
-
userObjectA user object
getCommentsTemplates
(
-
contentSettings -
output
Retrieves the template for comments
Parameters:
-
contentSettingsObjectThe content settings to use with retrieval
-
outputFunctionCallback function
validate
(
-
context -
cb
Validates a comment
Parameters:
-
contextObject -
cbFunction
(
static
-
context -
service -
cb
Parameters:
-
contextObject -
serviceTopicServiceAn instance of the service that triggered the event that called this handler
-
cbFunctionA callback that takes a single parameter: an error if occurred
(
static
-
context -
service -
cb
Parameters:
-
contextObject -
serviceTopicServiceAn instance of the service that triggered the event that called this handler
-
cbFunctionA callback that takes a single parameter: an error if occurred
validate
(
static
-
context -
cb
Parameters:
-
contextObject-
dataObjectThe DTO that was provided for persistence
-
serviceTopicServiceAn instance of the service that triggered the event that called this handler
-
-
cbFunctionA callback that takes a single parameter: an error if occurred
