Class InstantMessagingServerManagerImpl
- java.lang.Object
-
- com.atlassian.bamboo.instantmessagingserver.InstantMessagingServerManagerImpl
-
- All Implemented Interfaces:
InstantMessagingServerManager
public class InstantMessagingServerManagerImpl extends Object implements InstantMessagingServerManager
-
-
Constructor Summary
Constructors Constructor Description InstantMessagingServerManagerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull Collection<InstantMessagingServerDefinition>
getAllInstantMessagingServers()
Returns allInstantMessagingServerDefinition
objectsInstantMessagingServerDefinition
getInstantMessagingServer(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)
-
-
-
Method Detail
-
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
public void saveInstantMessagingServer(InstantMessagingServerDefinition instantMessagingServer)
Description copied from interface:InstantMessagingServerManager
Stores theInstantMessagingServerDefinition
.- Specified by:
saveInstantMessagingServer
in interfaceInstantMessagingServerManager
- Parameters:
instantMessagingServer
- - Must not be null
-
getInstantMessagingServer
public InstantMessagingServerDefinition getInstantMessagingServer(long instantMessagingServerId)
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
public void setInstantMessagingServerDao(InstantMessagingServerDao instantMessagingServerDao)
-
-