|
@@ -6,8 +6,8 @@ import org.activiti.engine.impl.UserQueryImpl;
|
|
|
import org.activiti.engine.impl.persistence.entity.IdentityInfoEntity;
|
|
|
import org.activiti.engine.impl.persistence.entity.UserEntity;
|
|
|
import org.activiti.engine.impl.persistence.entity.UserEntityManager;
|
|
|
-import org.hswebframework.web.authorization.entity.RoleEntity;
|
|
|
-import org.hswebframework.web.authorization.service.UserService;
|
|
|
+import org.hswebframework.web.entity.authorization.RoleEntity;
|
|
|
+import org.hswebframework.web.service.authorization.UserService;
|
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.dao.EmptyResultDataAccessException;
|
|
@@ -29,7 +29,7 @@ public class CustomUserEntityManager extends UserEntityManager {
|
|
|
return null;
|
|
|
}
|
|
|
try {
|
|
|
- org.hswebframework.web.authorization.entity.UserEntity user = userService.selectByPk(userId);
|
|
|
+ org.hswebframework.web.entity.authorization.UserEntity user = userService.selectByPk(userId);
|
|
|
return ActivitiUserUtil.toActivitiUser(user);
|
|
|
} catch (EmptyResultDataAccessException e) {
|
|
|
return null;
|
|
@@ -49,23 +49,23 @@ public class CustomUserEntityManager extends UserEntityManager {
|
|
|
|
|
|
@Override
|
|
|
public List<org.activiti.engine.identity.User> findUserByQueryCriteria(UserQueryImpl query, Page page) {
|
|
|
- throw new RuntimeException("not implement method..");
|
|
|
+ throw new UnsupportedOperationException("not implement method..");
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public IdentityInfoEntity findUserInfoByUserIdAndKey(String userId,
|
|
|
String key) {
|
|
|
- throw new RuntimeException("not implement method.");
|
|
|
+ throw new UnsupportedOperationException("not implement method.");
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public List<String> findUserInfoKeysByUserIdAndType(String userId,
|
|
|
String type) {
|
|
|
- throw new RuntimeException("not implement method.");
|
|
|
+ throw new UnsupportedOperationException("not implement method.");
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public long findUserCountByQueryCriteria(UserQueryImpl query) {
|
|
|
- throw new RuntimeException("not implement method.");
|
|
|
+ throw new UnsupportedOperationException("not implement method.");
|
|
|
}
|
|
|
}
|