类 GlobalPrivileges
java.lang.Object
org.easysearch.client.security.user.privileges.GlobalPrivileges
- 所有已实现的接口:
org.easysearch.common.xcontent.ToXContent,org.easysearch.common.xcontent.ToXContentObject
public final class GlobalPrivileges
extends java.lang.Object
implements org.easysearch.common.xcontent.ToXContentObject
Represents global privileges. "Global Privilege" is a mantra for granular
generic cluster privileges. These privileges are organized into categories.
Easysearch defines the set of categories. Under each category there are
operations that are under the clients jurisdiction. The privilege is hence
defined under an operation under a category.
-
嵌套类概要
从接口继承的嵌套类/接口 org.easysearch.common.xcontent.ToXContent
org.easysearch.common.xcontent.ToXContent.DelegatingMapParams, org.easysearch.common.xcontent.ToXContent.MapParams, org.easysearch.common.xcontent.ToXContent.Params -
字段概要
字段 修饰符和类型 字段 说明 static java.util.List<java.lang.String>CATEGORIES从接口继承的字段 org.easysearch.common.xcontent.ToXContent
EMPTY_PARAMS -
构造器概要
构造器 构造器 说明 GlobalPrivileges(java.util.Collection<? extends GlobalOperationPrivilege> privileges)Constructs global privileges by bundling the set of privileges. -
方法概要
修饰符和类型 方法 说明 booleanequals(java.lang.Object o)static GlobalPrivilegesfromXContent(org.easysearch.common.xcontent.XContentParser parser)java.util.Set<? extends GlobalOperationPrivilege>getPrivileges()inthashCode()org.easysearch.common.xcontent.XContentBuildertoXContent(org.easysearch.common.xcontent.XContentBuilder builder, org.easysearch.common.xcontent.ToXContent.Params params)从类继承的方法 java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.easysearch.common.xcontent.ToXContentObject
isFragment
-
字段详细资料
-
CATEGORIES
public static final java.util.List<java.lang.String> CATEGORIES
-
-
构造器详细资料
-
GlobalPrivileges
Constructs global privileges by bundling the set of privileges.- 参数:
privileges- The privileges under a category and for an operation in that category.
-
-
方法详细资料
-
toXContent
public org.easysearch.common.xcontent.XContentBuilder toXContent(org.easysearch.common.xcontent.XContentBuilder builder, org.easysearch.common.xcontent.ToXContent.Params params) throws java.io.IOException- 指定者:
toXContent在接口中org.easysearch.common.xcontent.ToXContent- 抛出:
java.io.IOException
-
fromXContent
-
getPrivileges
-
equals
public boolean equals(java.lang.Object o)- 覆盖:
equals在类中java.lang.Object
-
hashCode
public int hashCode()- 覆盖:
hashCode在类中java.lang.Object
-