Skip to content

Commit

Permalink
renaming dbobjects to entity
Browse files Browse the repository at this point in the history
refactoring CenterPayload file
moving LoanPayload to network module
  • Loading branch information
Darkeye14 committed Jan 7, 2025
1 parent 4d59234 commit 1168f51
Show file tree
Hide file tree
Showing 382 changed files with 810 additions and 810 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ package com.mifos.core.data.pagingSource

import androidx.paging.PagingSource
import androidx.paging.PagingState
import com.mifos.core.dbobjects.group.Center
import com.mifos.core.entity.group.Center
import com.mifos.core.network.datamanager.DataManagerCenter
import com.mifos.core.objects.clients.Page
import rx.Subscriber
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ package com.mifos.core.data.pagingSource

import androidx.paging.PagingSource
import androidx.paging.PagingState
import com.mifos.core.dbobjects.client.Charges
import com.mifos.core.entity.client.Charges
import com.mifos.core.network.datamanager.DataManagerCharge
import com.mifos.core.objects.clients.Page
import kotlinx.coroutines.suspendCancellableCoroutine
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ package com.mifos.core.data.pagingSource

import androidx.paging.PagingSource
import androidx.paging.PagingState
import com.mifos.core.dbobjects.client.Client
import com.mifos.core.entity.client.Client
import com.mifos.core.network.datamanager.DataManagerClient
import com.mifos.core.objects.clients.Page
import rx.Subscriber
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.dbobjects.group.CenterWithAssociations
import com.mifos.core.entity.group.CenterWithAssociations
import com.mifos.core.objects.groups.CenterInfo
import kotlinx.coroutines.flow.Flow

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
package com.mifos.core.data.repository

import androidx.paging.PagingData
import com.mifos.core.dbobjects.group.Center
import com.mifos.core.dbobjects.group.CenterWithAssociations
import com.mifos.core.entity.group.Center
import com.mifos.core.entity.group.CenterWithAssociations
import com.mifos.core.objects.clients.Page
import kotlinx.coroutines.flow.Flow
import rx.Observable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
package com.mifos.core.data.repository

import androidx.paging.PagingData
import com.mifos.core.dbobjects.client.Charges
import com.mifos.core.entity.client.Charges
import kotlinx.coroutines.flow.Flow

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.dbobjects.accounts.ClientAccounts
import com.mifos.core.dbobjects.client.Client
import com.mifos.core.entity.accounts.ClientAccounts
import com.mifos.core.entity.client.Client
import okhttp3.MultipartBody
import okhttp3.ResponseBody
import rx.Observable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
package com.mifos.core.data.repository

import androidx.paging.PagingData
import com.mifos.core.dbobjects.client.Client
import com.mifos.core.entity.client.Client
import com.mifos.core.objects.clients.Page
import kotlinx.coroutines.flow.Flow
import rx.Observable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.data.CenterPayload
import com.mifos.core.entity.center.CenterPayload
import com.mifos.core.objects.responses.SaveResponse
import rx.Observable

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.dbobjects.client.Client
import com.mifos.core.dbobjects.client.ClientPayload
import com.mifos.core.dbobjects.organisation.Office
import com.mifos.core.dbobjects.organisation.Staff
import com.mifos.core.dbobjects.templates.clients.ClientsTemplate
import com.mifos.core.entity.client.Client
import com.mifos.core.entity.client.ClientPayload
import com.mifos.core.entity.organisation.Office
import com.mifos.core.entity.organisation.Staff
import com.mifos.core.entity.templates.clients.ClientsTemplate
import okhttp3.MultipartBody
import okhttp3.ResponseBody
import rx.Observable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.dbobjects.group.GroupPayload
import com.mifos.core.dbobjects.organisation.Office
import com.mifos.core.entity.group.GroupPayload
import com.mifos.core.entity.organisation.Office
import com.mifos.core.objects.responses.SaveResponse
import rx.Observable

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.data.LoansPayload
import com.mifos.core.dbobjects.accounts.loan.Loans
import com.mifos.core.dbobjects.client.Client
import com.mifos.core.dbobjects.client.ClientPayload
import com.mifos.core.entity.accounts.loan.Loans
import com.mifos.core.entity.client.Client
import com.mifos.core.entity.client.ClientPayload
import com.mifos.core.network.model.LoansPayload
import com.mifos.core.payloads.GroupLoanPayload
import rx.Observable

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.dbobjects.noncore.DataTable
import com.mifos.core.entity.noncore.DataTable

/**
* Created by Aditya Gupta on 08/08/23.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.dbobjects.collectionsheet.CenterDetail
import com.mifos.core.dbobjects.collectionsheet.CollectionSheetPayload
import com.mifos.core.dbobjects.collectionsheet.CollectionSheetResponse
import com.mifos.core.dbobjects.collectionsheet.ProductiveCollectionSheetPayload
import com.mifos.core.dbobjects.group.Center
import com.mifos.core.dbobjects.group.CenterWithAssociations
import com.mifos.core.dbobjects.group.Group
import com.mifos.core.entity.collectionsheet.CenterDetail
import com.mifos.core.entity.collectionsheet.CollectionSheetPayload
import com.mifos.core.entity.collectionsheet.CollectionSheetResponse
import com.mifos.core.entity.collectionsheet.ProductiveCollectionSheetPayload
import com.mifos.core.entity.group.Center
import com.mifos.core.entity.group.CenterWithAssociations
import com.mifos.core.entity.group.Group
import com.mifos.core.network.GenericResponse
import com.mifos.core.objects.collectionsheets.CollectionSheetRequestPayload

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.dbobjects.accounts.GroupAccounts
import com.mifos.core.dbobjects.group.Group
import com.mifos.core.dbobjects.group.GroupWithAssociations
import com.mifos.core.entity.accounts.GroupAccounts
import com.mifos.core.entity.group.Group
import com.mifos.core.entity.group.GroupWithAssociations
import rx.Observable

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.dbobjects.group.CenterWithAssociations
import com.mifos.core.dbobjects.group.GroupWithAssociations
import com.mifos.core.entity.group.CenterWithAssociations
import com.mifos.core.entity.group.GroupWithAssociations
import rx.Observable

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.dbobjects.accounts.loan.Loans
import com.mifos.core.entity.accounts.loan.Loans
import com.mifos.core.objects.template.loan.GroupLoanTemplate
import com.mifos.core.payloads.GroupLoanPayload
import rx.Observable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.dbobjects.group.Group
import com.mifos.core.entity.group.Group
import kotlinx.coroutines.flow.Flow

interface GroupsListRepository {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.dbobjects.templates.loans.LoanTransactionTemplate
import com.mifos.core.entity.templates.loans.LoanTransactionTemplate
import com.mifos.core.network.GenericResponse
import com.mifos.core.objects.account.loan.LoanDisbursement
import rx.Observable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.data.LoansPayload
import com.mifos.core.dbobjects.accounts.loan.Loans
import com.mifos.core.dbobjects.templates.loans.LoanTemplate
import com.mifos.core.entity.accounts.loan.Loans
import com.mifos.core.entity.templates.loans.LoanTemplate
import com.mifos.core.network.model.LoansPayload
import com.mifos.core.objects.organisations.LoanProducts
import rx.Observable

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.dbobjects.accounts.loan.LoanWithAssociations
import com.mifos.core.entity.accounts.loan.LoanWithAssociations
import rx.Observable

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.dbobjects.client.Charges
import com.mifos.core.entity.client.Charges

/**
* Created by Aditya Gupta on 10/08/23.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.dbobjects.accounts.loan.LoanRepaymentRequest
import com.mifos.core.dbobjects.templates.loans.LoanRepaymentTemplate
import com.mifos.core.entity.accounts.loan.LoanRepaymentRequest
import com.mifos.core.entity.templates.loans.LoanRepaymentTemplate
import com.mifos.core.objects.account.loan.LoanRepaymentResponse
import rx.Observable

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.dbobjects.accounts.loan.LoanWithAssociations
import com.mifos.core.entity.accounts.loan.LoanWithAssociations
import rx.Observable

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.dbobjects.accounts.loan.LoanWithAssociations
import com.mifos.core.entity.accounts.loan.LoanWithAssociations
import rx.Observable

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.dbobjects.collectionsheet.IndividualCollectionSheet
import com.mifos.core.dbobjects.organisation.Office
import com.mifos.core.dbobjects.organisation.Staff
import com.mifos.core.entity.collectionsheet.IndividualCollectionSheet
import com.mifos.core.entity.organisation.Office
import com.mifos.core.entity.organisation.Staff
import com.mifos.core.network.model.RequestCollectionSheetPayload

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.dbobjects.noncore.Note
import com.mifos.core.entity.noncore.Note

interface NoteRepository {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.data.CenterPayload
import com.mifos.core.dbobjects.accounts.loan.LoanRepaymentRequest
import com.mifos.core.dbobjects.accounts.savings.SavingsAccountTransactionRequest
import com.mifos.core.dbobjects.client.ClientPayload
import com.mifos.core.dbobjects.group.GroupPayload
import com.mifos.core.entity.accounts.loan.LoanRepaymentRequest
import com.mifos.core.entity.accounts.savings.SavingsAccountTransactionRequest
import com.mifos.core.entity.center.CenterPayload
import com.mifos.core.entity.client.ClientPayload
import com.mifos.core.entity.group.GroupPayload
import rx.Observable

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.dbobjects.client.Savings
import com.mifos.core.dbobjects.templates.savings.SavingProductsTemplate
import com.mifos.core.entity.client.Savings
import com.mifos.core.entity.templates.savings.SavingProductsTemplate
import com.mifos.core.objects.organisations.ProductSavings
import com.mifos.core.payloads.SavingsPayload
import rx.Observable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.dbobjects.accounts.savings.SavingsAccountWithAssociations
import com.mifos.core.entity.accounts.savings.SavingsAccountWithAssociations
import rx.Observable

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.dbobjects.accounts.savings.SavingsAccountTransactionRequest
import com.mifos.core.dbobjects.templates.savings.SavingsAccountTransactionTemplate
import com.mifos.core.entity.accounts.savings.SavingsAccountTransactionRequest
import com.mifos.core.entity.templates.savings.SavingsAccountTransactionTemplate
import com.mifos.core.objects.account.saving.SavingsAccountTransactionResponse
import rx.Observable

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.dbobjects.survey.QuestionDatas
import com.mifos.core.dbobjects.survey.ResponseDatas
import com.mifos.core.dbobjects.survey.Survey
import com.mifos.core.entity.survey.QuestionDatas
import com.mifos.core.entity.survey.ResponseDatas
import com.mifos.core.entity.survey.Survey
import rx.Observable

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.data.CenterPayload
import com.mifos.core.entity.center.CenterPayload
import com.mifos.core.objects.responses.SaveResponse
import rx.Observable

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.dbobjects.accounts.CenterAccounts
import com.mifos.core.dbobjects.accounts.ClientAccounts
import com.mifos.core.dbobjects.accounts.GroupAccounts
import com.mifos.core.dbobjects.accounts.loan.LoanWithAssociations
import com.mifos.core.dbobjects.accounts.savings.SavingsAccountWithAssociations
import com.mifos.core.dbobjects.client.Client
import com.mifos.core.dbobjects.group.Center
import com.mifos.core.dbobjects.group.CenterWithAssociations
import com.mifos.core.dbobjects.group.Group
import com.mifos.core.dbobjects.group.GroupWithAssociations
import com.mifos.core.dbobjects.templates.loans.LoanRepaymentTemplate
import com.mifos.core.dbobjects.templates.savings.SavingsAccountTransactionTemplate
import com.mifos.core.entity.accounts.CenterAccounts
import com.mifos.core.entity.accounts.ClientAccounts
import com.mifos.core.entity.accounts.GroupAccounts
import com.mifos.core.entity.accounts.loan.LoanWithAssociations
import com.mifos.core.entity.accounts.savings.SavingsAccountWithAssociations
import com.mifos.core.entity.client.Client
import com.mifos.core.entity.group.Center
import com.mifos.core.entity.group.CenterWithAssociations
import com.mifos.core.entity.group.Group
import com.mifos.core.entity.group.GroupWithAssociations
import com.mifos.core.entity.templates.loans.LoanRepaymentTemplate
import com.mifos.core.entity.templates.savings.SavingsAccountTransactionTemplate
import rx.Observable

/**
Expand Down
Loading

0 comments on commit 1168f51

Please sign in to comment.