public interface InstantMessagingServerManager
Modifier and Type | Method and Description |
---|---|
Collection<InstantMessagingServerDefinition> |
getAllInstantMessagingServers()
Returns all
InstantMessagingServerDefinition objects |
InstantMessagingServerDefinition |
getInstantMessagingServer(long instantMessagingServerId)
Returns the
InstantMessagingServerDefinition that matches the passed id |
void |
removeInstantMessagingServer(long instantMessagingServerId)
Removes the
InstantMessagingServerDefinition with the matching id |
void |
saveInstantMessagingServer(InstantMessagingServerDefinition instantMessagingServer)
Stores the
InstantMessagingServerDefinition . |
@NotNull Collection<InstantMessagingServerDefinition> getAllInstantMessagingServers()
InstantMessagingServerDefinition
objectsInstantMessagingServerDefinition
objects, Collections.EMPTY_LIST
if none exists.void saveInstantMessagingServer(InstantMessagingServerDefinition instantMessagingServer)
InstantMessagingServerDefinition
.instantMessagingServer
- - Must not be null@Nullable InstantMessagingServerDefinition getInstantMessagingServer(long instantMessagingServerId)
InstantMessagingServerDefinition
that matches the passed idinstantMessagingServerId
- InstantMessagingServerDefinition
object. Null if the server does not existvoid removeInstantMessagingServer(long instantMessagingServerId)
InstantMessagingServerDefinition
with the matching idinstantMessagingServerId
- IllegalArgumentException
- - is thrown if server does not existCopyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.