com.fs.commons.application.Module Maven / Gradle / Ivy
/*
* Copyright 2002-2016 Jalal Kiswani.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.fs.commons.application;
import java.util.ArrayList;
import java.util.Hashtable;
import java.util.List;
import com.fs.commons.application.exceptions.ModuleException;
import com.fs.commons.application.ui.menu.Menu;
import com.fs.commons.configuration.beans.Lable;
import com.fs.commons.dao.connection.JKDataSource;
import com.fs.commons.dao.dynamic.meta.TableMeta;
import com.fs.commons.locale.LablesLoader;
import com.fs.commons.reports.JKReport;
import com.jk.security.JKPrivilige;
public interface Module {
/**
*
* @return
*/
public Application getApplication();
/**
*
* @return
*/
public JKDataSource getDataSource();
/**
*
* @return
* @throws ModuleException
*/
public String getFileFullPath(String shortFileName);
/**
*
* @return
*/
public String getIconName();
/**
*
* @return
* @throws ModuleException
*/
public List getLables(String locale) throws ModuleException;
/**
*
* @return
*/
public LablesLoader getLablesLoader();
/**
*
* @return
* @throws ModuleException
*/
public ArrayList