Ongoing Lien Data Service class diagram

 avatar
unknown
plain_text
10 months ago
1.6 kB
4
Indexable
@startuml
class LienRecordDataController {
  - lienRecordDataService : LienRecordDataService
  + upsertLienRecord(LienRecord lienRecord) : LienResponse
  + multiGetLienRecord(integer offset, integer batchSize) : List<LienRecord>
  + getLienRecord(String lienId) : LienRecord
}

interface LienRecordDataService {
  + upsertLienRecord(LienRecord lienRecord) : LienResponse
  + fetchMultipleLienRecords(integer offset, integer batchSize) : List<LienRecord>
  + fetchLienRecord(String lienId) : LienRecord
}

class DefaultLienRecordDataService implements LienRecordDataService {
  - lienRecordDataRepository : LienRecordDataRepository
  + upsertLienRecord(LienRecord lienRecord) : LienResponse
  + fetchMultipleLienRecords(List<String> recordIds) : List<LienRecord>
  + fetchLienRecord(String recordId) : LienRecord
}

interface LienRecordDataRepository {
  + upsert(LienRecord lienRecord) : LienRecord
  + getById(String recordId) : LienRecord
  + getByIds(List<String> recordIds) : List<LienRecord>
}

class DynamoDBLienRecordDataRepository implements LienRecordDataRepository {
  - dynamoDBClient : DynamoDBClient
  + upsert(LienRecord lienRecord) : LienRecord
  + getById(String recordId) : LienRecord
  + getByIds(List<String> recordIds) : List<LienRecord>
}

class LienRecord {
  + recordId : String
  + lienDetails : String
}

class LienResponse {
  + lienRemoved : boolean
}

LienRecordDataController "1" --> "1"  LienRecordDataService
DefaultLienRecordDataService --> LienRecordDataRepository
LienRecordDataRepository --> DynamoDBClient
@enduml
Editor is loading...
Leave a Comment