Class CrudCraftSearchProperties
java.lang.Object
nl.datasteel.crudcraft.runtime.config.CrudCraftSearchProperties
@Component
@ConfigurationProperties(prefix="crudcraft.search")
public class CrudCraftSearchProperties
extends Object
Configuration properties for CrudCraft search operations.
This class allows customization of the search depth used in CRUD operations.
The depth determines how deep the search will traverse relationships.
-
Constructor Details
-
CrudCraftSearchProperties
public CrudCraftSearchProperties()
-
-
Method Details
-
getDepth
public int getDepth()Gets the current depth for search operations. This value determines how deep the search will traverse relationships.- Returns:
- the current depth
-
setDepth
public void setDepth(int depth) Sets the depth for search operations. This value determines how deep the search will traverse relationships.- Parameters:
depth
- the depth to set
-
getStaticDepth
public static int getStaticDepth()Provides access to the configured depth without requiring dependency injection.
-