Class InstantMessagingServerManagerImpl
java.lang.Object
com.atlassian.bamboo.instantmessagingserver.InstantMessagingServerManagerImpl
- All Implemented Interfaces:
InstantMessagingServerManager
public class InstantMessagingServerManagerImpl
extends Object
implements InstantMessagingServerManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull Collection<InstantMessagingServerDefinition>
Returns allInstantMessagingServerDefinition
objectsgetInstantMessagingServer
(long instantMessagingServerId) Returns theInstantMessagingServerDefinition
that matches the passed idvoid
removeInstantMessagingServer
(long instantMessagingServerId) Removes theInstantMessagingServerDefinition
with the matching idvoid
saveInstantMessagingServer
(InstantMessagingServerDefinition instantMessagingServer) Stores theInstantMessagingServerDefinition
.void
setInstantMessagingServerDao
(InstantMessagingServerDao instantMessagingServerDao)
-
Constructor Details
-
InstantMessagingServerManagerImpl
public InstantMessagingServerManagerImpl()
-
-
Method Details
-
getAllInstantMessagingServers
@NotNull public @NotNull Collection<InstantMessagingServerDefinition> getAllInstantMessagingServers()Description copied from interface:InstantMessagingServerManager
Returns allInstantMessagingServerDefinition
objects- Specified by:
getAllInstantMessagingServers
in interfaceInstantMessagingServerManager
- Returns:
- An unmodifiable collection of
InstantMessagingServerDefinition
objects,Collections.EMPTY_LIST
if none exists.
-
saveInstantMessagingServer
Description copied from interface:InstantMessagingServerManager
Stores theInstantMessagingServerDefinition
.- Specified by:
saveInstantMessagingServer
in interfaceInstantMessagingServerManager
- Parameters:
instantMessagingServer
- - Must not be null
-
getInstantMessagingServer
Description copied from interface:InstantMessagingServerManager
Returns theInstantMessagingServerDefinition
that matches the passed id- Specified by:
getInstantMessagingServer
in interfaceInstantMessagingServerManager
- Returns:
- Matching
InstantMessagingServerDefinition
object. Null if the server does not exist
-
removeInstantMessagingServer
public void removeInstantMessagingServer(long instantMessagingServerId) Description copied from interface:InstantMessagingServerManager
Removes theInstantMessagingServerDefinition
with the matching id- Specified by:
removeInstantMessagingServer
in interfaceInstantMessagingServerManager
-
setInstantMessagingServerDao
-