public interface GroupFeatureService extends org.nrg.framework.orm.hibernate.BaseHibernateService<GroupFeature>
Modifier and Type | Method and Description |
---|---|
GroupFeature |
addFeatureToGroup(String groupId,
String tag,
String feature)
Creates the specified group feature combo.
|
void |
blockFeatureForGroup(String id,
String tag,
String feature)
Block feature for this group
|
void |
delete(String groupId,
String feature)
Deletes the specified group feature combo.
|
void |
deleteByGroup(String groupId)
Deletes the specified group.
|
void |
deleteByTag(String tag)
Deletes the specified tag.
|
List<GroupFeature> |
findFeaturesForGroup(String groupId)
Finds all features for the specified group
|
List<GroupFeature> |
findFeaturesForGroups(List<String> groupIds)
Finds all features for the specified groups
|
List<GroupFeature> |
findFeaturesForTag(String tag) |
GroupFeature |
findGroupFeature(String groupId,
String feature)
Finds all matching group features
|
List<GroupFeature> |
findGroupsForFeature(String feature)
Finds all groups for the specified feature.
|
List<GroupFeature> |
findGroupsForFeatures(List<String> feature)
Finds all groups for the specified feature.
|
List<GroupFeature> |
getBannedByTag(String tag)
get features with OnByDefault=true and tag=x
|
List<GroupFeature> |
getEnabledByTag(String tag)
get features with OnByDefault=true and tag=x
|
List<GroupFeature> findFeaturesForGroup(String groupId)
groupId
- The group ID from the XdatUserGroup table.group features
issued to the indicated group.List<GroupFeature> findFeaturesForGroups(List<String> groupIds)
groupIds
- The group IDs from the XdatUserGroup table.group features
issued to the indicated group.List<GroupFeature> findFeaturesForTag(String tag)
List<GroupFeature> findGroupsForFeature(String feature)
feature
- The feature to match.group features
issued to the indicated feature.List<GroupFeature> findGroupsForFeatures(List<String> feature)
feature
- The feature to match.group features
issued to the indicated feature.void delete(String groupId, String feature)
groupId
- The group ID to match.feature
- The feature to match.void deleteByGroup(String groupId)
groupId
- The group ID to match.void deleteByTag(String tag)
tag
- The tag to match.GroupFeature addFeatureToGroup(String groupId, String tag, String feature)
groupId
- The group ID.tag
- The tag.feature
- The feature.GroupFeature findGroupFeature(String groupId, String feature)
groupId
- The group ID.feature
- The feature.void blockFeatureForGroup(String id, String tag, String feature)
group
- feature
- List<GroupFeature> getEnabledByTag(String tag)
group
- feature
- List<GroupFeature> getBannedByTag(String tag)
group
- feature
- Copyright © 2015 Neuroinformatics Research Group. All rights reserved.