|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| com.github.dactiv.showcase.common 中 Group 的使用 |
|---|
| 返回变量类型为 Group 的类型的 com.github.dactiv.showcase.common 中的方法 | |
|---|---|
List<Group> |
SessionVariable.getGroupsList()
获取当前用户所在的组集合 |
| 类型变量类型为 Group 的 com.github.dactiv.showcase.common 中的方法参数 | |
|---|---|
void |
SessionVariable.setGroupsList(List<Group> groupsList)
设置当前用户所在的组集合 |
| 类型变量类型为 Group 的 com.github.dactiv.showcase.common 中的构造方法参数 | |
|---|---|
SessionVariable(User user,
List<Group> groupsList,
List<Resource> authorizationInfo,
List<Resource> menusList)
|
|
| com.github.dactiv.showcase.dao.account 中 Group 的使用 |
|---|
| 返回变量类型为 Group 的类型的 com.github.dactiv.showcase.dao.account 中的方法 | |
|---|---|
List<Group> |
GroupDao.getUserGorups(String userId)
通过用户id获取所有资源 |
| com.github.dactiv.showcase.entity.account 中 Group 的使用 |
|---|
| 返回 Group 的 com.github.dactiv.showcase.entity.account 中的方法 | |
|---|---|
Group |
Group.getParent()
获取上级组 |
| 返回变量类型为 Group 的类型的 com.github.dactiv.showcase.entity.account 中的方法 | |
|---|---|
List<Group> |
Group.getChildren()
获取下级组集合 |
List<Group> |
User.getGroupsList()
获取该用户所在的组 |
List<Group> |
Resource.getGroupsList()
获取该资源对应的组集合 |
| 参数类型为 Group 的 com.github.dactiv.showcase.entity.account 中的方法 | |
|---|---|
void |
Group.setParent(Group parent)
设置上级组 |
| 类型变量类型为 Group 的 com.github.dactiv.showcase.entity.account 中的方法参数 | |
|---|---|
void |
Group.setChildren(List<Group> children)
设置下级组集合 |
void |
User.setGroupsList(List<Group> groupsList)
设置用户所在的组 |
void |
Resource.setGroupsList(List<Group> groupsList)
设置该资源对应的组集合 |
| com.github.dactiv.showcase.service.account 中 Group 的使用 |
|---|
| 返回 Group 的 com.github.dactiv.showcase.service.account 中的方法 | |
|---|---|
Group |
AccountManager.getGroup(String id)
通过id获取组实体 |
| 返回变量类型为 Group 的类型的 com.github.dactiv.showcase.service.account 中的方法 | |
|---|---|
List<Group> |
AccountManager.getGroup(GroupType groupType,
String... ignoreIdValue)
根据组类型获取所有组信息 |
List<Group> |
AccountManager.getGroups(List<String> ids)
通过组id,获取组集合 |
List<Group> |
AccountManager.getUserGroups(String userId)
通过用户id获取所有资源 |
Page<Group> |
AccountManager.searchGroupPage(PageRequest request,
List<PropertyFilter> filters)
通过属性过滤器查询组分页 |
| 参数类型为 Group 的 com.github.dactiv.showcase.service.account 中的方法 | |
|---|---|
void |
AccountManager.saveGroup(Group entity)
保存组实体 |
| com.github.dactiv.showcase.web.account 中 Group 的使用 |
|---|
| 返回 Group 的 com.github.dactiv.showcase.web.account 中的方法 | |
|---|---|
Group |
GroupController.bindingModel(String id)
绑定实体数据,如果存在id时获取后从数据库获取记录,进入到相对的C后在将数据库获取的记录填充到相应的参数中 |
| 返回变量类型为 Group 的类型的 com.github.dactiv.showcase.web.account 中的方法 | |
|---|---|
Page<Group> |
GroupController.view(PageRequest pageRequest,
javax.servlet.http.HttpServletRequest request)
获取组列表 |
| 参数类型为 Group 的 com.github.dactiv.showcase.web.account 中的方法 | |
|---|---|
String |
GroupController.save(Group entity,
javax.servlet.http.HttpServletRequest request,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
保存或更新组,保存成功后重定向到:account/group/view |
|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||