Interface Repository
- All Superinterfaces:
ReadOnlyRepository
-
Method Summary
Modifier and TypeMethodDescription<T extends ConfigurationItem>
voidcreate
(T... entity) <T extends ConfigurationItem>
voidcreateOrUpdate
(T... entity) void
boolean
void
<T extends ConfigurationItem>
TReturns an item by given id.<T extends ConfigurationItem>
List<T>void
<T extends ConfigurationItem>
List<T>Search for allConfigurationItem
s of the specifiedType
.<T extends ConfigurationItem>
List<T>Search for allConfigurationItem
s of the specifiedType
under a parent node<T extends ConfigurationItem>
voidupdate
(T... entity)
-
Method Details
-
exists
-
read
Returns an item by given id. Throws aRuntimeException
when there is no such item in repository.- Specified by:
read
in interfaceReadOnlyRepository
- Parameters:
id
- The id of theConfigurationItem
to read.- Returns:
- The read
ConfigurationItem
-
read
-
create
-
update
-
createOrUpdate
-
delete
-
move
-
rename
-
search
Search for allConfigurationItem
s of the specifiedType
.- Specified by:
search
in interfaceReadOnlyRepository
- Parameters:
type
- TheType
of theConfigurationItem
s to search for.- Returns:
- A
List
ofConfigurationItem
s of theType
passed in.
-
search
Search for allConfigurationItem
s of the specifiedType
under a parent node- Specified by:
search
in interfaceReadOnlyRepository
- Parameters:
type
- TheType
of theConfigurationItem
s to search for.parent
- The id of the parent node under which to search.- Returns:
- A
List
ofConfigurationItem
s of theType
which are located under the parent node.
-