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.3.0
-
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) -
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
-
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)
-
-
Method Details
-
processEvent
Description copied from interface:Command
Processing an event then serialize as one or manyJournalEntry
-
newCommand
public Optional<Command<PostUserRenamedEvent,UserManagementInSyncModel>> newCommand(PostUserRenamedEvent event) Description copied from interface:CommandCreator
Create new command from an 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
- Returns:
-