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

import com.bankaudit.model.MaintLegalEntity;

/**
 * The Interface {@link MaintLegalEntityService} define the methods that can be
 * exposed to controller layer in order to implements rest end-points and define
 * the business logic.
 *
 * @author amit.patel
 * @version 1.0
 */
public interface MaintLegalEntityService {

	/**
	 * This method is use to Creates the maint legal entity.
	 *
	 * @param maintLegalEntity
	 *            specify the maint legal entity
	 */
	void createMaintLegalEntity(MaintLegalEntity maintLegalEntity);

	/**
	 * This method is use to Update entity status.
	 *
	 * @param legalEntityCode
	 *            specify the legal entity code
	 * @param entityStatus
	 *            specify the entity status
	 */
	void updateEntityStatus(Integer legalEntityCode, String entityStatus);
	
	/**
	 * This method is use to Gets the maint legal entity by id.
	 *
	 * @param legalEntityCode
	 *            specify the legal entity code
	 * @return the maint legal entity .
	 */
	MaintLegalEntity getMaintLegalEntityById(Integer legalEntityCode);
	
}
