public class SecurityProfileModel extends Object
| Constructor and Description |
|---|
SecurityProfileModel()
Default constructor for jackson
|
SecurityProfileModel(String id,
String identifier,
String name,
boolean fullAccess,
Set<String> permissions)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getFullAccess() |
String |
getId() |
String |
getIdentifier()
Get the identifier of the security profile
|
String |
getName()
Get name of the security profile
|
Set<String> |
getPermissions()
Gets the set of permissions of the security profile.
|
Integer |
getVersion() |
void |
setFullAccess(Boolean fullAccess)
Sets / unsets full access to all permissions for security profile.
|
void |
setId(String id) |
void |
setIdentifier(String identifier)
Set the identifier of the security profile.
|
void |
setName(String name)
Set or change the security profile name
|
void |
setPermissions(Set<String> permissions)
Sets the permission set of the security profile.
|
void |
setVersion(Integer version) |
public SecurityProfileModel()
public SecurityProfileModel(String id, String identifier, String name, boolean fullAccess, Set<String> permissions)
id - unique identifieridentifier - the identifier of the security profile. This value must be unique.name - security profile namefullAccess - defines whether security profile has full access to all permissions.permissions - set of permissions of the security profile (should not be defined when fullAccess is true)public String getId()
public void setId(String id)
id - value to setpublic Integer getVersion()
public void setVersion(Integer version)
version - public String getIdentifier()
public void setIdentifier(String identifier)
identifier - public String getName()
public void setName(String name)
name - as String to setpublic Boolean getFullAccess()
public void setFullAccess(Boolean fullAccess)
fullAccess - public Set<String> getPermissions()
Copyright © 2018 Vitam. All rights reserved.