code: public boolean doValidationAndIndexing(ModificationQueue modificationQueue, SecurityContext securityContext, ErrorBuffer errorBuffer, boolean doValidation) throws FrameworkException {
  
  		boolean valid = true;
  
  		// examine only the last 4 bits here
  		switch (status & 0x000f) {
  
  			case 6: // created, modified => only creation callback will be called
  			case 4: // created => creation callback
  			case 2: // modified => modification callback
  
  				long t0 = System.currentTimeMillis();
  
  				if (doValidation) {
  					valid &= object.isValid(errorBuffer);
  				}
  
  				long t1 = System.currentTimeMillis();
  				validationTime += t1 - t0;
  
  				object.indexPassiveProperties();
  
  				long t2 = System.currentTimeMillis() - t1;
  				indexingTime += t2;
  
  				break;
  
  			default:
  				break;
  		}
  
  		return valid;
  	}
docs: Call beforeModification/Creation/Deletion methods.
  
  @param modificationQueue
  @param securityContext
  @param errorBuffer
  @param doValidation
  @return valid
  @throws FrameworkException