use of m.co.rh.id.a_medic_log.app.provider.command.QueryMedicineCmd in project a-medic-log by rh-id.
the class CommandProviderModule method provides.
@Override
public void provides(Context context, ProviderRegistry providerRegistry, Provider provider) {
providerRegistry.registerLazy(NewProfileCmd.class, () -> new NewProfileCmd(context, provider));
providerRegistry.registerLazy(UpdateProfileCmd.class, () -> new UpdateProfileCmd(context, provider));
providerRegistry.registerLazy(DeleteProfileCmd.class, () -> new DeleteProfileCmd(context, provider));
providerRegistry.registerLazy(PagedProfileItemsCmd.class, () -> new PagedProfileItemsCmd(context, provider));
providerRegistry.registerLazy(DeleteNoteCmd.class, () -> new DeleteNoteCmd(context, provider));
providerRegistry.registerLazy(PagedNoteItemsCmd.class, () -> new PagedNoteItemsCmd(context, provider));
providerRegistry.registerLazy(NewNoteCmd.class, () -> new NewNoteCmd(context, provider));
providerRegistry.registerLazy(UpdateNoteCmd.class, () -> new UpdateNoteCmd(context, provider));
providerRegistry.registerLazy(QueryNoteCmd.class, () -> new QueryNoteCmd(provider));
providerRegistry.registerLazy(NewNoteTagCmd.class, () -> new NewNoteTagCmd(context, provider));
providerRegistry.registerLazy(DeleteNoteTagCmd.class, () -> new DeleteNoteTagCmd(context, provider));
providerRegistry.registerLazy(NewMedicineCmd.class, () -> new NewMedicineCmd(context, provider));
providerRegistry.registerLazy(UpdateMedicineCmd.class, () -> new UpdateMedicineCmd(context, provider));
providerRegistry.registerLazy(DeleteMedicineCmd.class, () -> new DeleteMedicineCmd(context, provider));
providerRegistry.registerLazy(QueryMedicineCmd.class, () -> new QueryMedicineCmd(provider));
providerRegistry.registerLazy(NewMedicineReminderCmd.class, () -> new NewMedicineReminderCmd(context, provider));
providerRegistry.registerLazy(UpdateMedicineReminderCmd.class, () -> new UpdateMedicineReminderCmd(context, provider));
providerRegistry.registerLazy(DeleteMedicineReminderCmd.class, () -> new DeleteMedicineReminderCmd(context, provider));
providerRegistry.registerLazy(NewMedicineIntakeCmd.class, () -> new NewMedicineIntakeCmd(context, provider));
providerRegistry.registerLazy(UpdateMedicineIntakeCmd.class, () -> new UpdateMedicineIntakeCmd(context, provider));
providerRegistry.registerLazy(DeleteMedicineIntakeCmd.class, () -> new DeleteMedicineIntakeCmd(context, provider));
providerRegistry.registerLazy(PagedMedicineIntakeItemsCmd.class, () -> new PagedMedicineIntakeItemsCmd(context, provider));
providerRegistry.registerLazy(NewNoteAttachmentCmd.class, () -> new NewNoteAttachmentCmd(context, provider));
providerRegistry.registerLazy(UpdateNoteAttachmentCmd.class, () -> new UpdateNoteAttachmentCmd(context, provider));
providerRegistry.registerLazy(DeleteNoteAttachmentCmd.class, () -> new DeleteNoteAttachmentCmd(provider));
providerRegistry.registerLazy(NewNoteAttachmentFileCmd.class, () -> new NewNoteAttachmentFileCmd(provider));
providerRegistry.registerLazy(DeleteNoteAttachmentFileCmd.class, () -> new DeleteNoteAttachmentFileCmd(provider));
}
Aggregations