Interface Repository
- All Superinterfaces:
ReadOnlyRepository
-
Method Summary
Modifier and TypeMethodDescription<T extends ConfigurationItem>
voidcreate(T... entity) <T extends ConfigurationItem>
voidcreateOrUpdate(T... entity) voidbooleanvoid<T extends ConfigurationItem>
TReturns an item by given id.<T extends ConfigurationItem>
List<T>void<T extends ConfigurationItem>
List<T>Search for allConfigurationItems of the specifiedType.<T extends ConfigurationItem>
List<T>Search for allConfigurationItems of the specifiedTypeunder a parent node<T extends ConfigurationItem>
voidupdate(T... entity)
-
Method Details
-
exists
-
read
Returns an item by given id. Throws aRuntimeExceptionwhen there is no such item in repository.- Specified by:
readin interfaceReadOnlyRepository- Parameters:
id- The id of theConfigurationItemto read.- Returns:
- The read
ConfigurationItem
-
read
-
create
-
update
-
createOrUpdate
-
delete
-
move
-
rename
-
search
Search for allConfigurationItems of the specifiedType.- Specified by:
searchin interfaceReadOnlyRepository- Parameters:
type- TheTypeof theConfigurationItems to search for.- Returns:
- A
ListofConfigurationItems of theTypepassed in.
-
search
Search for allConfigurationItems of the specifiedTypeunder a parent node- Specified by:
searchin interfaceReadOnlyRepository- Parameters:
type- TheTypeof theConfigurationItems to search for.parent- The id of the parent node under which to search.- Returns:
- A
ListofConfigurationItems of theTypewhich are located under the parent node.
-