| | |
| | | package com.vci.frameworkcore.compatibility; |
| | | |
| | | import com.vci.corba.common.PLException; |
| | | import com.vci.frameworkcore.model.dto.SmPasswordStrategyDTO; |
| | | import com.vci.frameworkcore.pagemodel.SmPasswordStrategyVO; |
| | | import com.vci.starter.web.exception.VciBaseException; |
| | | import com.vci.starter.web.pagemodel.DataGrid; |
| | | import com.vci.starter.web.pagemodel.PageHelper; |
| | | |
| | | import java.util.Collection; |
| | | import java.util.List; |
| | |
| | | * @return |
| | | */ |
| | | SmPasswordStrategyVO getPasswordStrategyVOByDefault(); |
| | | |
| | | /** |
| | | * 密码策略分页查询 |
| | | * @param conditionMap |
| | | * @param pageHelper |
| | | * @return |
| | | */ |
| | | DataGrid<SmPasswordStrategyVO> refDataGrid(Map<String, String> conditionMap, PageHelper pageHelper) throws PLException; |
| | | |
| | | /** |
| | | * 查询密码安全策略,下拉使用的接口 |
| | | * @param conditionMap |
| | | * @return key为密码策略name,value为密码策略的oid |
| | | * @throws VciBaseException |
| | | */ |
| | | List<Map<String,String>> selectPwdStrategyMap(Map<String, String> conditionMap) throws PLException; |
| | | |
| | | /** |
| | | * 保存用户关联密码策略 |
| | | * @param userIds |
| | | * @param passwordStrategId |
| | | * @return |
| | | */ |
| | | boolean saveUserPasswordStrateg(String[] userIds, String passwordStrategId) throws PLException; |
| | | |
| | | /** |
| | | * 新增密码策略 |
| | | * @param spsDto |
| | | * @return |
| | | */ |
| | | boolean addPasswordStrateg(SmPasswordStrategyDTO spsDto) throws PLException; |
| | | |
| | | /** |
| | | * 修改密码策略 |
| | | * @param spsDto |
| | | * @return |
| | | */ |
| | | boolean updatePasswordStrateg(SmPasswordStrategyDTO spsDto) throws PLException; |
| | | |
| | | /** |
| | | * 删除密码策略 |
| | | * @param pwdIds |
| | | * @return |
| | | */ |
| | | boolean delPasswordStrateg(String[] pwdIds) throws PLException; |
| | | |
| | | /** |
| | | * 根据主键查询密码策略map对象 |
| | |
| | | SmPasswordStrategyVO getPasswordStrategyVOByUserOid(String userOid) throws PLException; |
| | | |
| | | /** |
| | | * 根据单条用户主键,获取用户的密码安全策略 |
| | | * 根据多条用户主键,获取用户的密码安全策略 |
| | | * @param userOids |
| | | * @return |
| | | * @throws PLException |