Package org.cyclos.services.system
Interface ConfigurationService
-
- All Superinterfaces:
CRUDService<ConfigurationDTO,ConfigurationData,ConfigurationVO>,Service
- All Known Subinterfaces:
ConfigurationServiceLocal
- All Known Implementing Classes:
ConfigurationServiceImpl,ConfigurationServiceSecurity
public interface ConfigurationService extends CRUDService<ConfigurationDTO,ConfigurationData,ConfigurationVO>
Service for handling configurations
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ActiveConfigurationDatagetActiveConfiguration(@NotNull ConfigurationVO configuration)Returns the active configuration for the configuration with the given idConfigurationVOgetDefault()Returns the default configuration for the current network (or the global default configuration)ConfigurationSearchDatagetSearchData()Gets data used on the search pageList<ConfigurationDetailedVO>list()Returns all visible configurationsPage<ConfigurationDetailedVO>search(@NotNull ConfigurationQuery params)Search configurations according to the specified query parameters-
Methods inherited from interface org.cyclos.services.CRUDService
getData, getDataForNew, load, remove, removeAll, save
-
-
-
-
Method Detail
-
getActiveConfiguration
ActiveConfigurationData getActiveConfiguration(@NotNull @NotNull ConfigurationVO configuration) throws FrameworkException
Returns the active configuration for the configuration with the given id- Throws:
FrameworkException
-
getDefault
ConfigurationVO getDefault() throws FrameworkException
Returns the default configuration for the current network (or the global default configuration)- Throws:
FrameworkException
-
getSearchData
ConfigurationSearchData getSearchData() throws FrameworkException
Gets data used on the search page- Throws:
FrameworkException
-
list
List<ConfigurationDetailedVO> list() throws FrameworkException
Returns all visible configurations- Throws:
FrameworkException
-
search
Page<ConfigurationDetailedVO> search(@NotNull @NotNull ConfigurationQuery params) throws FrameworkException
Search configurations according to the specified query parameters- Throws:
FrameworkException
-
-