Class GroupRemovingEventCommand
java.lang.Object
com.atlassian.confluence.internal.api.impl.service.incrementalsync.usermanagement.commands.GroupEventCommand<GroupRemovingEvent>
com.atlassian.confluence.internal.api.impl.service.incrementalsync.usermanagement.commands.GroupRemovingEventCommand
- All Implemented Interfaces:
Command<GroupRemovingEvent,
,UserManagementInSyncModel> CommandCreator<GroupRemovingEvent,
UserManagementInSyncModel>
Command class for
GroupRemovingEvent
- Since:
- 9.2.6
-
Field Summary
Fields inherited from class com.atlassian.confluence.internal.api.impl.service.incrementalsync.usermanagement.commands.GroupEventCommand
commandSupport, logger
-
Constructor Summary
ConstructorsConstructorDescriptionGroupRemovingEventCommand
(UserGroupCommandSupport commandSupport, CrowdUserDirectoryHelper crowdUserDirectoryHelper, com.atlassian.crowd.embedded.spi.MembershipDao membershipDao, ConfluenceUserDao confluenceUserDao, SpaceFilteringService spaceFilteringService) -
Method Summary
Modifier and TypeMethodDescriptionnewCommand
(JournalEntry journalEntry) Create new command from a journal entry.newCommand
(GroupRemovingEvent event) Create new command from an eventvoid
processEvent
(GroupRemovingEvent 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.GroupEventCommand
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
-
GroupRemovingEventCommand
public GroupRemovingEventCommand(UserGroupCommandSupport commandSupport, CrowdUserDirectoryHelper crowdUserDirectoryHelper, com.atlassian.crowd.embedded.spi.MembershipDao membershipDao, ConfluenceUserDao confluenceUserDao, 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<GroupRemovingEvent,UserManagementInSyncModel>> newCommand(GroupRemovingEvent event) Description copied from interface:CommandCreator
Create new command from an event- Parameters:
event
-- Returns:
-
newCommand
public Optional<Command<GroupRemovingEvent,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:
-