org.alfresco.repo.node.integrity
Class AssocSourceTypeIntegrityEvent
java.lang.Object
org.alfresco.repo.node.integrity.AbstractIntegrityEvent
org.alfresco.repo.node.integrity.AssocSourceTypeIntegrityEvent
- All Implemented Interfaces:
- IntegrityEvent
public class AssocSourceTypeIntegrityEvent
- extends AbstractIntegrityEvent
Event to check the source type of an association
Checks are ignored if the source node has been deleted.
Methods inherited from class org.alfresco.repo.node.integrity.AbstractIntegrityEvent |
addTrace, equals, getAssocDef, getMultiplicityString, getNodeRef, getNodeType, getQName, getTraces, getTypeQName, hashCode, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
AssocSourceTypeIntegrityEvent
public AssocSourceTypeIntegrityEvent(NodeService nodeService,
DictionaryService dictionaryService,
NodeRef sourceNodeRef,
QName assocTypeQName)
checkIntegrity
public void checkIntegrity(java.util.List eventResults)
- Description copied from interface:
IntegrityEvent
- Checks integrity pertinent to the event
- Parameters:
eventResults
- the list of event results that can be added to
checkSourceType
protected void checkSourceType(java.util.List eventResults,
AssociationDefinition assocDef,
NodeRef sourceNodeRef,
QName sourceNodeTypeQName)
- Checks that the source node type is valid for the association.
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.