/** * Trigger business object data and storage unit notification for business object data creation event. * * @param businessObjectData the business object data */ public void triggerNotificationsForCreateBusinessObjectData(BusinessObjectData businessObjectData) { BusinessObjectDataKey businessObjectDataKey = businessObjectDataHelper.getBusinessObjectDataKey(businessObjectData); // Create business object data notifications. for (NotificationEventTypeEntity.EventTypesBdata eventType : Arrays .asList(NotificationEventTypeEntity.EventTypesBdata.BUS_OBJCT_DATA_RGSTN, NotificationEventTypeEntity.EventTypesBdata.BUS_OBJCT_DATA_STTS_CHG)) { notificationEventService.processBusinessObjectDataNotificationEventAsync(eventType, businessObjectDataKey, businessObjectData.getStatus(), null); } // Create storage unit notifications. for (StorageUnit storageUnit : businessObjectData.getStorageUnits()) { notificationEventService .processStorageUnitNotificationEventAsync(NotificationEventTypeEntity.EventTypesStorageUnit.STRGE_UNIT_STTS_CHG, businessObjectDataKey, storageUnit.getStorage().getName(), storageUnit.getStorageUnitStatus(), null); } }
theStorageUnitStatus = this.getStorageUnitStatus(); strategy.appendField(locator, this, "storageUnitStatus", buffer, theStorageUnitStatus, (this.storageUnitStatus!= null));
theStorageUnitStatus = this.getStorageUnitStatus(); strategy.appendField(locator, this, "storageUnitStatus", buffer, theStorageUnitStatus, (this.storageUnitStatus!= null));
storageUnit.getStorage().getName(), storageUnit.getStorageUnitStatus(), null);
theStorageUnitStatus = this.getStorageUnitStatus(); strategy.appendField(locator, this, "storageUnitStatus", buffer, theStorageUnitStatus, (this.storageUnitStatus!= null));
/** * Trigger business object data and storage unit notification for business object data creation event. * * @param businessObjectData the business object data */ public void triggerNotificationsForCreateBusinessObjectData(BusinessObjectData businessObjectData) { BusinessObjectDataKey businessObjectDataKey = businessObjectDataHelper.getBusinessObjectDataKey(businessObjectData); // Create business object data notifications. for (NotificationEventTypeEntity.EventTypesBdata eventType : Arrays .asList(NotificationEventTypeEntity.EventTypesBdata.BUS_OBJCT_DATA_RGSTN, NotificationEventTypeEntity.EventTypesBdata.BUS_OBJCT_DATA_STTS_CHG)) { notificationEventService.processBusinessObjectDataNotificationEventAsync(eventType, businessObjectDataKey, businessObjectData.getStatus(), null); } // Create storage unit notifications. for (StorageUnit storageUnit : businessObjectData.getStorageUnits()) { notificationEventService .processStorageUnitNotificationEventAsync(NotificationEventTypeEntity.EventTypesStorageUnit.STRGE_UNIT_STTS_CHG, businessObjectDataKey, storageUnit.getStorage().getName(), storageUnit.getStorageUnitStatus(), null); } }
lhsStorageUnitStatus = this.getStorageUnitStatus(); String rhsStorageUnitStatus; rhsStorageUnitStatus = that.getStorageUnitStatus(); if (!strategy.equals(LocatorUtils.property(thisLocator, "storageUnitStatus", lhsStorageUnitStatus), LocatorUtils.property(thatLocator, "storageUnitStatus", rhsStorageUnitStatus), lhsStorageUnitStatus, rhsStorageUnitStatus, (this.storageUnitStatus!= null), (that.storageUnitStatus!= null))) { return false;
storageUnit.getStorage().getName(), storageUnit.getStorageUnitStatus(), null);
lhsStorageUnitStatus = this.getStorageUnitStatus(); String rhsStorageUnitStatus; rhsStorageUnitStatus = that.getStorageUnitStatus(); if (!strategy.equals(LocatorUtils.property(thisLocator, "storageUnitStatus", lhsStorageUnitStatus), LocatorUtils.property(thatLocator, "storageUnitStatus", rhsStorageUnitStatus), lhsStorageUnitStatus, rhsStorageUnitStatus, (this.storageUnitStatus!= null), (that.storageUnitStatus!= null))) { return false;
lhsStorageUnitStatus = this.getStorageUnitStatus(); String rhsStorageUnitStatus; rhsStorageUnitStatus = that.getStorageUnitStatus(); if (!strategy.equals(LocatorUtils.property(thisLocator, "storageUnitStatus", lhsStorageUnitStatus), LocatorUtils.property(thatLocator, "storageUnitStatus", rhsStorageUnitStatus), lhsStorageUnitStatus, rhsStorageUnitStatus, (this.storageUnitStatus!= null), (that.storageUnitStatus!= null))) { return false;
theStorageUnitStatus = this.getStorageUnitStatus(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "storageUnitStatus", theStorageUnitStatus), currentHashCode, theStorageUnitStatus, (this.storageUnitStatus!= null));
theStorageUnitStatus = this.getStorageUnitStatus(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "storageUnitStatus", theStorageUnitStatus), currentHashCode, theStorageUnitStatus, (this.storageUnitStatus!= null));
theStorageUnitStatus = this.getStorageUnitStatus(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "storageUnitStatus", theStorageUnitStatus), currentHashCode, theStorageUnitStatus, (this.storageUnitStatus!= null));
if (storageUnitStatusShouldBeCopiedAndSet == Boolean.TRUE) { String sourceStorageUnitStatus; sourceStorageUnitStatus = this.getStorageUnitStatus(); String copyStorageUnitStatus = ((String) strategy.copy(LocatorUtils.property(locator, "storageUnitStatus", sourceStorageUnitStatus), sourceStorageUnitStatus, (this.storageUnitStatus!= null))); copy.setStorageUnitStatus(copyStorageUnitStatus);
if (storageUnitStatusShouldBeCopiedAndSet == Boolean.TRUE) { String sourceStorageUnitStatus; sourceStorageUnitStatus = this.getStorageUnitStatus(); String copyStorageUnitStatus = ((String) strategy.copy(LocatorUtils.property(locator, "storageUnitStatus", sourceStorageUnitStatus), sourceStorageUnitStatus, (this.storageUnitStatus!= null))); copy.setStorageUnitStatus(copyStorageUnitStatus);
if (storageUnitStatusShouldBeCopiedAndSet == Boolean.TRUE) { String sourceStorageUnitStatus; sourceStorageUnitStatus = this.getStorageUnitStatus(); String copyStorageUnitStatus = ((String) strategy.copy(LocatorUtils.property(locator, "storageUnitStatus", sourceStorageUnitStatus), sourceStorageUnitStatus, (this.storageUnitStatus!= null))); copy.setStorageUnitStatus(copyStorageUnitStatus);