Package ch.ivyteam.ivy.security.role
Class NewRole.Builder
java.lang.Object
ch.ivyteam.ivy.security.role.NewRole.Builder
- Enclosing class:
- NewRole
Builder for
NewRole- Since:
- 9.4
- API:
- This is a public API.
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) displayName(String displayName) externalName(String externalName) parentRole(IRole parentRole) Creates a new role object that can be used to create a new withIRoleRepository.create(NewRole)
-
Method Details
-
toNewRole
Creates a new role object that can be used to create a new withIRoleRepository.create(NewRole)- Returns:
- NewRole object
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
displayName
- Parameters:
displayName- display name of the new role- Returns:
- builder
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
description
- Parameters:
description- description of the new role- Returns:
- builder
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
externalName
- Parameters:
externalName- external name of the new role- Returns:
- builder
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
parentRole
- Parameters:
parentRole- parent role of the new role- Returns:
- builder
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-