Package sonia.scm.search
Interface Index.DeleteBy
public static interface Index.DeleteBy
Builder api to delete all objects which match parts of their id.
- Since:
- 2.23.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionSelect only objects for deletion which are matching the previous id parts and the given one.default Index.DeleteBy
and
(Class<?> type, ModelObject idObject) Select only objects for deletion which are matching the previous id parts and the given one.default Index.DeleteBy
and
(Repository repository) Select only objects for deletion which are matching the previous id parts and the given repository part.void
execute()
Delete all matching objects from index.
-
Method Details
-
and
Select only objects for deletion which are matching the previous id parts and the given one.- Parameters:
type
- type of id partid
- value of id part- Returns:
this
-
and
Select only objects for deletion which are matching the previous id parts and the given one.- Parameters:
type
- type of id partidObject
- object which holds the id value- Returns:
this
-
and
Select only objects for deletion which are matching the previous id parts and the given repository part.- Parameters:
repository
- repository part of the id- Returns:
this
-
execute
void execute()Delete all matching objects from index.
-