Package sonia.scm.group
Class AbstractGroupManager
java.lang.Object
sonia.scm.group.AbstractGroupManager
- All Implemented Interfaces:
Closeable,AutoCloseable,GroupManager,HandlerBase<Group>,Initable,LastModifiedAware,Manager<Group>,Searchable<Group>
Abstract base class for
GroupManager implementations. This class
implements the listener methods of the GroupManager interface.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfireEvent(GroupEvent event) Sends aGroupEventto theScmEventBus.protected voidfireEvent(HandlerEventType event, Group group) Creates aGroupEventand send it to theScmEventBus.protected voidfireEvent(HandlerEventType event, Group group, Group oldGroup) Creates aGroupModificationEventand send it to theScmEventBus.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface sonia.scm.group.GroupManager
getAllNames, getGroupsForMemberMethods inherited from interface sonia.scm.HandlerBase
create, delete, modifyMethods inherited from interface sonia.scm.LastModifiedAware
getLastModifiedMethods inherited from interface sonia.scm.Manager
get, getAll, getAll, getAll, getAll, getAll, getPage, refreshMethods inherited from interface sonia.scm.search.Searchable
search
-
Constructor Details
-
AbstractGroupManager
public AbstractGroupManager()
-
-
Method Details
-
fireEvent
Creates aGroupEventand send it to theScmEventBus.- Parameters:
event- type of change eventgroup- group that has changed
-
fireEvent
Creates aGroupModificationEventand send it to theScmEventBus.- Parameters:
event- type of change eventgroup- group that has changedoldGroup- old group
-
fireEvent
Sends aGroupEventto theScmEventBus.- Parameters:
event- group event
-