public class AssocTargetTypeIntegrityEvent extends AbstractIntegrityEvent
Checks are ignored if the target node has been deleted.
dictionaryService, nodeService| Constructor and Description |
|---|
AssocTargetTypeIntegrityEvent(NodeService nodeService,
DictionaryService dictionaryService,
NodeRef targetNodeRef,
QName assocTypeQName) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkIntegrity(List<IntegrityRecord> eventResults)
Checks integrity pertinent to the event
|
protected void |
checkTargetType(List<IntegrityRecord> eventResults,
AssociationDefinition assocDef,
NodeRef targetNodeRef,
QName targetNodeTypeQName)
Checks that the target node type is valid for the association.
|
addTrace, equals, getAssocDef, getMultiplicityString, getNodeRef, getNodeType, getQName, getTraces, getTypeQName, hashCode, toStringpublic AssocTargetTypeIntegrityEvent(NodeService nodeService, DictionaryService dictionaryService, NodeRef targetNodeRef, QName assocTypeQName)
public void checkIntegrity(List<IntegrityRecord> eventResults)
IntegrityEventeventResults - the list of event results that can be added toprotected void checkTargetType(List<IntegrityRecord> eventResults, AssociationDefinition assocDef, NodeRef targetNodeRef, QName targetNodeTypeQName)
Copyright © 2005–2021 Alfresco Software. All rights reserved.