Package org.cyclos.services.users
Interface GroupService
-
- All Superinterfaces:
CRUDService<BasicGroupDTO,BasicGroupData,BasicGroupNature>,Service
- All Known Subinterfaces:
GroupServiceLocal
- All Known Implementing Classes:
GroupServiceImpl,GroupServiceSecurity
public interface GroupService extends CRUDService<BasicGroupDTO,BasicGroupData,BasicGroupNature>
Service interface for group operations
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidchangeConfiguration(@NotNull BasicGroupVO basicGroup, @NotNull ConfigurationVO configuration)Changes the configuration for the specified BasicGroup by assigning a new Configuration.ActiveConfigurationForGroupsDatagetActiveConfiguration(@NotNull BasicGroupVO basicGroup)Returns theActiveConfigurationForGroupsData, containing all the actual configuration for the given group or group setGroupSearchDatagetSearchData()Returns the data for searching groupsPage<BasicGroupVO>search(@NotNull BasicGroupQuery query)Searches for groups, returning results hierarchically-
Methods inherited from interface org.cyclos.services.CRUDService
getData, getDataForNew, load, remove, removeAll, save
-
-
-
-
Method Detail
-
changeConfiguration
void changeConfiguration(@NotNull @NotNull BasicGroupVO basicGroup, @NotNull @NotNull ConfigurationVO configuration) throws FrameworkExceptionChanges the configuration for the specified BasicGroup by assigning a new Configuration. As a result, the configuration formerly assigned is not assigned anymore to the group.- Throws:
IllegalActionException- If the given configuration is not enabled for logged usersFrameworkException
-
getActiveConfiguration
ActiveConfigurationForGroupsData getActiveConfiguration(@NotNull @NotNull BasicGroupVO basicGroup) throws FrameworkException
Returns theActiveConfigurationForGroupsData, containing all the actual configuration for the given group or group set- Throws:
FrameworkException
-
getSearchData
GroupSearchData getSearchData() throws FrameworkException
Returns the data for searching groups- Throws:
FrameworkException
-
search
Page<BasicGroupVO> search(@NotNull @NotNull BasicGroupQuery query) throws FrameworkException
Searches for groups, returning results hierarchically- Throws:
FrameworkException
-
-