// Path: src/java/is/idega/idegaweb/egov/accounting/business/AccountingConstants.java
// public class AccountingConstants {
// 
// 	public static final String IW_BUNDLE_IDENTIFIER = "is.idega.idegaweb.egov.accounting";
// 
// 	public static final String ACCOUNTING_SYSTEM_NAVISION = "NAVISION";
// 	public static final String ACCOUNTING_SYSTEM_NAVISION_XML = "NAVISIONXML";
// 	public static final String ACCOUNTING_SYSTEM_SFS = "SFS";
// 
// 	public static final String PROPERTY_ACCOUNTING_SYSTEM = "egov.external.accounting.system";
// 	public static final String PROPERTY_ACCOUNTING_FETCHER_SHOW_INPUTS = "egov.accounting.show.all.inputs";
// 	public static final String PROPERTY_ACCOUNTING_SHOW_AGRESSO_VIEW = "egov.accounting.show.agresso.view";
// 	
// 	public static final String SESSION_PRODUCT_MAP = "accounting_product_map";
// 	public static final String SESSION_PAYMENT_METHOD_MAP = "accounting_payment_method_map";
// 
// }
// 
// Path: src/java/is/idega/idegaweb/egov/accounting/business/AccountingKeyBusiness.java
// public interface AccountingKeyBusiness extends IBOService {
// 
// 	/**
// 	 * @see is.idega.idegaweb.egov.accounting.business.AccountingKeyBusinessBean#getAccountingKey
// 	 */
// 	public CaseCodeAccountingKey getAccountingKey(CaseCode code) throws FinderException, RemoteException;
// 
// 	/**
// 	 * @see is.idega.idegaweb.egov.accounting.business.AccountingKeyBusinessBean#getAccountingFiles
// 	 */
// 	public Collection getAccountingFiles(String caseCode) throws RemoteException;
// 
// 	/**
// 	 * @see is.idega.idegaweb.egov.accounting.business.AccountingKeyBusinessBean#removeAccountingFile
// 	 */
// 	public void removeAccountingFile(Object accountingFilePK) throws RemoteException;
// 
// 	/**
// 	 * @see is.idega.idegaweb.egov.accounting.business.AccountingKeyBusinessBean#getProductKeyMap
// 	 */
// 	public Map getProductKeyMap(CaseCode code) throws RemoteException;
// 
// 	/**
// 	 * @see is.idega.idegaweb.egov.accounting.business.AccountingKeyBusinessBean#getSchoolProductKeyMap
// 	 */
// 	public Map getSchoolProductKeyMap() throws RemoteException;
// 
// 	/**
// 	 * @see is.idega.idegaweb.egov.accounting.business.AccountingKeyBusinessBean#storeSchoolCode
// 	 */
// 	public void storeSchoolCode(Object schoolPK, Object typePK, String accountingKey) throws CreateException, RemoteException;
// 
// 	/**
// 	 * @see is.idega.idegaweb.egov.accounting.business.AccountingKeyBusinessBean#storeSchoolCode
// 	 */
// 	public void storeSchoolCode(School school, SchoolType type, String accountingKey) throws CreateException, RemoteException;
// 
// 	/**
// 	 * @see is.idega.idegaweb.egov.accounting.business.AccountingKeyBusinessBean#getSchoolCodes
// 	 */
// 	public Collection getSchoolCodes(School school) throws RemoteException;
// 
// 	/**
// 	 * @see is.idega.idegaweb.egov.accounting.business.AccountingKeyBusinessBean#getSchoolCode
// 	 */
// 	public SchoolCode getSchoolCode(School school, SchoolType type) throws RemoteException;
// 
// 	/**
// 	 * @see is.idega.idegaweb.egov.accounting.business.AccountingKeyBusinessBean#createAccountingFile
// 	 */
// 	public void createAccountingFile(String caseCode, Date month) throws RemoteException;
// 
// 	/**
// 	 * @see is.idega.idegaweb.egov.accounting.business.AccountingKeyBusinessBean#generateAccountingString
// 	 */
// 	public void generateAccountingString(String caseCode, Date month, boolean createFile) throws RemoteException;
// 
// 	/**
// 	 * @see is.idega.idegaweb.egov.accounting.business.AccountingKeyBusinessBean#createAccountingFile
// 	 */
// 	public void createAccountingFile(String caseCode, Date from, Date to) throws RemoteException;
// 
// 	/**
// 	 * @see is.idega.idegaweb.egov.accounting.business.AccountingKeyBusinessBean#generateAccountingString
// 	 */
// 	public void generateAccountingString(String caseCode, Date from, Date to, boolean createFile) throws RemoteException;
// 
// 	/**
// 	 * @see is.idega.idegaweb.egov.accounting.business.AccountingKeyBusinessBean#generateAccountingString
// 	 */
// 	public void generateAccountingString(CaseCode code, Date month, boolean createFile) throws RemoteException;
// 
// 	/**
// 	 * @see is.idega.idegaweb.egov.accounting.business.AccountingKeyBusinessBean#generateAccountingString
// 	 */
// 	public void generateAccountingString(CaseCode code, Date from, Date to, boolean createFile) throws RemoteException;
// 
// 	/**
// 	 * @see is.idega.idegaweb.egov.accounting.business.AccountingKeyBusinessBean#getAccountingEntries
// 	 */
// 	public AccountingEntry[] getAccountingEntries(CaseCode code, Date from, Date to) throws FinderException, RemoteException;
// }


import is.idega.idegaweb.egov.accounting.business.AccountingBusiness;
import is.idega.idegaweb.egov.accounting.business.AccountingConstants;
import is.idega.idegaweb.egov.accounting.business.AccountingKeyBusiness;
import com.idega.block.process.data.CaseCode;
import com.idega.block.process.data.CaseCodeHome;
import com.idega.business.IBOLookup;
import com.idega.business.IBOLookupException;
import com.idega.business.IBORuntimeException;
import com.idega.data.IDOLookup;
import com.idega.data.IDOLookupException;
import com.idega.idegaweb.IWBundle;
import com.idega.idegaweb.IWResourceBundle;
import com.idega.presentation.Block;
import com.idega.presentation.IWContext;
package is.idega.idegaweb.egov.accounting.presentation;



public abstract class AccountingBlock extends Block {
	protected IWResourceBundle iwrb = null;

	protected IWBundle iwb = null;

	public String getBundleIdentifier() {
// Path: src/java/is/idega/idegaweb/egov/accounting/business/AccountingConstants.java
// public class AccountingConstants {
// 
// 	public static final String IW_BUNDLE_IDENTIFIER = "is.idega.idegaweb.egov.accounting";
// 
// 	public static final String ACCOUNTING_SYSTEM_NAVISION = "NAVISION";
// 	public static final String ACCOUNTING_SYSTEM_NAVISION_XML = "NAVISIONXML";
// 	public static final String ACCOUNTING_SYSTEM_SFS = "SFS";
// 
// 	public static final String PROPERTY_ACCOUNTING_SYSTEM = "egov.external.accounting.system";
// 	public static final String PROPERTY_ACCOUNTING_FETCHER_SHOW_INPUTS = "egov.accounting.show.all.inputs";
// 	public static final String PROPERTY_ACCOUNTING_SHOW_AGRESSO_VIEW = "egov.accounting.show.agresso.view";
// 	
// 	public static final String SESSION_PRODUCT_MAP = "accounting_product_map";
// 	public static final String SESSION_PAYMENT_METHOD_MAP = "accounting_payment_method_map";
// 
// }
// 
// Path: src/java/is/idega/idegaweb/egov/accounting/business/AccountingKeyBusiness.java
// public interface AccountingKeyBusiness extends IBOService {
// 
// 	/**
// 	 * @see is.idega.idegaweb.egov.accounting.business.AccountingKeyBusinessBean#getAccountingKey
// 	 */
// 	public CaseCodeAccountingKey getAccountingKey(CaseCode code) throws FinderException, RemoteException;
// 
// 	/**
// 	 * @see is.idega.idegaweb.egov.accounting.business.AccountingKeyBusinessBean#getAccountingFiles
// 	 */
// 	public Collection getAccountingFiles(String caseCode) throws RemoteException;
// 
// 	/**
// 	 * @see is.idega.idegaweb.egov.accounting.business.AccountingKeyBusinessBean#removeAccountingFile
// 	 */
// 	public void removeAccountingFile(Object accountingFilePK) throws RemoteException;
// 
// 	/**
// 	 * @see is.idega.idegaweb.egov.accounting.business.AccountingKeyBusinessBean#getProductKeyMap
// 	 */
// 	public Map getProductKeyMap(CaseCode code) throws RemoteException;
// 
// 	/**
// 	 * @see is.idega.idegaweb.egov.accounting.business.AccountingKeyBusinessBean#getSchoolProductKeyMap
// 	 */
// 	public Map getSchoolProductKeyMap() throws RemoteException;
// 
// 	/**
// 	 * @see is.idega.idegaweb.egov.accounting.business.AccountingKeyBusinessBean#storeSchoolCode
// 	 */
// 	public void storeSchoolCode(Object schoolPK, Object typePK, String accountingKey) throws CreateException, RemoteException;
// 
// 	/**
// 	 * @see is.idega.idegaweb.egov.accounting.business.AccountingKeyBusinessBean#storeSchoolCode
// 	 */
// 	public void storeSchoolCode(School school, SchoolType type, String accountingKey) throws CreateException, RemoteException;
// 
// 	/**
// 	 * @see is.idega.idegaweb.egov.accounting.business.AccountingKeyBusinessBean#getSchoolCodes
// 	 */
// 	public Collection getSchoolCodes(School school) throws RemoteException;
// 
// 	/**
// 	 * @see is.idega.idegaweb.egov.accounting.business.AccountingKeyBusinessBean#getSchoolCode
// 	 */
// 	public SchoolCode getSchoolCode(School school, SchoolType type) throws RemoteException;
// 
// 	/**
// 	 * @see is.idega.idegaweb.egov.accounting.business.AccountingKeyBusinessBean#createAccountingFile
// 	 */
// 	public void createAccountingFile(String caseCode, Date month) throws RemoteException;
// 
// 	/**
// 	 * @see is.idega.idegaweb.egov.accounting.business.AccountingKeyBusinessBean#generateAccountingString
// 	 */
// 	public void generateAccountingString(String caseCode, Date month, boolean createFile) throws RemoteException;
// 
// 	/**
// 	 * @see is.idega.idegaweb.egov.accounting.business.AccountingKeyBusinessBean#createAccountingFile
// 	 */
// 	public void createAccountingFile(String caseCode, Date from, Date to) throws RemoteException;
// 
// 	/**
// 	 * @see is.idega.idegaweb.egov.accounting.business.AccountingKeyBusinessBean#generateAccountingString
// 	 */
// 	public void generateAccountingString(String caseCode, Date from, Date to, boolean createFile) throws RemoteException;
// 
// 	/**
// 	 * @see is.idega.idegaweb.egov.accounting.business.AccountingKeyBusinessBean#generateAccountingString
// 	 */
// 	public void generateAccountingString(CaseCode code, Date month, boolean createFile) throws RemoteException;
// 
// 	/**
// 	 * @see is.idega.idegaweb.egov.accounting.business.AccountingKeyBusinessBean#generateAccountingString
// 	 */
// 	public void generateAccountingString(CaseCode code, Date from, Date to, boolean createFile) throws RemoteException;
// 
// 	/**
// 	 * @see is.idega.idegaweb.egov.accounting.business.AccountingKeyBusinessBean#getAccountingEntries
// 	 */
// 	public AccountingEntry[] getAccountingEntries(CaseCode code, Date from, Date to) throws FinderException, RemoteException;
// }


// Path: src/java/is/idega/idegaweb/egov/accounting/presentation/AccountingBlock.java
import is.idega.idegaweb.egov.accounting.business.AccountingBusiness;
import is.idega.idegaweb.egov.accounting.business.AccountingConstants;
import is.idega.idegaweb.egov.accounting.business.AccountingKeyBusiness;
import com.idega.block.process.data.CaseCode;
import com.idega.block.process.data.CaseCodeHome;
import com.idega.business.IBOLookup;
import com.idega.business.IBOLookupException;
import com.idega.business.IBORuntimeException;
import com.idega.data.IDOLookup;
import com.idega.data.IDOLookupException;
import com.idega.idegaweb.IWBundle;
import com.idega.idegaweb.IWResourceBundle;
import com.idega.presentation.Block;
import com.idega.presentation.IWContext;

package is.idega.idegaweb.egov.accounting.presentation;



public abstract class AccountingBlock extends Block {
	protected IWResourceBundle iwrb = null;

	protected IWBundle iwb = null;

	public String getBundleIdentifier() {
		return AccountingConstants.IW_BUNDLE_IDENTIFIER;