//
//  NotebookEmailDataController.h
//  EAMNext
//
//  Created by Bhavani Srikantam on 06/10/17.
//
//

#import "RecordDataController.h"

@class EAMAppDelegate;
@class R5MOBILENOTEBOOKS;
@class R5MOBILENOTEBOOKEMAILS;
@class EAMMobileNotebooks;
@class EAMMobileNotebookEmails;

@interface NotebookEmailDataController : RecordDataController
{
    R5MOBILENOTEBOOKEMAILS *_recordValue;
}

@property (nonatomic) BOOL isAddMode;
@property (nonatomic, strong) EAMMobileNotebooks      *mobileNotebooks;
@property (nonatomic, strong) EAMMobileNotebookEmails *mobileNotebookEmail;
@property (nonatomic, unsafe_unretained)    EAMAppDelegate      *appDelegate;
@property (nonatomic, strong)               DBQuery             *dbqueryHandler;
@property (nonatomic, strong)               NSString                *notebookCode;

- (void)addNotebookEmailAddress;
- (void)deleteMobileNotebookEmail;
- (void)getNotebookEmailList;
- (BOOL)validateInput;
- (LOVData *)getLOVDataSource:(NSString *)lovName;
- (void)addResendSelectedEmails:(EAMMobileNotebookEmails *)currentRecord;
- (void)getNotebookEmailItem:(NSString *)code;
@end
