public class AssocSourceMultiplicityIntegrityEvent extends AbstractIntegrityEvent
Checks are ignored is the target node doesn't exist.
dictionaryService, nodeService| Constructor and Description |
|---|
AssocSourceMultiplicityIntegrityEvent(org.alfresco.service.cmr.repository.NodeService nodeService,
org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService,
org.alfresco.service.cmr.repository.NodeRef targetNodeRef,
org.alfresco.service.namespace.QName assocTypeQName,
boolean isDelete) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkIntegrity(java.util.List eventResults)
Checks integrity pertinent to the event
|
protected void |
checkSourceMultiplicity(java.util.List eventResults,
org.alfresco.service.cmr.dictionary.AssociationDefinition assocDef,
org.alfresco.service.namespace.QName assocTypeQName,
org.alfresco.service.cmr.repository.NodeRef targetNodeRef)
Checks that the source multiplicity has not been violated for the
target of the association.
|
boolean |
equals(java.lang.Object obj)
Compares based on the class of this instance and the incoming instance, before
comparing based on all the internal data.
|
addTrace, getAssocDef, getMultiplicityString, getNodeRef, getNodeType, getQName, getTraces, getTypeQName, hashCode, toStringpublic AssocSourceMultiplicityIntegrityEvent(org.alfresco.service.cmr.repository.NodeService nodeService,
org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService,
org.alfresco.service.cmr.repository.NodeRef targetNodeRef,
org.alfresco.service.namespace.QName assocTypeQName,
boolean isDelete)
public boolean equals(java.lang.Object obj)
AbstractIntegrityEventequals in class AbstractIntegrityEventpublic void checkIntegrity(java.util.List eventResults)
IntegrityEventeventResults - the list of event results that can be added toprotected void checkSourceMultiplicity(java.util.List eventResults,
org.alfresco.service.cmr.dictionary.AssociationDefinition assocDef,
org.alfresco.service.namespace.QName assocTypeQName,
org.alfresco.service.cmr.repository.NodeRef targetNodeRef)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.