question: private StorageUnitNotificationRegistrationEntity createStorageUnitNotificationEntity ( NamespaceEntity namespaceEntity , NotificationEventTypeEntity notificationEventTypeEntity , BusinessObjectDefinitionEntity businessObjectDefinitionEntity , FileTypeEntity fileTypeEntity , StorageEntity storageEntity , StorageUnitStatusEntity newStorageUnitStatusEntity , StorageUnitStatusEntity oldStorageUnitStatusEntity , NotificationRegistrationKey key , StorageUnitNotificationFilter storageUnitNotificationFilter , List < JobAction > jobActions , NotificationRegistrationStatusEntity notificationRegistrationStatusEntity ) { StorageUnitNotificationRegistrationEntity storageUnitNotificationRegistrationEntity = new StorageUnitNotificationRegistrationEntity ( ) ; storageUnitNotificationRegistrationEntity . setNamespace ( namespaceEntity ) ; storageUnitNotificationRegistrationEntity . setName ( key . getNotificationName ( ) ) ; storageUnitNotificationRegistrationEntity . setNotificationEventType ( notificationEventTypeEntity ) ; storageUnitNotificationRegistrationEntity . setBusinessObjectDefinition ( businessObjectDefinitionEntity ) ; if ( StringUtils . isNotBlank ( storageUnitNotificationFilter . getBusinessObjectFormatUsage ( ) ) ) { storageUnitNotificationRegistrationEntity . setUsage ( storageUnitNotificationFilter . getBusinessObjectFormatUsage ( ) ) ; } storageUnitNotificationRegistrationEntity . setFileType ( fileTypeEntity ) ; storageUnitNotificationRegistrationEntity . setBusinessObjectFormatVersion ( storageUnitNotificationFilter . getBusinessObjectFormatVersion ( ) ) ; storageUnitNotificationRegistrationEntity . setStorage ( storageEntity ) ; storageUnitNotificationRegistrationEntity . setNewStorageUnitStatus ( newStorageUnitStatusEntity ) ; storageUnitNotificationRegistrationEntity . setOldStorageUnitStatus ( oldStorageUnitStatusEntity ) ; storageUnitNotificationRegistrationEntity . setNotificationRegistrationStatus ( notificationRegistrationStatusEntity ) ; List < NotificationActionEntity > notificationActionEntities = new ArrayList < > ( ) ; storageUnitNotificationRegistrationEntity . setNotificationActions ( notificationActionEntities ) ; for ( JobAction jobAction : jobActions ) { JobDefinitionEntity jobDefinitionEntity = jobDefinitionDaoHelper . getJobDefinitionEntity ( jobAction . getNamespace ( ) , jobAction . getJobName ( ) ) ; NotificationJobActionEntity notificationJobActionEntity = new NotificationJobActionEntity ( ) ; notificationActionEntities . add ( notificationJobActionEntity ) ; notificationJobActionEntity . setJobDefinition ( jobDefinitionEntity ) ; notificationJobActionEntity . setCorrelationData ( jobAction . getCorrelationData ( ) ) ; notificationJobActionEntity . setNotificationRegistration ( storageUnitNotificationRegistrationEntity ) ; } return storageUnitNotificationRegistrationEntity ; }
target:  Creates a new storage unit notification registration entity from the request information.