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.3.0
-
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) -
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
-
Constructor Details
-
GroupRemovingEventCommand
public GroupRemovingEventCommand(UserGroupCommandSupport commandSupport, CrowdUserDirectoryHelper crowdUserDirectoryHelper, com.atlassian.crowd.embedded.spi.MembershipDao membershipDao, ConfluenceUserDao confluenceUserDao)
-
-
Method Details
-
processEvent
Description copied from interface:Command
Processing an event then serialize as one or manyJournalEntry
-
newCommand
public Optional<Command<GroupRemovingEvent,UserManagementInSyncModel>> newCommand(GroupRemovingEvent event) Description copied from interface:CommandCreator
Create new command from an 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
- Returns:
-