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 eventvoidprocessEvent(PostUserRenamedEvent event, Object... parameters) Processing an event then serialize as one or manyJournalEntryMethods 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:CommandProcessing an event then serialize as one or manyJournalEntry -
newCommand
public Optional<Command<PostUserRenamedEvent,UserManagementInSyncModel>> newCommand(PostUserRenamedEvent event) Description copied from interface:CommandCreatorCreate new command from an event- Returns:
-
newCommand
public Optional<Command<PostUserRenamedEvent,UserManagementInSyncModel>> newCommand(JournalEntry journalEntry) Description copied from interface:CommandCreatorCreate new command from a journal entry. Concrete class should only return newCommandif the journalEntry is suitable for thatCommand- Returns:
-