Class Properties
java.lang.Object
overit.geocallapp.utilities.config.Properties
- Direct Known Subclasses:
PropertiesAI,PropertiesAIAssistant.DispatcherAssistant,PropertiesAssets.Asset,PropertiesAssetsOrchestrator.Integration,PropertiesBooking,PropertiesBundler.Configuration,PropertiesCalendars.WorkShift,PropertiesCEE,PropertiesDocumentsOrchestrator.Integration,PropertiesExecution.Accounting,PropertiesExecution.ResourceIntervention,PropertiesExecution.WorkOrder,PropertiesForecast.ForecastCapacity,PropertiesGPSTracking.GPSTimedPosition,PropertiesInventory,PropertiesLocations.Cartography,PropertiesLocations.Geocoding,PropertiesLocations.Location,PropertiesMessages.Message,PropertiesOrganizationalStructures.OrganizationalStructure,PropertiesPlanningOrchestrator.Integration,PropertiesProject,PropertiesResources.Resource,PropertiesScheduling.Agenda,PropertiesScheduling.DailyPlan,PropertiesScheduling.Optimization,PropertiesScheduling.Scheduling,PropertiesScheduling.SchedulingLock,PropertiesSchedulingOrchestrator.Integration,PropertiesTools.Tool,PropertiesWorkforceOrchestrator.Integration,PropertiesWorkOrders.WorkOrder,PropertiesWorkOrdersOrchestrator.Integration,SchedulingPermissionsUtils
Abstract utility class that provides methods for accessing configuration properties
from both company-specific and system-wide settings.
The class is designed to be extended by specialized property classes that expose
specific configuration properties for different modules of the application.
- Since:
- 1.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static booleangetBooleanProperty(String propertyName) Retrieves a boolean property value from the company configuration.protected static booleangetBooleanProperty(String propertyName, boolean defaultValue) Retrieves a boolean property value from the company configuration with a specified default value.protected static booleangetBooleanSystemProperty(String propertyName) Retrieves a boolean property value from the system-wide configuration.protected static booleangetBooleanSystemProperty(String propertyName, boolean defaultValue) Retrieves a boolean property value from the system-wide configuration with a specified default value.protected static DoublegetDoubleProperty(String propertyName) Retrieves a double property value from the company configuration.protected static DoublegetDoubleProperty(String propertyName, Double defaultValue) Retrieves a double property value from the company configuration with a specified default value.protected static IntegergetIntegerProperty(String propertyName) Retrieves an integer property value from the company configuration.protected static IntegergetIntegerProperty(String propertyName, Integer defaultValue) Retrieves an integer property value from the company configuration with a specified default value.protected static IntegergetIntegerSystemProperty(String propertyName) Retrieves an integer property value from the system-wide configuration.protected static IntegergetIntegerSystemProperty(String propertyName, Integer defaultValue) Retrieves an integer property value from the system-wide configuration with a specified default value.protected static LonggetLongProperty(String propertyName) Retrieves a long property value from the company configuration.protected static LonggetLongProperty(String propertyName, Long defaultValue) Retrieves a long property value from the company configuration with a specified default value.getStringListProperty(String propertyName) Retrieves a list of strings property value from the company configuration.getStringListProperty(String propertyName, List<String> defaultValue) Retrieves a list of strings property value from the company configuration with a specified default value.protected static StringgetStringProperty(String propertyName) Retrieves a string property value from the company configuration.protected static StringgetStringProperty(String propertyName, String defaultValue) Retrieves a string property value from the company configuration with a specified default value.protected static StringgetStringSystemProperty(String propertyName) Retrieves a string property value from the system-wide configuration.protected static StringgetStringSystemProperty(String propertyName, String defaultValue) Retrieves a string property value from the system-wide configuration with a specified default value.
-
Constructor Details
-
Properties
protected Properties()
-
-
Method Details
-
getBooleanProperty
Retrieves a boolean property value from the company configuration. This method uses a default value offalseif the property is not found.- Parameters:
propertyName- the name of the property to retrieve- Returns:
- the boolean value of the property, or
falseif not found
-
getBooleanProperty
Retrieves a boolean property value from the company configuration with a specified default value.- Parameters:
propertyName- the name of the property to retrievedefaultValue- the default value to return if the property is not found- Returns:
- the boolean value of the property, or the default value if not found
-
getStringProperty
Retrieves a string property value from the company configuration. This method uses a default value ofnullif the property is not found.- Parameters:
propertyName- the name of the property to retrieve- Returns:
- the string value of the property, or
nullif not found
-
getStringProperty
Retrieves a string property value from the company configuration with a specified default value.- Parameters:
propertyName- the name of the property to retrievedefaultValue- the default value to return if the property is not found- Returns:
- the string value of the property, or the default value if not found
-
getIntegerProperty
Retrieves an integer property value from the company configuration. This method uses a default value ofnullif the property is not found.- Parameters:
propertyName- the name of the property to retrieve- Returns:
- the integer value of the property, or
nullif not found
-
getIntegerProperty
Retrieves an integer property value from the company configuration with a specified default value.- Parameters:
propertyName- the name of the property to retrievedefaultValue- the default value to return if the property is not found- Returns:
- the integer value of the property, or the default value if not found
-
getLongProperty
Retrieves a long property value from the company configuration. This method uses a default value ofnullif the property is not found.- Parameters:
propertyName- the name of the property to retrieve- Returns:
- the long value of the property, or
nullif not found
-
getLongProperty
Retrieves a long property value from the company configuration with a specified default value.- Parameters:
propertyName- the name of the property to retrievedefaultValue- the default value to return if the property is not found- Returns:
- the long value of the property, or the default value if not found
-
getStringListProperty
Retrieves a list of strings property value from the company configuration. This method uses a default value ofnullif the property is not found.- Parameters:
propertyName- the name of the property to retrieve- Returns:
- the list of strings value of the property, or
nullif not found
-
getStringListProperty
Retrieves a list of strings property value from the company configuration with a specified default value.- Parameters:
propertyName- the name of the property to retrievedefaultValue- the default value to return if the property is not found- Returns:
- the list of strings value of the property, or the default value if not found
-
getDoubleProperty
Retrieves a double property value from the company configuration. This method uses a default value ofnullif the property is not found.- Parameters:
propertyName- the name of the property to retrieve- Returns:
- the double value of the property, or
nullif not found
-
getDoubleProperty
Retrieves a double property value from the company configuration with a specified default value.- Parameters:
propertyName- the name of the property to retrievedefaultValue- the default value to return if the property is not found- Returns:
- the double value of the property, or the default value if not found
-
getStringSystemProperty
Retrieves a string property value from the system-wide configuration. This method uses a default value ofnullif the property is not found.- Parameters:
propertyName- the name of the property to retrieve- Returns:
- the string value of the property, or
nullif not found
-
getStringSystemProperty
Retrieves a string property value from the system-wide configuration with a specified default value.- Parameters:
propertyName- the name of the property to retrievedefaultValue- the default value to return if the property is not found- Returns:
- the string value of the property, or the default value if not found
-
getIntegerSystemProperty
Retrieves an integer property value from the system-wide configuration. This method uses a default value ofnullif the property is not found.- Parameters:
propertyName- the name of the property to retrieve- Returns:
- the integer value of the property, or
nullif not found
-
getIntegerSystemProperty
Retrieves an integer property value from the system-wide configuration with a specified default value.- Parameters:
propertyName- the name of the property to retrievedefaultValue- the default value to return if the property is not found- Returns:
- the integer value of the property, or the default value if not found
-
getBooleanSystemProperty
Retrieves a boolean property value from the system-wide configuration. This method uses a default value offalseif the property is not found.- Parameters:
propertyName- the name of the property to retrieve- Returns:
- the boolean value of the property, or
falseif not found
-
getBooleanSystemProperty
Retrieves a boolean property value from the system-wide configuration with a specified default value.- Parameters:
propertyName- the name of the property to retrievedefaultValue- the default value to return if the property is not found- Returns:
- the boolean value of the property, or the default value if not found
-