All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.ibizsys.model.engine.querydsl.database.sql.IQuerydslSession Maven / Gradle / Ivy

The newest version!
package net.ibizsys.model.engine.querydsl.database.sql;

import net.ibizsys.model.dataentity.IPSDataEntity;

/**
 * Querydsl 会话上下文对象接口
 * @author lionlau
 *
 */
public interface IQuerydslSession {

	/**
	 * 获取别名索引
	 * @param strTag
	 * @return
	 */
	int getAliasIndex(String strTag);
	
	
	/**
	 * 获取别名
	 * @param strTag
	 * @return
	 */
	String getAlias(String strTag);
	
	
	/**
	 * 获取当前的别名索引
	 * @return
	 */
	int getCurrentAliasIndex();
	
	
	/**
	 * 获取数据库类型
	 * @return
	 */
	String getDBType();
	
	
	
	/**
	 * 获取实体对象
	 * @param iPSDataEntity
	 * @param strTag
	 * @return
	 */
	IQuerydslDataEntity getQuerydslDataEntity(IPSDataEntity iPSDataEntity, String strTag);
	
	
	
	
	/**
	 * 获取会话参数
	 * @param strName
	 * @return
	 */
	Object getParam(String strName);
	
	
	/**
	 * 设置会话参数
	 * @param strName
	 * @param objValue
	 */
	void setParam(String strName, Object objValue);
	
	
	
	/**
	 * 获取上下文值
	 * @param strContextType
	 * @param strName
	 * @return
	 */
	Object getContext(String strContextType, String strName);
	
	
	
	/**
	 * 是否启用动态上下文
	 * @return
	 */
	boolean isEnableDynamicContext();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy