LCEvent | Invocation Point | Event Type | Sync vs. Async | Event Fields | Comment |
files.file.comment.created | Pre-commit | create | Synch | actor
[content: comment]
contentType: text
ModerationData.actorRole: user's library role
ModerationData.globalModerator
[ModerationData.moderationState] | * There is no need to set fields as many as that of created event. Just the ones for moderation is enough.
* To be sent before the comment is saved to db
* The content is different from that of asynchronous version
*[] means the field can be changed by synch handler
|
forum.topic.create.pended | Post-commit | pending | Asynch | actor
Item: comment
Content: comment
CorrelationData: file
relatedCommunity (CF)
TargetPeople: {creator, last updater}
@lastUpdater.externalId
ModerationData.comment: reason set by sync handler | * No need to set moderationState, as the event type stands for it
* Item's htmlURL is null, atomURL is for moderator only
|
forum.topic.created | Post-commit | approve | Asynch | actor
Item: comment
Content: comment
CorrelationData: file
relatedCommunity (CF)
TargetPeople: {creator, last updater}
@lastUpdater.externalId
ModerationData.comment: reason set by sync handler or via API
| * Indicate approval of creating a comment
* A files.comment.created event is also sent with this one.
* Item's htmlURL and atomURL are for normal user.
* Used by create/update operation
|
forum.topic.create.rejected | Post-commit | reject | Asynch | actor
Item: comment
Content: comment
CorrelationData: file
relatedCommunity (CF)
TargetPeople: {creator, last updater}
@lastUpdater.externalId
ModerationData.comment: reason set by sync handler or via API
| * Indicate reject of creating a comment
* Item's htmlURL is null, atomURL is for moderator only
|
forum.topic.updated | Pre-commit | update | Synch | actor
[content: comment]
contentType: text
ModerationData.actorRole: user's library role
ModeratonData.globalModerator
[ModerationData.moderationState] | * The content is different from that of asynchronous version |
forum.topic.updated | Post-commit | pending | Asynch | actor
Item: comment
Content: comment
CorrelationData: file
relatedCommunity (CF)
TargetPeople: {creator, last updater}
@lastUpdater.externalId
ModerationData.comment: reason set by sync handler
| * Item's htmlURL is null, atomURL is for moderator only |
forum.topic.update.pended | Post-commit | approve | Asynch | actor
Item: comment
Content: comment
CorrelationData: file
relatedCommunity (CF)
TargetPeople: {creator, last updater}
@lastUpdater.externalId
ModerationData.comment: reason set by sync handler or via API
| * Indicate approval of updating a comment
* A files.comment.updated event is also sent with this one.
* Item's htmlURL and atomURL are for normal user.
|
forum.topic.update.inactive | Post-commit | reject | Asynch | actor
Item: comment
Content: comment
CorrelationData: file
relatedCommunity (CF)
TargetPeople: {creator, last updater}
@lastUpdater.externalId
ModerationData.comment: reason set by sync handler or via API
| * Indicate reject of updating a comment
* Item's htmlURL is null, atomURL is for moderator only
|
forum.topic.tag.created | Pre-commit | create | Synch |
|
|
forum.topic.tag.added | Post-commit | approve | Asynch |
|
|
forum.topic.reply.created | Pre-commit | create | Synch | actor
[content: media summary]
contentType: text
relativeFilePath:
[@label]
ModerationData.actorRole: user's library role
ModerationData.globalModerator
[ModerationData.moderationState] | * The content is different from that of asynchronous version
* Label today dictates the title/label both for the file, they cannot be set independently
|
forum.topic.reply.create.pended | Post-commit | pending | Asynch | actor
Item: file
Content: media summary
relativeFilePath:
relatedCommunity (CF)
TargetPeople: {creator, last updater}
@lastUpdater.externalId
ModerationData.comment: reason set by sync handler
| * Item's htmlURL is null, atomURL is for moderator only
* Events of all associated resources are not sent. When the file is approved, events of all associated resources are sent with file's create event and approve event.
|
forum.topic.reply.created | Post-commit | approve | Asynch | actor
Item: file
Content: media summary
relatedCommunity (CF)
TargetPeople: {creator, last updater}
@lastUpdater.externalId
ModerationData.comment: reason set by sync handler or via API
| * Indicate approval of creating a file
* A files.file.created event is also sent
* Item's htmlURL and atomURL are for normal users
|
forum.topic.reply.create.rejected | Post-commit | reject | Asynch | actor
Item: file
Content: media summary
relatedCommunity (CF)
TargetPeople: {creator, last updater}
@lastUpdater.externalId
ModerationData.comment: reason set by sync handler or via API
| * Indicate reject of creating a file
* Item's htmlURL is null, atomURL is for moderator only
|
forum.reply.updated | Pre-commit | update | Synch | actor
[content: revision summary]
contentType: text
relativeFilePath:
@content.changed:true/false
[@label]
ModerationData.actorRole: user's library role
ModerationData.globalModerator
[ModerationData.moderationState] | * Need to add changeType to files.file.updated event.
* content.changed property is not set if only meta-data changes.
* The content is different from that of asynchronous version
* Label today indicates the title/label pair, they cannot be set independently
|
forum.topic.reply.update.pended | Post-commit | pending | Asynch | actor
Item: file
Content: revision summary
relativeFilePath:
relatedCommunity (CF)
TargetPeople: {creator, last updater}
@lastUpdater.externalId
@content.changed:true/false
ModerationData.comment: reason set by sync handler | * Item's htmlURL is null, atomURL is for moderator only
* content.changed property is not set if only meta-data changes.
* When a file is edited and pended automatically, events of all associated resources are sent.
|
forum.reply.updated | Post-commit | approve | Asynch | actor
Item: file
Content: media summary
relatedCommunity (CF)
TargetPeople: {creator, last updater}
@lastUpdater.externalId
ModerationData.comment: reason set by sync handler or via API | * Indicate approval of updating a file
* A files.file.updated event is also sent
* Item's htmlURL and atomURL are for normal users
|
forum.topic.reply.update.inactive | Post-commit | reject | Asynch | actor
Item: file
Content: media summary
relatedCommunity (CF)
TargetPeople: {creator, last updater}
@lastUpdater.externalId
ModerationData.comment: reason set by sync handler or via API | * Indicate reject of updating a file
* Item's htmlURL is null, atomURL is for moderator only
|
|
|
|
|
|
|
|
|
|
|
|
|
LCEvent | Invocation Point | Event Type | Sync vs. Async | Event Fields | Comment |
files.file.comment.flagged | Post-commit | flag | Asynch | actor
Item: comment
CorrelationData: file
relatedCommunity (CF)
TargetPeople: {creator, last updater}
@lastUpdater.externalId
ModerationData.comment: reason set via API
| * Item's htmlURL is null, atomURL is for moderator only |
files.file.comment.quarantined | Post-commit | quarantine | Asynch | actor:
Item: comment
CorrelationData: file
relatedCommunity (CF)
TargetPeople: {creator, last updater}
@lastUpdater.externalId
ModerationData.comment: reason set via API | * Item's htmlURL is null, atomURL is for moderator only |
files.file.comment.dismissed | Post-commit | dismiss | Asynch | actor:
Item: comment
CorrelationData: file
relatedCommunity (CF)
TargetPeople: {creator, last updater}
@lastUpdater.externalId
ModerationData.comment: reason set via API | * Item's htmlURL and atomURL are for normal users.
* To be sent when flags are removed.
|
files.file.comment.restored | Post-commit | restore | Asynch | actor:
Item: comment
CorrelationData: file
relatedCommunity (CF)
TargetPeople: {creator, last updater}
@lastUpdater.externalId
ModerationData.comment: reason set via API
| * Item's htmlURL and atomURL are for normal users.
* To be sent when comment is changed from quarantined to active state.
|
files.file.flagged | Post-commit | flag | Asynch | actor:
Item: file
relatedCommunity (CF)
TargetPeople: {creator, last updater}
@lastUpdater.externalId
ModerationData.comment: reason set via API | * Item's htmlURL is null, atomURL is for moderator only |
files.file.quarantined | Post-commit | quarantine | Asynch | actor:
Item: file
relatedCommunity (CF)
ModerationData.comment: reason set via API | * Item's htmlURL is null, atomURL is for moderator only |
files.file.dismissed | Post-commit | dismiss | Asynch | actor:
Item: file
relatedCommunity (CF)
moderation-comment:
TargetPeople: {creator, last updater}
@lastUpdater.externalId | * Item's htmlURL and atomURL are for normal users.
* To be sent when flags are removed.
|
files.file.restored | Post-commit | restore | Asynch | actor:
Item: file
relatedCommunity (CF)
moderation-comment:
TargetPeople: {creator, last updater}
@lastUpdater.externalId | * Item's htmlURL and atomURL are for normal users.
* To be sent when flags are removed.
|