Class PostUserRenamedEventCommand
java.lang.Object
com.atlassian.confluence.internal.api.impl.service.incrementalsync.usermanagement.commands.UserEventCommand<PostUserRenamedEvent>
com.atlassian.confluence.internal.api.impl.service.incrementalsync.usermanagement.commands.PostUserRenamedEventCommand
- All Implemented Interfaces:
Command<PostUserRenamedEvent,
,UserManagementInSyncModel> CommandCreator<PostUserRenamedEvent,
UserManagementInSyncModel>
- Since:
- 9.2.6
-
Field Summary
Fields inherited from class com.atlassian.confluence.internal.api.impl.service.incrementalsync.usermanagement.commands.UserEventCommand
commandSupport, logger, personFactory
-
Constructor Summary
ConstructorsConstructorDescriptionPostUserRenamedEventCommand
(UserGroupCommandSupport commandSupport, PersonFactory personFactory, com.atlassian.crowd.embedded.spi.MembershipDao membershipDao, com.atlassian.crowd.embedded.api.CrowdDirectoryService crowdDirectoryService, CrowdDirectoryEntityHelper crowdDirectoryEntityHelper, UserAccessor userAccessor, SpaceFilteringService spaceFilteringService) -
Method Summary
Modifier and TypeMethodDescriptionnewCommand
(JournalEntry journalEntry) Create new command from a journal entry.newCommand
(PostUserRenamedEvent event) Create new command from an eventvoid
processEvent
(PostUserRenamedEvent event, Object... parameters) Processing an event then serialize as one or manyJournalEntry
Methods inherited from class com.atlassian.confluence.internal.api.impl.service.incrementalsync.usermanagement.commands.UserEventCommand
processJournalEntries
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.confluence.internal.api.service.incrementalsync.CommandCreator
shouldProcess
-
Constructor Details
-
PostUserRenamedEventCommand
public PostUserRenamedEventCommand(UserGroupCommandSupport commandSupport, PersonFactory personFactory, com.atlassian.crowd.embedded.spi.MembershipDao membershipDao, com.atlassian.crowd.embedded.api.CrowdDirectoryService crowdDirectoryService, CrowdDirectoryEntityHelper crowdDirectoryEntityHelper, UserAccessor userAccessor, SpaceFilteringService spaceFilteringService)
-
-
Method Details
-
processEvent
Description copied from interface:Command
Processing an event then serialize as one or manyJournalEntry
- Parameters:
event
-
-
newCommand
public Optional<Command<PostUserRenamedEvent,UserManagementInSyncModel>> newCommand(PostUserRenamedEvent event) Description copied from interface:CommandCreator
Create new command from an event- Parameters:
event
-- Returns:
-
newCommand
public Optional<Command<PostUserRenamedEvent,UserManagementInSyncModel>> newCommand(JournalEntry journalEntry) Description copied from interface:CommandCreator
Create new command from a journal entry. Concrete class should only return newCommand
if the journalEntry is suitable for thatCommand
- Parameters:
journalEntry
-- Returns:
-