Package sonia.scm.user
Class AbstractUserManager
java.lang.Object
sonia.scm.user.AbstractUserManager
- All Implemented Interfaces:
Closeable,AutoCloseable,HandlerBase<User>,Initable,LastModifiedAware,Manager<User>,Searchable<User>,UserManager
Abstract base class for
UserManager implementations. This class
implements the listener methods of the UserManager interface.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfireEvent(HandlerEventType event, User user) Creates a newUserEventand callsfireEvent(sonia.scm.user.UserEvent).protected voidfireEvent(HandlerEventType event, User user, User oldUser) Send aUserEventto theScmEventBus.protected voidSend aUserEventto theScmEventBus.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
searchMethods inherited from interface sonia.scm.user.UserManager
changePasswordForLoggedInUser, contains, getDefaultType, isTypeDefault, overwritePassword
-
Constructor Details
-
AbstractUserManager
public AbstractUserManager()
-
-
Method Details
-
fireEvent
Send aUserEventto theScmEventBus.- Parameters:
event- type of change eventuser- user that has changedoldUser- old user
-
fireEvent
Creates a newUserEventand callsfireEvent(sonia.scm.user.UserEvent).- Parameters:
user- user that has changedevent- type of change event
-
fireEvent
Send aUserEventto theScmEventBus.- Parameters:
event- user event- Since:
- 1.48
-