//
//  NotebookReferenceDataController.h
//  EAMNext
//
//  Created by Sreelakshmi Mereddy on 2/23/18.
//
//

#import "RecordDataController.h"
@class R5MOBILENOTEBOOKS;
@class R5MOBILENOTEBOOKREFERENCES;
@class EAMMobileNotebooks;
@class EAMMobileNotebookReferences;
@interface NotebookReferenceDataController : RecordDataController
{
    R5MOBILENOTEBOOKREFERENCES *_recordValue;
}
@property (nonatomic, strong) EAMMobileNotebooks      *mobileNotebooks;
@property (nonatomic, strong) EAMMobileNotebookReferences *mobileNotebookReferences;
@property (nonatomic, unsafe_unretained)    EAMAppDelegate      *appDelegate;
@property (nonatomic, strong)               DBQuery             *dbqueryHandler;
@property (nonatomic, strong)               NSString                *notebookCode;

- (void)addNotebookReference;
- (void)getNotebookReferencesList;
- (BOOL)validateInput;
- (LOVData *)getLOVDataSource:(NSString *)lovName;
- (void)getNotebookReferenceItem:(NSString *)code;
-(void)enableFields:(BOOL)setReadOnly;
-(void)deleteNotebookreference;
@end
