|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FeatureStore
| Method Summary | |
|---|---|
void |
create(String featureName,
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 |
| Method Detail |
|---|
void delete(String featureKey,
String userKey)
throws DataAccessException
featureKey - 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.
void create(String featureName,
String userKey)
throws DataAccessException
featureName - 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.
Set<String> getUserFeatures(String userKey)
throws DataAccessException
userKey - the ApplicationUser key
DataAccessException
Set<String> getSiteFeatures()
throws DataAccessException
DataAccessException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||