public class RoleUpdater extends Object implements Serializable
Role. Chaining is possible with this updator to ease the Role update.
Role,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
static class |
RoleUpdater.RoleField
represent the available
Role fields |
| Constructor and Description |
|---|
RoleUpdater()
Default Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Map<RoleUpdater.RoleField,Serializable> |
getFields() |
int |
hashCode() |
RoleUpdater |
setDescription(String description) |
RoleUpdater |
setDisplayName(String displayName) |
RoleUpdater |
setIcon(String filename,
byte[] content)
set the icon on the role to be created
|
RoleUpdater |
setIconName(String iconName)
Deprecated.
since 7.3.0 use #setIcon
|
RoleUpdater |
setIconPath(String iconPath)
Deprecated.
since 7.3.0 use #setIcon
|
RoleUpdater |
setName(String name) |
String |
toString() |
public RoleUpdater setName(String name)
name - The role's new name to updateRoleUpdater for chaining purposepublic RoleUpdater setDisplayName(String displayName)
displayName - The role's display name to updateRoleUpdater for chaining purposepublic RoleUpdater setDescription(String description)
description - The role's description to updateRoleUpdater for chaining purpose@Deprecated public RoleUpdater setIconName(String iconName)
iconName - The role's icon name to updateRoleUpdater for chaining purpose@Deprecated public RoleUpdater setIconPath(String iconPath)
iconPath - The role's icon path to updateRoleUpdater for chaining purposepublic RoleUpdater setIcon(String filename, byte[] content)
filename - the filename of the iconcontent - the content of the iconpublic Map<RoleUpdater.RoleField,Serializable> getFields()
Copyright © 2018 Bonitasoft S.A.. All rights reserved.