|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.instantmessagingserver.InstantMessagingServerManagerImpl
public class InstantMessagingServerManagerImpl
Constructor Summary | |
---|---|
InstantMessagingServerManagerImpl()
|
Method Summary | |
---|---|
java.util.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 . |
void |
sendMessage(InstantMessagingServerDefinition server,
java.util.Set recipients,
java.lang.String message)
Deprecated. since 1.0 Use BambooSmackClient.send(Message) instead |
void |
setInstantMessagingServerDao(InstantMessagingServerDao instantMessagingServerDao)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InstantMessagingServerManagerImpl()
Method Detail |
---|
@NotNull public java.util.Collection<InstantMessagingServerDefinition> getAllInstantMessagingServers()
InstantMessagingServerManager
InstantMessagingServerDefinition
objects
getAllInstantMessagingServers
in interface InstantMessagingServerManager
InstantMessagingServerDefinition
objects, Collections.EMPTY_LIST
if none exists.public void saveInstantMessagingServer(InstantMessagingServerDefinition instantMessagingServer)
InstantMessagingServerManager
InstantMessagingServerDefinition
.
saveInstantMessagingServer
in interface InstantMessagingServerManager
instantMessagingServer
- - Must not be nullpublic InstantMessagingServerDefinition getInstantMessagingServer(long instantMessagingServerId)
InstantMessagingServerManager
InstantMessagingServerDefinition
that matches the passed id
getInstantMessagingServer
in interface InstantMessagingServerManager
InstantMessagingServerDefinition
object. Null if the server does not existpublic void removeInstantMessagingServer(long instantMessagingServerId)
InstantMessagingServerManager
InstantMessagingServerDefinition
with the matching id
removeInstantMessagingServer
in interface InstantMessagingServerManager
@Deprecated public void sendMessage(InstantMessagingServerDefinition server, java.util.Set recipients, java.lang.String message) throws org.jivesoftware.smack.XMPPException
BambooSmackClient.send(Message)
instead
InstantMessagingServerManager
sendMessage
in interface InstantMessagingServerManager
server
- recipients
- message
-
org.jivesoftware.smack.XMPPException
public void setInstantMessagingServerDao(InstantMessagingServerDao instantMessagingServerDao)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |