public interface GroupServiceLocal extends GroupService, org.cyclos.impl.CRUDServiceLocal<BasicGroup,BasicGroupDTO,BasicGroupData,BasicGroupNature>
GroupsHandler.| Modifier and Type | Method and Description |
|---|---|
AdminGroup |
createNetworkAdmins(Network network)
Creates the network administrators group for the given network
|
java.util.List<BasicGroup> |
getGroupsUsingConfiguration(Configuration configuration)
Returns all groups which are associated with the given configuration
|
java.util.List<BasicGroup> |
getGroupsUsingProduct(Product product)
Returns all groups which are associated to the given product
|
AdminGroup |
getSystemAdmins()
Returns the default admins group, that is, either global admins if in global mode, or the current network admins otherwise
|
java.lang.Boolean |
hasUsers(BasicGroup basicGroup)
returns true if there are users in the basic group
|
java.util.Collection<BasicGroup> |
listEntities(BasicGroupQuery params)
List group entities that satisfy the given conditions
|
changeConfiguration, getActiveConfiguration, getSearchData, searchfind, findAll, getEntityClass, newEntity, remove, removeAll, toDTO, toEntity, validategetData, getDataForNew, load, remove, removeAll, saveAdminGroup createNetworkAdmins(Network network) throws FrameworkException
FrameworkExceptionjava.util.List<BasicGroup> getGroupsUsingConfiguration(Configuration configuration) throws FrameworkException
FrameworkExceptionjava.util.List<BasicGroup> getGroupsUsingProduct(Product product)
AdminGroup getSystemAdmins() throws FrameworkException
FrameworkExceptionjava.lang.Boolean hasUsers(BasicGroup basicGroup) throws FrameworkException
FrameworkExceptionjava.util.Collection<BasicGroup> listEntities(BasicGroupQuery params) throws FrameworkException
FrameworkException