public class SecurityDataConverter extends Object implements Serializable
Constructor and Description |
---|
SecurityDataConverter() |
Modifier and Type | Method and Description |
---|---|
static void |
convertToSecurityData(ACP acp,
SecurityData securityData)
Feeds security data object with user entries.
|
static List<UserEntry> |
convertToUserEntries(SecurityData securityData)
Reverts back the data contained in SecurityData to a list of user entries.
|
public SecurityDataConverter()
public static void convertToSecurityData(ACP acp, SecurityData securityData)
public static List<UserEntry> convertToUserEntries(SecurityData securityData)
This only converts the modifiable permissions to a list of user entries that is related only to the current document.
Does all grants before all denies.
Copyright © 2017 Nuxeo. All rights reserved.