|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.config.DefaultFeatureStore
public class DefaultFeatureStore
Non cached implementation of feature store
| Constructor Summary | |
|---|---|
DefaultFeatureStore(OfBizDelegator ofBizDelegator)
|
|
| Method Summary | |
|---|---|
void |
create(String featureKey,
String userKey)
Creates an feature with the properties of the given feature. |
void |
delete(String featureKey,
String userKey)
Permanently removes the feature from the system. |
Set<String> |
getSiteFeatures()
Returns a list of all enabled site features |
Set<String> |
getUserFeatures(String userKey)
Returns a list of all enabled features for a user |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultFeatureStore(OfBizDelegator ofBizDelegator)
| Method Detail |
|---|
public void delete(String featureKey,
String userKey)
throws DataAccessException
FeatureStore
delete in interface FeatureStorefeatureKey - the feature's id, must not be null.userKey - the user who the feature is for. null if site feature
DataAccessException - if there is a back-end storage problem.
public void create(String featureKey,
String userKey)
throws DataAccessException
FeatureStore
create in interface FeatureStorefeatureKey - the name of the feature to createuserKey - the user who the feature is for. null if site feature
DataAccessException - if there is a back-end storage problem.
public Set<String> getUserFeatures(@Nonnull
String userKey)
throws DataAccessException
FeatureStore
getUserFeatures in interface FeatureStoreuserKey - the ApplicationUser key
DataAccessException
public Set<String> getSiteFeatures()
throws DataAccessException
FeatureStore
getSiteFeatures in interface FeatureStoreDataAccessException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||