org.alfresco.repo.node.integrity
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
Constructor Summary |
AssocTargetRoleIntegrityEvent(org.alfresco.service.cmr.repository.NodeService nodeService,
org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService,
org.alfresco.service.cmr.repository.NodeRef sourceNodeRef,
org.alfresco.service.namespace.QName assocTypeQName,
org.alfresco.service.namespace.QName assocName)
|
Method Summary |
protected void |
checkAssocQNameRegex(java.util.List eventResults,
org.alfresco.service.cmr.dictionary.ChildAssociationDefinition assocDef,
org.alfresco.service.namespace.QName assocQName,
org.alfresco.service.cmr.repository.NodeRef sourceNodeRef)
Checks that the association name matches the constraints imposed by the model. |
void |
checkIntegrity(java.util.List eventResults)
Checks integrity pertinent to the event |
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 |
AssocTargetRoleIntegrityEvent
public AssocTargetRoleIntegrityEvent(org.alfresco.service.cmr.repository.NodeService nodeService,
org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService,
org.alfresco.service.cmr.repository.NodeRef sourceNodeRef,
org.alfresco.service.namespace.QName assocTypeQName,
org.alfresco.service.namespace.QName assocName)
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
checkAssocQNameRegex
protected void checkAssocQNameRegex(java.util.List eventResults,
org.alfresco.service.cmr.dictionary.ChildAssociationDefinition assocDef,
org.alfresco.service.namespace.QName assocQName,
org.alfresco.service.cmr.repository.NodeRef sourceNodeRef)
- Checks that the association name matches the constraints imposed by the model.
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.