/*
 * 
 */
package com.bankaudit.service;

import java.util.Date;

import com.bankaudit.model.BusinessDate;

/**
 * {@link BusinessDateService} interface define the CRUD methods for
 * {@link BusinessDate} class object.
 *
 * @author amit.patel
 * @version 1.0
 */
public interface BusinessDateService {

	 /**
	 * This method is use to Gets the business date timestamp by legal entity
	 * code.
	 *
	 * @param legalEntityCode
	 *            specify the legal entity code
	 * @return the date .
	 */
 	Date getBusinessDateTimestampByLegalEntityCode(Integer legalEntityCode);
	 
 	/**
	 * This method is use to Gets the business date by legal entity code.
	 *
	 * @param legalEntityCode
	 *            specify the legal entity code
	 * @return the business date .
	 */
 	BusinessDate getBusinessDateByLegalEntityCode(Integer legalEntityCode);
	 
	 /**
	 * This method is use to Creates the business date.
	 *
	 * @param businessDate
	 *            specify the business date
	 */
 	void createBusinessDate(BusinessDate businessDate);
 	
 	void updateBusinessDateBasedOnSysDate(Integer legalEntityCode);
}
