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