RoleDefinitions Interface

public interface RoleDefinitions extends SupportsGettingById,HasManager,HasInner

Entry point to role definition management API.

Method Summary

Modifier and Type Method and Description
RoleDefinition getByScope(String scope, String name)

Gets the information about a role definition based on scope and name.

RoleDefinition getByScopeAndRoleName(String scope, String roleName)

Gets the information about a role definition based on scope and name.

Observable<RoleDefinition> getByScopeAndRoleNameAsync(String scope, String roleName)

Gets the information about a role definition based on scope and name.

ServiceFuture<RoleDefinition> getByScopeAndRoleNameAsync(String scope, String roleName, ServiceCallback<RoleDefinition> callback)

Gets the information about a role definition based on scope and name.

Observable<RoleDefinition> getByScopeAsync(String scope, String name)

Gets the information about a role definition based on scope and name.

ServiceFuture<RoleDefinition> getByScopeAsync(String scope, String name, ServiceCallback<RoleDefinition> callback)

Gets the information about a role definition based on scope and name.

PagedList<RoleDefinition> listByScope(String scope)

List role definitions in a scope.

Observable<RoleDefinition> listByScopeAsync(String scope)

List role definitions in a scope.

Inherited Members

Method Details

getByScope

public RoleDefinition getByScope(String scope, String name)

Gets the information about a role definition based on scope and name.

Parameters:

scope - the scope of the role definition
name - the name of the role definition

Returns:

an immutable representation of the role definition

getByScopeAndRoleName

public RoleDefinition getByScopeAndRoleName(String scope, String roleName)

Gets the information about a role definition based on scope and name.

Parameters:

scope - the scope of the role definition
roleName - the name of the role

Returns:

an immutable representation of the role definition

getByScopeAndRoleNameAsync

public Observable getByScopeAndRoleNameAsync(String scope, String roleName)

Gets the information about a role definition based on scope and name.

Parameters:

scope - the scope of the role definition
roleName - the name of the role

Returns:

an immutable representation of the role definition

getByScopeAndRoleNameAsync

public ServiceFuture getByScopeAndRoleNameAsync(String scope, String roleName, ServiceCallback callback)

Gets the information about a role definition based on scope and name.

Parameters:

scope - the scope of the role definition
roleName - the name of the role
callback - the callback when the operation finishes

Returns:

an immutable representation of the role definition

getByScopeAsync

public Observable getByScopeAsync(String scope, String name)

Gets the information about a role definition based on scope and name.

Parameters:

scope - the scope of the role definition
name - the name of the role definition

Returns:

an immutable representation of the role definition

getByScopeAsync

public ServiceFuture getByScopeAsync(String scope, String name, ServiceCallback callback)

Gets the information about a role definition based on scope and name.

Parameters:

scope - the scope of the role definition
name - the name of the role definition
callback - the callback when the operation finishes

Returns:

an immutable representation of the role definition

listByScope

public PagedList listByScope(String scope)

List role definitions in a scope.

Parameters:

scope - the scope of the role definition

Returns:

a list of role definitions

listByScopeAsync

public Observable listByScopeAsync(String scope)

List role definitions in a scope.

Parameters:

scope - the scope of the role definition

Returns:

an observable of role definitions

Applies to