public abstract class AclSerializationManager extends Object implements IAclSerializationManager
Modifier and Type | Class and Description |
---|---|
class |
AclSerializationManager.AclGlobalPrincipalEntriesRemovalResult |
Modifier and Type | Field and Description |
---|---|
protected String |
configAlias |
protected List<ConfigForeignKey> |
entryForeignKeys |
protected List<ConfigForeignKey> |
foreignKeys |
protected String[] |
primaryKeyFieldNames |
Constructor and Description |
---|
AclSerializationManager() |
Modifier and Type | Method and Description |
---|---|
protected void |
analyzeExternalDependencies(SerializationContext serializationContext,
ISerializationMessageConfigNodeBuilder serializationMessageConfigNodeBuilder,
AccessControlList dependentAccessControlList) |
protected AccessControlListSerializableConfig |
createSerializableConfig(SerializationContext serializationContext,
AccessControlList accessControlList,
AccessControlListSerializableConfig.AclType aclType,
String objectId) |
void |
deserialize(DeserializationContext deserializationContext,
AccessControlListSerializableConfig accessControlListSerializableConfig)
Deserialize an access control list.
|
AccessControlList |
deserializeConfig(DeserializationContext deserializationContext,
String accessControlListId)
Deserialize a
AccessControlList object. |
protected abstract IAclManager |
getAclManager() |
protected String |
getConfigPath(BaseSerializationContext deserializationContext,
String configId)
Get the full path for the serialization file.
|
boolean |
persistConfig(DeserializationContext deserializationContext,
Object config,
boolean firstPersistence)
Performs a config persistance (add or update) operation
|
abstract AccessControlListSerializableConfig |
serialize(SerializationContext serializationContext,
String securableId)
Serialize an access control list.
|
void |
setupSerializationContext(BaseSerializationContext serializationContext)
Set up a serialization context, defining settings such as class aliases, field aliases, transient fields, omitted collections etc.
|
protected final String[] primaryKeyFieldNames
protected final List<ConfigForeignKey> foreignKeys
protected final List<ConfigForeignKey> entryForeignKeys
protected final String configAlias
public void deserialize(DeserializationContext deserializationContext, AccessControlListSerializableConfig accessControlListSerializableConfig) throws PortalException
IAclSerializationManager
deserialize
in interface IAclSerializationManager
PortalException
public AccessControlList deserializeConfig(DeserializationContext deserializationContext, String accessControlListId) throws SerializationException
IAclSerializationManager
AccessControlList
object.deserializeConfig
in interface IAclSerializationManager
SerializationException
public boolean persistConfig(DeserializationContext deserializationContext, Object config, boolean firstPersistence) throws PortalException
IConfigPersister
persistConfig
in interface IConfigPersister
PortalException
protected abstract IAclManager getAclManager()
public abstract AccessControlListSerializableConfig serialize(SerializationContext serializationContext, String securableId) throws PortalException
IAclSerializationManager
serialize
in interface IAclSerializationManager
PortalException
protected AccessControlListSerializableConfig createSerializableConfig(SerializationContext serializationContext, AccessControlList accessControlList, AccessControlListSerializableConfig.AclType aclType, String objectId) throws PortalException
PortalException
protected void analyzeExternalDependencies(SerializationContext serializationContext, ISerializationMessageConfigNodeBuilder serializationMessageConfigNodeBuilder, AccessControlList dependentAccessControlList) throws PortalException
PortalException
public void setupSerializationContext(BaseSerializationContext serializationContext)
IAclSerializationManager
setupSerializationContext
in interface IAclSerializationManager
protected String getConfigPath(BaseSerializationContext deserializationContext, String configId)
deserializationContext
- configId
- LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.