package com.vci.server.portal.delegate;
|
|
import org.omg.CORBA.IntHolder;
|
|
import com.vci.corba.common.VCIError;
|
import com.vci.corba.portal.data.Constraint;
|
import com.vci.corba.portal.data.PLAction;
|
import com.vci.corba.portal.data.PLActionCls;
|
import com.vci.corba.portal.data.PLActionParam;
|
import com.vci.corba.portal.data.PLCommandParameter;
|
import com.vci.corba.portal.data.PLPageDefination;
|
import com.vci.corba.portal.data.PLUILayout;
|
import com.vci.corba.portal.data.PLTabButton;
|
import com.vci.corba.portal.data.PLTabPage;
|
import com.vci.corba.portal.data.PLTypeAction;
|
import com.vci.corba.portal.data.PortalVI;
|
|
public interface IPortalServiceDelegate {
|
|
public boolean savePortalVI(PortalVI portalVI) throws Throwable;
|
|
public boolean batchSavePortalVI(PortalVI[] portalVIs) throws Throwable;
|
|
public boolean updatePortalVI(PortalVI portalVI) throws Throwable;
|
|
public boolean deletePortalVI(PortalVI portalVI) throws Throwable;
|
|
public boolean deletePortalVIByID(String id) throws Throwable;
|
|
public PortalVI[] getPortalVIArrayByTypeName(String typeName) throws Throwable;
|
|
public PortalVI[] getPagePortalVIArrayByTypeName(String typeName, long startPage, long endPage) throws Throwable;
|
|
public PortalVI[] getPagePortalVIArrayByCondition(String typeName, short sheetType, String sheetName,
|
long startPage, long endPage) throws Throwable;
|
|
/**
|
* 根据翻页参数返回表单
|
*
|
* @param typeName 表单所在类型名称
|
* @param viName 表单名称 模糊查询
|
* @param viType 表单类型 PortalVIType.Table|Form
|
* @param viTypeFlag 表单类型标识 PortalVITypeFlag.BtmType|LinkType
|
* @param pageIndex 页号
|
* @param pageSize 页大小
|
* @param total 输出参数总数
|
* @return
|
* @throws Throwable
|
*/
|
public PortalVI[] getPagePortalVIArrayByPageInfo(String typeName, String viName, short viType, short viTypeFlag,
|
long pageIndex, long pageSize, IntHolder total) throws Throwable;
|
|
/**
|
* 根据OID级联删除表单
|
*
|
* @param oids 表单 oids
|
* @return
|
* @throws Throwable
|
*/
|
public boolean deletePagePortalVIForCascade(String[] oids) throws Throwable;
|
|
public int getPortalVICountByTypeName(String typeName) throws Throwable;
|
|
public int getPortalVICountByCondition(String typeName, int sheetType, String sheetName) throws Throwable;
|
|
public PortalVI getPortalVIById(String id) throws Throwable;
|
|
public PortalVI getPortalVIBySymbol(String symbol) throws Throwable;
|
|
public boolean savePLAction(PLAction plAction) throws Throwable;
|
|
public boolean updatePLAction(PLAction plAction) throws Throwable;
|
|
public boolean deletePLAction(PLAction plAction) throws Throwable;
|
|
public boolean deletePLActionByID(String id) throws Throwable;
|
|
public boolean savePLCommandParameter(PLCommandParameter plCommandParameter) throws Throwable;
|
|
public boolean batchSavePLCommandParameter(PLCommandParameter[] plCommandParameters) throws Throwable;
|
|
public boolean updatePLCommandParameter(PLCommandParameter plCommandParameter) throws Throwable;
|
|
public boolean deletePLCommandParameter(PLCommandParameter plCommandParameter) throws Throwable;
|
|
public boolean deletePLCommandParameterByID(String id) throws Throwable;
|
|
public boolean deletePLCommandParameterByTabButtonId(String id) throws Throwable;
|
|
public boolean savePLUILayout(PLUILayout plUILayout) throws Throwable;
|
|
public boolean batchSavePLUILayout(PLUILayout[] plPageLayoutDefinations) throws Throwable;
|
|
public boolean updatePLUILayout(PLUILayout plUILayout) throws Throwable;
|
|
public boolean deletePLUILayout(PLUILayout plUILayout) throws Throwable;
|
|
public boolean deletePLUILayoutByID(String id) throws Throwable;
|
|
/**
|
* 根据OID删除上下文(级联)
|
*
|
* @param oids
|
* @return
|
* @throws Throwable
|
*/
|
public boolean deletePLUILayoutByOidsForCascade(String[] oids) throws Throwable;
|
|
public boolean savePLTabButton(PLTabButton plTabButton) throws Throwable;
|
|
public boolean savePLTabButtonAndParams(PLTabButton[] plTabButton, PLCommandParameter[] btnParams) throws Throwable;
|
|
public boolean batchSavePLTabButton(PLTabButton[] plTabButtons) throws Throwable;
|
|
public boolean updatePLTabButton(PLTabButton plTabButton) throws Throwable;
|
|
public boolean deletePLTabButton(PLTabButton plTabButton) throws Throwable;
|
|
/**
|
* 删除页签按钮
|
*/
|
public boolean deletePLTabButtonByID(String id) throws Throwable;
|
|
/**
|
* 根据OID删除UI组件按钮(级联)
|
*
|
* @param oids
|
* @return
|
* @throws Throwable
|
*/
|
public boolean deletePLTabButtonByOidsForCascade(String[] oids) throws Throwable;
|
|
/**
|
* 保存页签
|
*/
|
public boolean savePLTabPage(PLTabPage plTabPage) throws Throwable;
|
|
public boolean batchSavePLTabPage(PLTabPage[] plTabPages) throws Throwable;
|
|
/**
|
* 更新页签
|
*/
|
public boolean updatePLTabPage(PLTabPage plTabPage) throws Throwable;
|
|
/**
|
* 删除页签
|
*/
|
public boolean deletePLTabPage(PLTabPage plTabPage) throws Throwable;
|
|
/**
|
* 删除页签
|
*/
|
public boolean deletePLTabPageByID(String id) throws Throwable;
|
|
/**
|
* 根据OID删除页签(级联)
|
*
|
* @param oids
|
* @return
|
* @throws Throwable
|
*/
|
public boolean deletePLTabPageByOidsForCascade(String[] oids) throws Throwable;
|
|
/**
|
* 根据ID获取指定的PLAction
|
*/
|
public PLAction getPLActionById(String plOId) throws Throwable;
|
|
/**
|
* 获取所有PLAction
|
*/
|
public PLAction[] getAllPLAction() throws Throwable;
|
|
/**
|
* 根据ID获取指定的PLCommandParameter
|
*/
|
public PLCommandParameter getPLCommandParameterById(String plOId) throws Throwable;
|
|
/**
|
* 根据plCommandOId获取PLCommandParameterArray
|
*/
|
public PLCommandParameter[] getPLCommandParametersByCommandOId(String plCommandOId) throws Throwable;
|
|
/**
|
* 根据ID获取指定的PLUILayout
|
*/
|
public PLUILayout getPLUILayoutById(String plOId) throws Throwable;
|
|
public PLUILayout[] getPLUILayoutEntity(String contentStr) throws Throwable;
|
|
/**
|
* 根据关联类型获取PLUILayoutArray
|
*/
|
public PLUILayout[] getPLUILayoutsByRelatedType(String plRelatedType) throws Throwable;
|
|
public PLUILayout[] getPLUILayoutsByRelatedTypeAndQueryInfo(String plRelatedType, String name, String code,
|
int pageIndex, int pageSize, IntHolder total) throws Throwable;
|
|
/**
|
* 根据关联类型和编号获取PLUILayoutArray
|
*/
|
public PLUILayout[] getPLUILayoutEntity(String plRelatedType, String code) throws Throwable;
|
|
/**
|
* 根据ID获取指定的PLTabPage
|
*/
|
public PLTabPage getPLTabPageById(String plOId) throws Throwable;
|
|
/**
|
* 根据plPageDefinationOId获取PLUILayoutArray
|
*/
|
public PLTabPage[] getPLTabPagesByPageDefinationOId(String plPageDefinationOId) throws Throwable;
|
|
/**
|
* 根据上下文ID和区域类型,按顺序获取当前区域的tab页
|
*/
|
public PLTabPage[] getTabPagesByContextIdAndType(String contextId, int type) throws Throwable;
|
|
/**
|
* 根据ID获取指定的PLTabButton
|
*/
|
public PLTabButton getPLTabButtonById(String plOId) throws Throwable;
|
|
/**
|
* 根据plTableOId获取PLTabButtonArray
|
*/
|
public PLTabButton[] getPLTabButtonsByTableOId(String plTableOId) throws Throwable;
|
|
/**
|
* 保存界面
|
*/
|
public boolean savePLPageDefination(PLPageDefination plPageDefination) throws Throwable;
|
|
public boolean batchSavePLPageDefination(PLPageDefination[] plPageDefinations) throws Throwable;
|
|
/**
|
* 更新界面
|
*/
|
public boolean updatePLPageDefination(PLPageDefination plPageDefination) throws Throwable;
|
|
/**
|
* 删除界面
|
*/
|
public boolean deletePLPageDefination(PLPageDefination plPageDefination) throws Throwable;
|
|
/**
|
* 删除界面
|
*/
|
public boolean deletePLPageDefinationByID(String id) throws Throwable;
|
|
/**
|
* 根据OID删除UI组件(级联)
|
*
|
* @param oids
|
* @return
|
* @throws Throwable
|
*/
|
public boolean deletePLPageDefinationByOidsForCascade(String[] oids) throws Throwable;
|
|
/**
|
* 根据ID获取指定的PLPageDefination
|
*/
|
public PLPageDefination getPLPageDefinationById(String plOId) throws Throwable;
|
|
/**
|
* 根据plPageContextOId获取指定的PLPageDefinationArray
|
*/
|
public PLPageDefination[] getPLPageDefinationsByPageContextOId(String plPageContextOId) throws Throwable;
|
|
/**
|
* 根据type,code获取指定的PLTabPage
|
*/
|
public PLTabPage[] getPLTabPagesByTypeANDCode(String type, String code) throws Throwable;
|
|
/**
|
* 根据类型名和视图名获取视图
|
*/
|
public PortalVI getPortalVIByTypeNameAndVIName(String typeName, String viName) throws Throwable;
|
|
/**
|
* 根据约束条件组查询数组, 查询PLActions
|
*/
|
public PLAction[] getPLActionsByConsArray(Constraint[] consArray) throws Throwable;
|
|
/**
|
* 查询所有Action分类
|
*/
|
public PLActionCls[] getPLActionClsArray() throws VCIError;
|
|
/**
|
* 创建Action分类
|
*/
|
public String creaetePLActionCls(PLActionCls cls);
|
|
/**
|
* 修改Action分类信息
|
*/
|
public String editPLActionCls(PLActionCls cls);
|
|
/**
|
* 删除分类
|
*/
|
public String deletePLActionClsById(String id);
|
|
/**
|
* 根据ActionID查询按钮参数列表
|
*/
|
public PLActionParam[] getPLActionParamArrayByActionId(String actionId) throws VCIError;
|
|
/**
|
* 创建参数分类
|
*/
|
public String createPLActionParam(PLActionParam param);
|
|
/**
|
* 批量创建分类
|
*/
|
public String createPLActionParamBatch(PLActionParam[] params);
|
|
/**
|
* 修改参数
|
*/
|
public String editPLActionParam(PLActionParam param);
|
|
/**
|
* 删除参数
|
*/
|
public String deletePLActionParam(String id);
|
|
public boolean savePLTypeActionEntity(PLTypeAction plTypeAction) throws Throwable;
|
|
public boolean deletePLTypeActionEntityByTypeAndAction(String type, String actionoId) throws Throwable;
|
|
public PLAction[] getAllPLActionEntityByType(String type) throws Throwable;
|
|
/**
|
* 根据type和formName判断表单是否能被修改
|
*
|
* @param type
|
* @param name
|
* @return
|
*/
|
public boolean judgeUpdateButton(int type, String viName, String typeName) throws Throwable;
|
|
/**
|
* 根据id判断表单是否能被删除
|
*
|
* @param type
|
* @param name
|
* @return
|
*/
|
public boolean judgeDeleteButton(String id, String typeName) throws Throwable;
|
|
public PLUILayout[] getAllPLUILayouts() throws Throwable;
|
|
public PLTabPage[] getAllPLTabPages() throws Throwable;
|
|
public PLPageDefination[] getAllPLPageDefinations() throws Throwable;
|
|
public PLTabButton[] getAllPLTabButtons() throws Throwable;
|
|
public PLCommandParameter[] getAllPLCommandParameters() throws Throwable;
|
|
public PortalVI[] getAllPortalVI() throws Throwable;
|
|
public PortalVI[] getPortalVIBySymbolAndTypeName(String viName, String type) throws Throwable;
|
|
public PortalVI[] getPortalVIByQueryInfo(String typeName, int typeFlag, String viName, int viType, IntHolder total)
|
throws Throwable;
|
|
public PLPageDefination[] getAllPLPageDefinationsWithNoConf() throws Throwable;
|
|
public boolean copyTabPageToPageLayout(String[] tabPageOids, PLUILayout plUILayout, short areaType)
|
throws Throwable;
|
|
public boolean copyComptToTabPage(String[] comptOids, PLTabPage plTabPage) throws Throwable;
|
}
|