|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.greenhopper.service.api.remote.RemoteLinkConversationServiceImpl
@Service public class RemoteLinkConversationServiceImpl
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.atlassian.greenhopper.service.api.remote.RemoteLinkConversationService |
---|
RemoteLinkConversationService.CreationConversation |
Constructor Summary | |
---|---|
RemoteLinkConversationServiceImpl()
|
Method Summary | |
---|---|
void |
flushCache()
Invoked when all caches in the plugin need to be cleared. |
ServiceOutcome<RemoteLinkConversationService.CreationConversation> |
getConversation(java.lang.String token)
Returns the conversation associated with the given token. |
void |
init()
|
ServiceOutcome<RemoteLinkConversationService.CreationConversation> |
redeemConversation(java.lang.String token)
Reddeems the conversation associated with the given token. |
ServiceOutcome<RemoteLinkConversationService.CreationConversation> |
startConversation(com.atlassian.crowd.embedded.api.User user)
Starts a new conversation for the logged in user, passes it in the RemoteLinkConversationService.CreationConversation.Status.PENDING
state and returns the conversation token. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoteLinkConversationServiceImpl()
Method Detail |
---|
@PostConstruct public void init()
public ServiceOutcome<RemoteLinkConversationService.CreationConversation> startConversation(com.atlassian.crowd.embedded.api.User user)
RemoteLinkConversationService
RemoteLinkConversationService.CreationConversation.Status.PENDING
state and returns the conversation token.
The conversation is stored for a duration defined by the implementation.
startConversation
in interface RemoteLinkConversationService
user
- the user to start the conversation for
public ServiceOutcome<RemoteLinkConversationService.CreationConversation> redeemConversation(java.lang.String token)
RemoteLinkConversationService
redeemConversation
in interface RemoteLinkConversationService
token
- the token of the previously created conversation
public ServiceOutcome<RemoteLinkConversationService.CreationConversation> getConversation(java.lang.String token)
RemoteLinkConversationService
ServiceOutcome
will not be valid.
getConversation
in interface RemoteLinkConversationService
token
- the token of the previously created conversation
public void flushCache()
GreenHopperCache
flushCache
in interface GreenHopperCache
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |