Index
All Classes and Interfaces|All Packages
A
- age() - Method in record class com.dataset.service.model.response.EmployeeVO
-
Returns the value of the
age
record component. - ApplicationProperties - Class in com.dataset.service.model
- ApplicationProperties() - Constructor for class com.dataset.service.model.ApplicationProperties
C
- com.dataset.service - package com.dataset.service
- com.dataset.service.entity - package com.dataset.service.entity
- com.dataset.service.model - package com.dataset.service.model
- com.dataset.service.model.deserializer - package com.dataset.service.model.deserializer
- com.dataset.service.model.enums - package com.dataset.service.model.enums
- com.dataset.service.model.request - package com.dataset.service.model.request
- com.dataset.service.model.response - package com.dataset.service.model.response
- com.dataset.service.repository - package com.dataset.service.repository
- com.dataset.service.rest.v1 - package com.dataset.service.rest.v1
- com.dataset.service.service - package com.dataset.service.service
- com.dataset.service.service.factory - package com.dataset.service.service.factory
- com.dataset.service.service.impl - package com.dataset.service.service.impl
- com.dataset.service.service.proxy - package com.dataset.service.service.proxy
- createRecord(RecordDTO) - Method in interface com.dataset.service.service.DataSetService
- createRecord(RecordDTO) - Method in class com.dataset.service.service.impl.DepartmentDatasetService
-
creates a new department record
- createRecord(RecordDTO) - Method in class com.dataset.service.service.impl.EmployeeDatasetService
-
creates the employee record based for the Employee Dataset
- createRecord(RecordDTO, String) - Method in class com.dataset.service.service.proxy.DataSetServiceProxy
-
The method createRecord creates a record for a provided data set.
- createRecord(String, RecordDTO) - Method in class com.dataset.service.rest.v1.DataSetController
-
Creates a record for the specified dataset.
- CustomRecordDTODeserializer - Class in com.dataset.service.model.deserializer
-
This is a custom deserializer to deserialize the Object of type RecordDTO.
- CustomRecordDTODeserializer() - Constructor for class com.dataset.service.model.deserializer.CustomRecordDTODeserializer
D
- dataset() - Method in record class com.dataset.service.model.response.RecordCreateResponseVO
-
Returns the value of the
dataset
record component. - DataSetController - Class in com.dataset.service.rest.v1
-
DataSetController handles operations related to datasets and their records.
- DataSetController() - Constructor for class com.dataset.service.rest.v1.DataSetController
- dataSetFactory(EmployeeDatasetService, DepartmentDatasetService) - Method in class com.dataset.service.DatasetServiceAutoConfiguration
- DataSetFactory - Record Class in com.dataset.service.service.factory
-
DataSetFactory is a Factory implementation to resolve the type of DatasetService based om the dataset name provided.
- DataSetFactory(EmployeeDatasetService, DepartmentDatasetService) - Constructor for record class com.dataset.service.service.factory.DataSetFactory
-
Creates an instance of a
DataSetFactory
record class. - DataSetService - Interface in com.dataset.service.service
-
DataSetService is the interface for the service layer of this application This class is responsible for creating records based on given dataset and query the list of records for given fields for sortBy and groupBy query
- DatasetServiceApplication - Class in com.dataset.service
- DatasetServiceApplication() - Constructor for class com.dataset.service.DatasetServiceApplication
- DatasetServiceAutoConfiguration - Class in com.dataset.service
- DatasetServiceAutoConfiguration() - Constructor for class com.dataset.service.DatasetServiceAutoConfiguration
- dataSetServiceProxy(DataSetFactory) - Method in class com.dataset.service.DatasetServiceAutoConfiguration
- DataSetServiceProxy - Class in com.dataset.service.service.proxy
-
DataSetServiceProxy is a proxy service for the Dataset service which holds all the validation before performing the actual task in Dataset Service.
- DataSetServiceProxy() - Constructor for class com.dataset.service.service.proxy.DataSetServiceProxy
- DEPARTMENT - Enum constant in enum class com.dataset.service.model.enums.SupportedDataSets
- departmentDatasetService() - Method in record class com.dataset.service.service.factory.DataSetFactory
-
Returns the value of the
departmentDatasetService
record component. - DepartmentDatasetService - Class in com.dataset.service.service.impl
-
DepartmentDatasetService is a concrete implementation of DatasetService interface and provides the implementation of methods related to createRecord and searchRecord for Department dataset.
- DepartmentDatasetService() - Constructor for class com.dataset.service.service.impl.DepartmentDatasetService
- DepartmentDTO - Class in com.dataset.service.model.request
-
DepartmentDTO is the payload or the request object for creating a Department Record.
- DepartmentDTO() - Constructor for class com.dataset.service.model.request.DepartmentDTO
- DepartmentEntity - Class in com.dataset.service.entity
- DepartmentEntity() - Constructor for class com.dataset.service.entity.DepartmentEntity
- departmentName() - Method in record class com.dataset.service.model.response.EmployeeVO
-
Returns the value of the
departmentName
record component. - DepartmentRepository - Interface in com.dataset.service.repository
- DepartmentVO - Record Class in com.dataset.service.model.response
-
This is the response class for returning the DepartmentVO.
- DepartmentVO(UUID, String, String) - Constructor for record class com.dataset.service.model.response.DepartmentVO
-
Creates an instance of a
DepartmentVO
record class. - deserialize(JsonParser, DeserializationContext) - Method in class com.dataset.service.model.deserializer.CustomRecordDTODeserializer
E
- EMPLOYEE - Enum constant in enum class com.dataset.service.model.enums.SupportedDataSets
- employeeDatasetService() - Method in record class com.dataset.service.service.factory.DataSetFactory
-
Returns the value of the
employeeDatasetService
record component. - EmployeeDatasetService - Class in com.dataset.service.service.impl
-
EmployeeDatasetService is the concrete implementation of DatasetService interface and provides the implementation of methods related to createRecord and searchRecord for the employee Dataset.
- EmployeeDatasetService() - Constructor for class com.dataset.service.service.impl.EmployeeDatasetService
- EmployeeDTO - Class in com.dataset.service.model.request
-
EmployeeDTO is the payload or the request object for creating a Employee Record.
- EmployeeDTO() - Constructor for class com.dataset.service.model.request.EmployeeDTO
- EmployeeEntity - Class in com.dataset.service.entity
- EmployeeEntity() - Constructor for class com.dataset.service.entity.EmployeeEntity
- EmployeeRepository - Interface in com.dataset.service.repository
- EmployeeVO - Record Class in com.dataset.service.model.response
-
This is the response class for returning the EmployeeVO(Employee view object) after transformation from entity layer.
- EmployeeVO(UUID, String, String, String, int) - Constructor for record class com.dataset.service.model.response.EmployeeVO
-
Creates an instance of a
EmployeeVO
record class. - equals(Object) - Method in record class com.dataset.service.model.response.DepartmentVO
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dataset.service.model.response.EmployeeVO
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dataset.service.model.response.RecordCreateResponseVO
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dataset.service.model.response.RecordResponseVO
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dataset.service.service.factory.DataSetFactory
-
Indicates whether some other object is "equal to" this one.
F
- findAllEmployeeDetails() - Method in interface com.dataset.service.repository.EmployeeRepository
- fromValue(String) - Static method in enum class com.dataset.service.model.enums.SupportedDataSets
G
- getAllRecords() - Method in interface com.dataset.service.service.DataSetService
- getAllRecords() - Method in class com.dataset.service.service.impl.DepartmentDatasetService
-
Fetches all the department records without orderBy and sortBy
- getAllRecords() - Method in class com.dataset.service.service.impl.EmployeeDatasetService
-
Fetches all the employee records.
- getDepartmentDatasetService(DepartmentRepository, EntityManager) - Method in class com.dataset.service.DatasetServiceAutoConfiguration
- getEmployeeDatasetService(EmployeeRepository, DepartmentRepository, EntityManager) - Method in class com.dataset.service.DatasetServiceAutoConfiguration
- getGroupedRecords(String) - Method in interface com.dataset.service.service.DataSetService
- getGroupedRecords(String) - Method in class com.dataset.service.service.impl.DepartmentDatasetService
-
Groups department records by the given field
- getGroupedRecords(String) - Method in class com.dataset.service.service.impl.EmployeeDatasetService
-
This groups the employee record for the given groupBy field
- getService(String) - Method in record class com.dataset.service.service.factory.DataSetFactory
-
The method getService provides the required bean of type DatasetService based on the dataset name provided.
- getSortedAndGroupedRecords(String, String, String) - Method in interface com.dataset.service.service.DataSetService
- getSortedAndGroupedRecords(String, String, String) - Method in class com.dataset.service.service.impl.DepartmentDatasetService
-
Sort the records and then group the records by given order
- getSortedAndGroupedRecords(String, String, String) - Method in class com.dataset.service.service.impl.EmployeeDatasetService
-
Sort and then groups employee records based on the provided sortBy, groupBy and order params.
- getSortedAndGroupedRecords(String, String, String, String) - Method in class com.dataset.service.service.proxy.DataSetServiceProxy
-
Retrieves the records for the specified dataset with optional groupBy or sort By or both operations
- getSortedRecords(String, String) - Method in interface com.dataset.service.service.DataSetService
- getSortedRecords(String, String) - Method in class com.dataset.service.service.impl.DepartmentDatasetService
-
Sort the department records by given field and order
- getSortedRecords(String, String) - Method in class com.dataset.service.service.impl.EmployeeDatasetService
-
This sorts the all employee records based on the given sortBy field and sort direction
- getValue() - Method in enum class com.dataset.service.model.enums.SupportedDataSets
- groupByQuery(String, String, String, String) - Method in class com.dataset.service.rest.v1.DataSetController
-
Queries the list of records for the specified dataset, with optional groupBy, sortBy operations
- groupedRecords() - Method in record class com.dataset.service.model.response.RecordResponseVO
-
Returns the value of the
groupedRecords
record component.
H
- handleRuntimeException(RuntimeException, HttpServletRequest) - Method in class com.dataset.service.rest.v1.RestExceptionHandler
- hashCode() - Method in record class com.dataset.service.model.response.DepartmentVO
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dataset.service.model.response.EmployeeVO
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dataset.service.model.response.RecordCreateResponseVO
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dataset.service.model.response.RecordResponseVO
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dataset.service.service.factory.DataSetFactory
-
Returns a hash code value for this object.
I
- id() - Method in record class com.dataset.service.model.response.DepartmentVO
-
Returns the value of the
id
record component. - id() - Method in record class com.dataset.service.model.response.EmployeeVO
-
Returns the value of the
id
record component. - id() - Method in record class com.dataset.service.model.response.RecordCreateResponseVO
-
Returns the value of the
id
record component. - isSupportedDataSet(String) - Static method in enum class com.dataset.service.model.enums.SupportedDataSets
L
- location() - Method in record class com.dataset.service.model.response.DepartmentVO
-
Returns the value of the
location
record component. - location() - Method in record class com.dataset.service.model.response.EmployeeVO
-
Returns the value of the
location
record component.
M
- main(String[]) - Static method in class com.dataset.service.DatasetServiceApplication
- message() - Method in record class com.dataset.service.model.response.RecordCreateResponseVO
-
Returns the value of the
message
record component. - message() - Method in record class com.dataset.service.model.response.RecordResponseVO
-
Returns the value of the
message
record component.
N
- name() - Method in record class com.dataset.service.model.response.DepartmentVO
-
Returns the value of the
name
record component. - name() - Method in record class com.dataset.service.model.response.EmployeeVO
-
Returns the value of the
name
record component.
O
- openAPI() - Method in class com.dataset.service.DatasetServiceAutoConfiguration
R
- RecordCreateResponseVO - Record Class in com.dataset.service.model.response
-
This is the RecordCreateResponseVO class which creates a record for the provided dataset.
- RecordCreateResponseVO(String, String, UUID) - Constructor for record class com.dataset.service.model.response.RecordCreateResponseVO
-
Creates an instance of a
RecordCreateResponseVO
record class. - RecordDTO - Interface in com.dataset.service.model.request
-
This Interface is the Marker Interface for all dataset record DTOs.
- recordDTOModule() - Method in class com.dataset.service.DatasetServiceAutoConfiguration
- RecordResponseVO<T> - Record Class in com.dataset.service.model.response
-
This is the generic response class for retrieving records from the dataset.
- RecordResponseVO(String, T, T, T) - Constructor for record class com.dataset.service.model.response.RecordResponseVO
-
Creates an instance of a
RecordResponseVO
record class. - records() - Method in record class com.dataset.service.model.response.RecordResponseVO
-
Returns the value of the
records
record component. - RestExceptionHandler - Class in com.dataset.service.rest.v1
- RestExceptionHandler() - Constructor for class com.dataset.service.rest.v1.RestExceptionHandler
S
- sortedRecords() - Method in record class com.dataset.service.model.response.RecordResponseVO
-
Returns the value of the
sortedRecords
record component. - SupportedDataSets - Enum Class in com.dataset.service.model.enums
T
- toString() - Method in record class com.dataset.service.model.response.DepartmentVO
-
Returns a string representation of this record class.
- toString() - Method in record class com.dataset.service.model.response.EmployeeVO
-
Returns a string representation of this record class.
- toString() - Method in record class com.dataset.service.model.response.RecordCreateResponseVO
-
Returns a string representation of this record class.
- toString() - Method in record class com.dataset.service.model.response.RecordResponseVO
-
Returns a string representation of this record class.
- toString() - Method in record class com.dataset.service.service.factory.DataSetFactory
-
Returns a string representation of this record class.
V
- valueOf(String) - Static method in enum class com.dataset.service.model.enums.SupportedDataSets
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.dataset.service.model.enums.SupportedDataSets
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages