public class RoleDescriptor
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
categoryId |
java.util.Set<java.lang.String> |
childsRole |
java.util.Set<java.lang.String> |
containerRoles |
boolean |
delegable |
java.lang.String |
description |
BaseDirEntry.Kind |
dirEntryKind |
boolean |
dirEntryPromote |
java.lang.String |
id |
java.lang.String |
label |
java.lang.String |
parentRoleId |
int |
priority |
boolean |
selfPromote |
java.lang.String |
siblingRole |
boolean |
visible |
Constructor and Description |
---|
RoleDescriptor() |
Modifier and Type | Method and Description |
---|---|
static RoleDescriptor |
create(java.lang.String id,
java.lang.String categoryId,
java.lang.String label,
java.lang.String description) |
RoleDescriptor |
delegable() |
RoleDescriptor |
forDirEntry(BaseDirEntry.Kind kind) |
RoleDescriptor |
forDirEntry(BaseDirEntry.Kind kind,
java.lang.String siblingRole,
java.lang.String parentId) |
RoleDescriptor |
giveRoles(java.lang.String... roles) |
RoleDescriptor |
notVisible() |
RoleDescriptor |
priotity(int priority) |
RoleDescriptor |
withContainerRoles(java.lang.String... roles) |
RoleDescriptor |
withParent(java.lang.String parentRoleId) |
RoleDescriptor |
withSelfPromote(java.lang.String parentRoleId) |
public java.lang.String id
public java.lang.String parentRoleId
public java.lang.String categoryId
public java.lang.String label
public java.lang.String description
public boolean selfPromote
public boolean dirEntryPromote
public BaseDirEntry.Kind dirEntryKind
public java.lang.String siblingRole
public java.util.Set<java.lang.String> childsRole
public boolean visible
public boolean delegable
public java.util.Set<java.lang.String> containerRoles
public int priority
public static RoleDescriptor create(java.lang.String id, java.lang.String categoryId, java.lang.String label, java.lang.String description)
public RoleDescriptor giveRoles(java.lang.String... roles)
public RoleDescriptor withParent(java.lang.String parentRoleId)
public RoleDescriptor withSelfPromote(java.lang.String parentRoleId)
public RoleDescriptor withContainerRoles(java.lang.String... roles)
public RoleDescriptor notVisible()
public RoleDescriptor delegable()
public RoleDescriptor priotity(int priority)
public RoleDescriptor forDirEntry(BaseDirEntry.Kind kind, java.lang.String siblingRole, java.lang.String parentId)
public RoleDescriptor forDirEntry(BaseDirEntry.Kind kind)
Copyright © 2021. All Rights Reserved.