com.atlassian.jira.oauth.consumer
Class OfBizConsumerStore

java.lang.Object
  extended by com.atlassian.jira.oauth.consumer.OfBizConsumerStore
All Implemented Interfaces:
com.atlassian.oauth.consumer.core.ConsumerServiceStore

public class OfBizConsumerStore
extends Object
implements com.atlassian.oauth.consumer.core.ConsumerServiceStore

Persists client consumer information via OfBiz.

Since:
v4.0

Nested Class Summary
static class OfBizConsumerStore.Columns
           
 
Nested classes/interfaces inherited from interface com.atlassian.oauth.consumer.core.ConsumerServiceStore
com.atlassian.oauth.consumer.core.ConsumerServiceStore.ConsumerAndSecret
 
Field Summary
static String TABLE
           
 
Constructor Summary
OfBizConsumerStore(OfBizDelegator ofBizDelegator)
           
 
Method Summary
 com.atlassian.oauth.consumer.core.ConsumerServiceStore.ConsumerAndSecret get(String service)
           
 Iterable<com.atlassian.oauth.Consumer> getAllServiceProviders()
           
 com.atlassian.oauth.consumer.core.ConsumerServiceStore.ConsumerAndSecret getByKey(String key)
           
 void put(String service, com.atlassian.oauth.consumer.core.ConsumerServiceStore.ConsumerAndSecret cas)
           
 void removeByKey(String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TABLE

public static final String TABLE
See Also:
Constant Field Values
Constructor Detail

OfBizConsumerStore

public OfBizConsumerStore(OfBizDelegator ofBizDelegator)
Method Detail

get

public com.atlassian.oauth.consumer.core.ConsumerServiceStore.ConsumerAndSecret get(String service)
Specified by:
get in interface com.atlassian.oauth.consumer.core.ConsumerServiceStore

getByKey

public com.atlassian.oauth.consumer.core.ConsumerServiceStore.ConsumerAndSecret getByKey(String key)
Specified by:
getByKey in interface com.atlassian.oauth.consumer.core.ConsumerServiceStore

put

public void put(String service,
                com.atlassian.oauth.consumer.core.ConsumerServiceStore.ConsumerAndSecret cas)
Specified by:
put in interface com.atlassian.oauth.consumer.core.ConsumerServiceStore

removeByKey

public void removeByKey(String key)
Specified by:
removeByKey in interface com.atlassian.oauth.consumer.core.ConsumerServiceStore

getAllServiceProviders

public Iterable<com.atlassian.oauth.Consumer> getAllServiceProviders()
Specified by:
getAllServiceProviders in interface com.atlassian.oauth.consumer.core.ConsumerServiceStore


Copyright © 2002-2013 Atlassian. All Rights Reserved.