Package com.atlassian.confluence.internal.api.impl.service.incrementalsync.contentmanagement.commands
Class LikeCreatedCommand
java.lang.Object
com.atlassian.confluence.internal.api.impl.service.incrementalsync.contentmanagement.commands.AbstractLikeCommand<LikeCreatedEvent>
com.atlassian.confluence.internal.api.impl.service.incrementalsync.contentmanagement.commands.LikeCreatedCommand
- All Implemented Interfaces:
Command<LikeCreatedEvent,,ContentManagementIncSyncModel> CommandCreator<LikeCreatedEvent,ContentManagementIncSyncModel>
A command to handle LikeCreatedEvent
- Since:
- 9.2.7
-
Field Summary
Fields inherited from class com.atlassian.confluence.internal.api.impl.service.incrementalsync.contentmanagement.commands.AbstractLikeCommand
commandSupport, contentService, logger, spaceFilteringService -
Constructor Summary
ConstructorsConstructorDescriptionLikeCreatedCommand(ContentCommandSupport commandSupport, ContentService contentService, SpaceFilteringService spaceFilteringService) -
Method Summary
Modifier and TypeMethodDescriptionnewCommand(LikeCreatedEvent event) Create new command from an eventMethods inherited from class com.atlassian.confluence.internal.api.impl.service.incrementalsync.contentmanagement.commands.AbstractLikeCommand
newCommand, processEvent, processJournalEntries, shouldProcess
-
Constructor Details
-
LikeCreatedCommand
public LikeCreatedCommand(ContentCommandSupport commandSupport, ContentService contentService, SpaceFilteringService spaceFilteringService)
-
-
Method Details
-
newCommand
public Optional<Command<LikeCreatedEvent,ContentManagementIncSyncModel>> newCommand(LikeCreatedEvent event) Description copied from interface:CommandCreatorCreate new command from an event- Parameters:
event-- Returns:
-