public class DefaultGroupServiceProvider extends Object implements GroupServiceProvider
| 构造器和说明 |
|---|
DefaultGroupServiceProvider(Resource workspace) |
| 限定符和类型 | 方法和说明 |
|---|---|
TreeNode<Group> |
apiGroupTree()
接口分组列表
|
List<Group> |
cachedGroupList(String type)
已缓存的分组列表
|
boolean |
containsApiGroup(String groupId)
是否有该分组
|
boolean |
delete(String groupId)
删除分组
|
boolean |
exists(Group group)
分组是否存在
|
TreeNode<Group> |
functionGroupTree()
函数分组列表
|
String |
getFullName(String groupId)
根据分组Id获取分组名称
|
String |
getFullPath(String groupId)
根据分组Id获取分组路径
|
Resource |
getGroupResource(String groupId)
根据ID获取资源对象
|
List<Group> |
groupList(String type)
分组列表
|
boolean |
insert(Group group)
添加分组
|
Group |
readGroup(Resource resource)
读取分组信息
|
boolean |
update(Group group)
修改分组
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetScriptNamepublic DefaultGroupServiceProvider(Resource workspace)
public boolean insert(Group group)
GroupServiceProviderinsert 在接口中 GroupServiceProvidergroup - 分组信息public boolean update(Group group)
GroupServiceProviderupdate 在接口中 GroupServiceProvidergroup - 分组信息public boolean delete(String groupId)
GroupServiceProviderdelete 在接口中 GroupServiceProvidergroupId - 分组IDpublic boolean exists(Group group)
GroupServiceProviderexists 在接口中 GroupServiceProvidergroup - 分组信息public boolean containsApiGroup(String groupId)
GroupServiceProvidercontainsApiGroup 在接口中 GroupServiceProvidergroupId - 分组IDpublic Group readGroup(Resource resource)
GroupServiceProviderreadGroup 在接口中 GroupServiceProviderresource - 资源对象public TreeNode<Group> apiGroupTree()
GroupServiceProviderapiGroupTree 在接口中 GroupServiceProviderpublic TreeNode<Group> functionGroupTree()
GroupServiceProviderfunctionGroupTree 在接口中 GroupServiceProviderpublic List<Group> groupList(String type)
GroupServiceProvidergroupList 在接口中 GroupServiceProvidertype - 分组类型,Constants.GROUP_TYPE_API、Constants.GROUP_TYPE_FUNCTIONpublic List<Group> cachedGroupList(String type)
GroupServiceProvidercachedGroupList 在接口中 GroupServiceProvidertype - 分组类型,Constants.GROUP_TYPE_API、Constants.GROUP_TYPE_FUNCTIONpublic String getFullPath(String groupId)
GroupServiceProvidergetFullPath 在接口中 GroupServiceProvidergroupId - 分组IDpublic String getFullName(String groupId)
GroupServiceProvidergetFullName 在接口中 GroupServiceProvidergroupId - 分组IDpublic Resource getGroupResource(String groupId)
GroupServiceProvidergetGroupResource 在接口中 GroupServiceProvidergroupId - 分组IDCopyright © 2020–2021. All rights reserved.