Class UserManagementMultiEventsCommand<T>
java.lang.Object
com.atlassian.confluence.internal.api.impl.service.incrementalsync.MultiEventsCommand<T,UserManagementInSyncModel,UserJournalEntryTypes>
com.atlassian.confluence.internal.api.impl.service.incrementalsync.usermanagement.commands.UserManagementMultiEventsCommand<T>
- All Implemented Interfaces:
Command<T,
,UserManagementInSyncModel> CommandCreator<T,
UserManagementInSyncModel>
- Direct Known Subclasses:
DirectoryEventCommandUserManagement
,UserActivationEventCommandUserManagement
public abstract class UserManagementMultiEventsCommand<T>
extends MultiEventsCommand<T,UserManagementInSyncModel,UserJournalEntryTypes>
Base class for user management related events.
- Since:
- 9.3.0
-
Field Summary
FieldsFields inherited from class com.atlassian.confluence.internal.api.impl.service.incrementalsync.MultiEventsCommand
logger, supportedEventEntryTypesMap
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
UserManagementMultiEventsCommand
(UserGroupCommandSupport commandSupport) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Optional<JournalMessage>
createMessage
(T event) Creates anOptional
containing aJournalMessage
to store in the DB.newCommand
(JournalEntry journalEntry, Command<T, UserManagementInSyncModel> command) void
processEvent
(T event, Object... params) Processing an event then serialize as one or manyJournalEntry
Methods inherited from class com.atlassian.confluence.internal.api.impl.service.incrementalsync.MultiEventsCommand
getSupportedEventEntryTypesMap
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.Command
processJournalEntries
Methods inherited from interface com.atlassian.confluence.internal.api.service.incrementalsync.CommandCreator
newCommand, newCommand
-
Field Details
-
commandSupport
-
-
Constructor Details
-
UserManagementMultiEventsCommand
-
-
Method Details
-
createMessage
Creates anOptional
containing aJournalMessage
to store in the DB.- Parameters:
event
- the event to process- Returns:
- an
Optional
containing theJournalMessage
, orOptional.empty()
if we don't want to store the value
-
processEvent
Description copied from interface:Command
Processing an event then serialize as one or manyJournalEntry
-
newCommand
public Optional<Command<T,UserManagementInSyncModel>> newCommand(JournalEntry journalEntry, Command<T, UserManagementInSyncModel> command)
-