| | |
| | | |
| | | import com.vci.corba.common.PLException; |
| | | import com.vci.corba.portal.data.PLUILayout; |
| | | import com.vci.corba.portal.data.PLPageDefination; |
| | | import com.vci.corba.portal.data.PLTabPage; |
| | | import com.vci.pagemodel.PLTabButtonVO; |
| | | import com.vci.pagemodel.PLUILayoutCloneVO; |
| | | import com.vci.starter.web.exception.VciBaseException; |
| | | import com.vci.starter.web.pagemodel.BaseQueryObject; |
| | |
| | | import com.vci.pagemodel.PLDefinationVO; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.io.File; |
| | | import java.io.IOException; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * @author ludc |
| | |
| | | boolean cloneUIContextData(PLUILayoutCloneVO pluiLayoutCloneVO) throws PLException; |
| | | |
| | | /** |
| | | * 根据勾选的条件获取需要导出的ui上下文树 |
| | | * @param expDatas |
| | | * @return |
| | | */ |
| | | Tree getExpContextTree(List<String> expDatas); |
| | | |
| | | /** |
| | | * 导出ui上下文(勾选的要导出的控制区的数据) |
| | | * oids |
| | | * @return |
| | | */ |
| | | void expUIContextData(String[] oids, HttpServletResponse response) throws PLException, IOException; |
| | | String expUIContextData(Map<String,String> expConditionMap) throws PLException, IOException; |
| | | |
| | | /** |
| | | * 导入UI上下文 |
| | | * @param file |
| | | * @return |
| | | */ |
| | | BaseResult impUIContextData(MultipartFile file); |
| | | BaseResult impUIContextData(File file, boolean isCovered,String selectBtm); |
| | | |
| | | //区域相关查询、添加、删除、修改等接口 |
| | | /** |
| | |
| | | |
| | | /** |
| | | * 添加页面定义 |
| | | * @param pd |
| | | * @param pdVO |
| | | * @return |
| | | */ |
| | | boolean addPageDefination(PLDefinationVO pd) throws Throwable; |
| | | boolean addPageDefination(PLDefinationVO pdVO) throws Throwable; |
| | | |
| | | /** |
| | | * 修改页面定义 |
| | | * @param pd |
| | | * @param pdVO |
| | | * @return |
| | | */ |
| | | boolean updatePageDefination(PLDefinationVO pd) throws Throwable; |
| | | boolean updatePageDefination(PLDefinationVO pdVO) throws Throwable; |
| | | |
| | | /** |
| | | * 删除页面定义 |
| | |
| | | */ |
| | | boolean delPageDefination(String[] oids) throws PLException; |
| | | |
| | | //配置按钮相关接口 |
| | | //页面设计下配置按钮相关接口 |
| | | /** |
| | | * 获取页签区域按钮配置信息 |
| | | * @param pageDefinationOid |
| | | * @return |
| | | */ |
| | | List<PLTabButtonVO> getTabButtons(String pageDefinationOid); |
| | | |
| | | /** |
| | | * 添加按钮配置信息 |
| | | * @param tabButtonVO |
| | | * @return |
| | | */ |
| | | BaseResult addTapButton(PLTabButtonVO tabButtonVO); |
| | | |
| | | /** |
| | | * 修改按钮配置信息 |
| | | * @param tabButtonVO |
| | | * @return |
| | | */ |
| | | BaseResult updateTapButton(PLTabButtonVO tabButtonVO); |
| | | |
| | | /** |
| | | * 保存或修改按钮配置信息 |
| | | * @param tabButtonVO |
| | | * @return |
| | | */ |
| | | boolean saveOrUpdateTapButton(PLTabButtonVO tabButtonVO,boolean isAdd); |
| | | |
| | | /** |
| | | * 删除单个按钮配置 |
| | | * @param tabButtonVO |
| | | * @return |
| | | */ |
| | | boolean deleteTapButton(PLTabButtonVO tabButtonVO) throws PLException; |
| | | |
| | | /** |
| | | * 调整为下级按钮 |
| | | * @param tabButtonVO |
| | | * @return |
| | | */ |
| | | BaseResult joinBtn(PLTabButtonVO tabButtonVO) throws PLException; |
| | | |
| | | /** |
| | | * 调整为上级按钮 |
| | | * @param tabButtonVO |
| | | * @return |
| | | */ |
| | | BaseResult exitBtn(PLTabButtonVO tabButtonVO) throws PLException; |
| | | |
| | | /** |
| | | * 获取UI权限树 |
| | |
| | | */ |
| | | List<Tree> getUIAuthor(BaseQueryObject baseQueryObject)throws Exception; |
| | | |
| | | /*** |
| | | /** |
| | | * UI授权 |
| | | * @param uiAuthorDTO |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | public boolean authorizedUI(UIAuthorDTO uiAuthorDTO)throws Exception; |
| | | |
| | | boolean authorizedUI(UIAuthorDTO uiAuthorDTO)throws Exception; |
| | | |
| | | } |