Class AssocTargetRoleIntegrityEvent

java.lang.Object
org.alfresco.repo.node.integrity.AbstractIntegrityEvent
org.alfresco.repo.node.integrity.AssocTargetRoleIntegrityEvent
All Implemented Interfaces:
IntegrityEvent

public class AssocTargetRoleIntegrityEvent extends AbstractIntegrityEvent
Event to check the association target role name
Author:
Derek Hulley
  • Constructor Details

  • Method Details

    • checkIntegrity

      public void checkIntegrity(List<IntegrityRecord> eventResults)
      Description copied from interface: IntegrityEvent
      Checks integrity pertinent to the event
      Parameters:
      eventResults - the list of event results that can be added to
    • checkAssocQNameRegex

      protected void checkAssocQNameRegex(List<IntegrityRecord> eventResults, ChildAssociationDefinition assocDef, QName assocQName, NodeRef sourceNodeRef)
      Checks that the association name matches the constraints imposed by the model.