| @@ -9,15 +9,11 @@ | ||
| 9 | 9 | namespace eZ\Publish\Core\Event; | 
| 10 | 10 | |
| 11 | 11 | use eZ\Publish\API\Repository\BookmarkService as BookmarkServiceInterface; | 
| 12 | -use eZ\Publish\API\Repository\Events\Bookmark\BeforeCreateBookmarkEvent as BeforeCreateBookmarkEventInterface; | |
| 13 | -use eZ\Publish\API\Repository\Events\Bookmark\BeforeDeleteBookmarkEvent as BeforeDeleteBookmarkEventInterface; | |
| 14 | -use eZ\Publish\API\Repository\Events\Bookmark\CreateBookmarkEvent as CreateBookmarkEventInterface; | |
| 15 | -use eZ\Publish\API\Repository\Events\Bookmark\DeleteBookmarkEvent as DeleteBookmarkEventInterface; | |
| 16 | -use eZ\Publish\API\Repository\Values\Content\Location; | |
| 17 | 12 | use eZ\Publish\API\Repository\Events\Bookmark\BeforeCreateBookmarkEvent; | 
| 18 | 13 | use eZ\Publish\API\Repository\Events\Bookmark\BeforeDeleteBookmarkEvent; | 
| 19 | 14 | use eZ\Publish\API\Repository\Events\Bookmark\CreateBookmarkEvent; | 
| 20 | 15 | use eZ\Publish\API\Repository\Events\Bookmark\DeleteBookmarkEvent; | 
| 16 | +use eZ\Publish\API\Repository\Values\Content\Location; | |
| 21 | 17 | use eZ\Publish\SPI\Repository\Decorator\BookmarkServiceDecorator; | 
| 22 | 18 | use Symfony\Contracts\EventDispatcher\EventDispatcherInterface; | 
| 23 | 19 | |
| @@ -9,42 +9,6 @@ discard block | ||
| 9 | 9 | namespace eZ\Publish\Core\Event; | 
| 10 | 10 | |
| 11 | 11 | use eZ\Publish\API\Repository\ContentService as ContentServiceInterface; | 
| 12 | -use eZ\Publish\API\Repository\Events\Content\AddRelationEvent as AddRelationEventInterface; | |
| 13 | -use eZ\Publish\API\Repository\Events\Content\BeforeAddRelationEvent as BeforeAddRelationEventInterface; | |
| 14 | -use eZ\Publish\API\Repository\Events\Content\BeforeCopyContentEvent as BeforeCopyContentEventInterface; | |
| 15 | -use eZ\Publish\API\Repository\Events\Content\BeforeCreateContentDraftEvent as BeforeCreateContentDraftEventInterface; | |
| 16 | -use eZ\Publish\API\Repository\Events\Content\BeforeCreateContentEvent as BeforeCreateContentEventInterface; | |
| 17 | -use eZ\Publish\API\Repository\Events\Content\BeforeDeleteContentEvent as BeforeDeleteContentEventInterface; | |
| 18 | -use eZ\Publish\API\Repository\Events\Content\BeforeDeleteRelationEvent as BeforeDeleteRelationEventInterface; | |
| 19 | -use eZ\Publish\API\Repository\Events\Content\BeforeDeleteTranslationEvent as BeforeDeleteTranslationEventInterface; | |
| 20 | -use eZ\Publish\API\Repository\Events\Content\BeforeDeleteVersionEvent as BeforeDeleteVersionEventInterface; | |
| 21 | -use eZ\Publish\API\Repository\Events\Content\BeforeHideContentEvent as BeforeHideContentEventInterface; | |
| 22 | -use eZ\Publish\API\Repository\Events\Content\BeforePublishVersionEvent as BeforePublishVersionEventInterface; | |
| 23 | -use eZ\Publish\API\Repository\Events\Content\BeforeRevealContentEvent as BeforeRevealContentEventInterface; | |
| 24 | -use eZ\Publish\API\Repository\Events\Content\BeforeUpdateContentEvent as BeforeUpdateContentEventInterface; | |
| 25 | -use eZ\Publish\API\Repository\Events\Content\BeforeUpdateContentMetadataEvent as BeforeUpdateContentMetadataEventInterface; | |
| 26 | -use eZ\Publish\API\Repository\Events\Content\CopyContentEvent as CopyContentEventInterface; | |
| 27 | -use eZ\Publish\API\Repository\Events\Content\CreateContentDraftEvent as CreateContentDraftEventInterface; | |
| 28 | -use eZ\Publish\API\Repository\Events\Content\CreateContentEvent as CreateContentEventInterface; | |
| 29 | -use eZ\Publish\API\Repository\Events\Content\DeleteContentEvent as DeleteContentEventInterface; | |
| 30 | -use eZ\Publish\API\Repository\Events\Content\DeleteRelationEvent as DeleteRelationEventInterface; | |
| 31 | -use eZ\Publish\API\Repository\Events\Content\DeleteTranslationEvent as DeleteTranslationEventInterface; | |
| 32 | -use eZ\Publish\API\Repository\Events\Content\DeleteVersionEvent as DeleteVersionEventInterface; | |
| 33 | -use eZ\Publish\API\Repository\Events\Content\HideContentEvent as HideContentEventInterface; | |
| 34 | -use eZ\Publish\API\Repository\Events\Content\PublishVersionEvent as PublishVersionEventInterface; | |
| 35 | -use eZ\Publish\API\Repository\Events\Content\RevealContentEvent as RevealContentEventInterface; | |
| 36 | -use eZ\Publish\API\Repository\Events\Content\UpdateContentEvent as UpdateContentEventInterface; | |
| 37 | -use eZ\Publish\API\Repository\Events\Content\UpdateContentMetadataEvent as UpdateContentMetadataEventInterface; | |
| 38 | -use eZ\Publish\API\Repository\Values\Content\Content; | |
| 39 | -use eZ\Publish\API\Repository\Values\Content\ContentCreateStruct; | |
| 40 | -use eZ\Publish\API\Repository\Values\Content\ContentInfo; | |
| 41 | -use eZ\Publish\API\Repository\Values\Content\ContentMetadataUpdateStruct; | |
| 42 | -use eZ\Publish\API\Repository\Values\Content\ContentUpdateStruct; | |
| 43 | -use eZ\Publish\API\Repository\Values\Content\Language; | |
| 44 | -use eZ\Publish\API\Repository\Values\Content\LocationCreateStruct; | |
| 45 | -use eZ\Publish\API\Repository\Values\Content\Relation; | |
| 46 | -use eZ\Publish\API\Repository\Values\Content\VersionInfo; | |
| 47 | -use eZ\Publish\API\Repository\Values\User\User; | |
| 48 | 12 | use eZ\Publish\API\Repository\Events\Content\AddRelationEvent; | 
| 49 | 13 | use eZ\Publish\API\Repository\Events\Content\BeforeAddRelationEvent; | 
| 50 | 14 | use eZ\Publish\API\Repository\Events\Content\BeforeCopyContentEvent; | 
| @@ -71,6 +35,16 @@ discard block | ||
| 71 | 35 | use eZ\Publish\API\Repository\Events\Content\RevealContentEvent; | 
| 72 | 36 | use eZ\Publish\API\Repository\Events\Content\UpdateContentEvent; | 
| 73 | 37 | use eZ\Publish\API\Repository\Events\Content\UpdateContentMetadataEvent; | 
| 38 | +use eZ\Publish\API\Repository\Values\Content\Content; | |
| 39 | +use eZ\Publish\API\Repository\Values\Content\ContentCreateStruct; | |
| 40 | +use eZ\Publish\API\Repository\Values\Content\ContentInfo; | |
| 41 | +use eZ\Publish\API\Repository\Values\Content\ContentMetadataUpdateStruct; | |
| 42 | +use eZ\Publish\API\Repository\Values\Content\ContentUpdateStruct; | |
| 43 | +use eZ\Publish\API\Repository\Values\Content\Language; | |
| 44 | +use eZ\Publish\API\Repository\Values\Content\LocationCreateStruct; | |
| 45 | +use eZ\Publish\API\Repository\Values\Content\Relation; | |
| 46 | +use eZ\Publish\API\Repository\Values\Content\VersionInfo; | |
| 47 | +use eZ\Publish\API\Repository\Values\User\User; | |
| 74 | 48 | use eZ\Publish\SPI\Repository\Decorator\ContentServiceDecorator; | 
| 75 | 49 | use Symfony\Contracts\EventDispatcher\EventDispatcherInterface; | 
| 76 | 50 | |
| @@ -9,47 +9,6 @@ discard block | ||
| 9 | 9 | namespace eZ\Publish\Core\Event; | 
| 10 | 10 | |
| 11 | 11 | use eZ\Publish\API\Repository\ContentTypeService as ContentTypeServiceInterface; | 
| 12 | -use eZ\Publish\API\Repository\Events\ContentType\AddFieldDefinitionEvent as AddFieldDefinitionEventInterface; | |
| 13 | -use eZ\Publish\API\Repository\Events\ContentType\AssignContentTypeGroupEvent as AssignContentTypeGroupEventInterface; | |
| 14 | -use eZ\Publish\API\Repository\Events\ContentType\BeforeAddFieldDefinitionEvent as BeforeAddFieldDefinitionEventInterface; | |
| 15 | -use eZ\Publish\API\Repository\Events\ContentType\BeforeAssignContentTypeGroupEvent as BeforeAssignContentTypeGroupEventInterface; | |
| 16 | -use eZ\Publish\API\Repository\Events\ContentType\BeforeCopyContentTypeEvent as BeforeCopyContentTypeEventInterface; | |
| 17 | -use eZ\Publish\API\Repository\Events\ContentType\BeforeCreateContentTypeDraftEvent as BeforeCreateContentTypeDraftEventInterface; | |
| 18 | -use eZ\Publish\API\Repository\Events\ContentType\BeforeCreateContentTypeEvent as BeforeCreateContentTypeEventInterface; | |
| 19 | -use eZ\Publish\API\Repository\Events\ContentType\BeforeCreateContentTypeGroupEvent as BeforeCreateContentTypeGroupEventInterface; | |
| 20 | -use eZ\Publish\API\Repository\Events\ContentType\BeforeDeleteContentTypeEvent as BeforeDeleteContentTypeEventInterface; | |
| 21 | -use eZ\Publish\API\Repository\Events\ContentType\BeforeDeleteContentTypeGroupEvent as BeforeDeleteContentTypeGroupEventInterface; | |
| 22 | -use eZ\Publish\API\Repository\Events\ContentType\BeforePublishContentTypeDraftEvent as BeforePublishContentTypeDraftEventInterface; | |
| 23 | -use eZ\Publish\API\Repository\Events\ContentType\BeforeRemoveContentTypeTranslationEvent as BeforeRemoveContentTypeTranslationEventInterface; | |
| 24 | -use eZ\Publish\API\Repository\Events\ContentType\BeforeRemoveFieldDefinitionEvent as BeforeRemoveFieldDefinitionEventInterface; | |
| 25 | -use eZ\Publish\API\Repository\Events\ContentType\BeforeUnassignContentTypeGroupEvent as BeforeUnassignContentTypeGroupEventInterface; | |
| 26 | -use eZ\Publish\API\Repository\Events\ContentType\BeforeUpdateContentTypeDraftEvent as BeforeUpdateContentTypeDraftEventInterface; | |
| 27 | -use eZ\Publish\API\Repository\Events\ContentType\BeforeUpdateContentTypeGroupEvent as BeforeUpdateContentTypeGroupEventInterface; | |
| 28 | -use eZ\Publish\API\Repository\Events\ContentType\BeforeUpdateFieldDefinitionEvent as BeforeUpdateFieldDefinitionEventInterface; | |
| 29 | -use eZ\Publish\API\Repository\Events\ContentType\CopyContentTypeEvent as CopyContentTypeEventInterface; | |
| 30 | -use eZ\Publish\API\Repository\Events\ContentType\CreateContentTypeDraftEvent as CreateContentTypeDraftEventInterface; | |
| 31 | -use eZ\Publish\API\Repository\Events\ContentType\CreateContentTypeEvent as CreateContentTypeEventInterface; | |
| 32 | -use eZ\Publish\API\Repository\Events\ContentType\CreateContentTypeGroupEvent as CreateContentTypeGroupEventInterface; | |
| 33 | -use eZ\Publish\API\Repository\Events\ContentType\DeleteContentTypeEvent as DeleteContentTypeEventInterface; | |
| 34 | -use eZ\Publish\API\Repository\Events\ContentType\DeleteContentTypeGroupEvent as DeleteContentTypeGroupEventInterface; | |
| 35 | -use eZ\Publish\API\Repository\Events\ContentType\PublishContentTypeDraftEvent as PublishContentTypeDraftEventInterface; | |
| 36 | -use eZ\Publish\API\Repository\Events\ContentType\RemoveContentTypeTranslationEvent as RemoveContentTypeTranslationEventInterface; | |
| 37 | -use eZ\Publish\API\Repository\Events\ContentType\RemoveFieldDefinitionEvent as RemoveFieldDefinitionEventInterface; | |
| 38 | -use eZ\Publish\API\Repository\Events\ContentType\UnassignContentTypeGroupEvent as UnassignContentTypeGroupEventInterface; | |
| 39 | -use eZ\Publish\API\Repository\Events\ContentType\UpdateContentTypeDraftEvent as UpdateContentTypeDraftEventInterface; | |
| 40 | -use eZ\Publish\API\Repository\Events\ContentType\UpdateContentTypeGroupEvent as UpdateContentTypeGroupEventInterface; | |
| 41 | -use eZ\Publish\API\Repository\Events\ContentType\UpdateFieldDefinitionEvent as UpdateFieldDefinitionEventInterface; | |
| 42 | -use eZ\Publish\API\Repository\Values\ContentType\ContentType; | |
| 43 | -use eZ\Publish\API\Repository\Values\ContentType\ContentTypeCreateStruct; | |
| 44 | -use eZ\Publish\API\Repository\Values\ContentType\ContentTypeDraft; | |
| 45 | -use eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup; | |
| 46 | -use eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroupCreateStruct; | |
| 47 | -use eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroupUpdateStruct; | |
| 48 | -use eZ\Publish\API\Repository\Values\ContentType\ContentTypeUpdateStruct; | |
| 49 | -use eZ\Publish\API\Repository\Values\ContentType\FieldDefinition; | |
| 50 | -use eZ\Publish\API\Repository\Values\ContentType\FieldDefinitionCreateStruct; | |
| 51 | -use eZ\Publish\API\Repository\Values\ContentType\FieldDefinitionUpdateStruct; | |
| 52 | -use eZ\Publish\API\Repository\Values\User\User; | |
| 53 | 12 | use eZ\Publish\API\Repository\Events\ContentType\AddFieldDefinitionEvent; | 
| 54 | 13 | use eZ\Publish\API\Repository\Events\ContentType\AssignContentTypeGroupEvent; | 
| 55 | 14 | use eZ\Publish\API\Repository\Events\ContentType\BeforeAddFieldDefinitionEvent; | 
| @@ -80,6 +39,17 @@ discard block | ||
| 80 | 39 | use eZ\Publish\API\Repository\Events\ContentType\UpdateContentTypeDraftEvent; | 
| 81 | 40 | use eZ\Publish\API\Repository\Events\ContentType\UpdateContentTypeGroupEvent; | 
| 82 | 41 | use eZ\Publish\API\Repository\Events\ContentType\UpdateFieldDefinitionEvent; | 
| 42 | +use eZ\Publish\API\Repository\Values\ContentType\ContentType; | |
| 43 | +use eZ\Publish\API\Repository\Values\ContentType\ContentTypeCreateStruct; | |
| 44 | +use eZ\Publish\API\Repository\Values\ContentType\ContentTypeDraft; | |
| 45 | +use eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup; | |
| 46 | +use eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroupCreateStruct; | |
| 47 | +use eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroupUpdateStruct; | |
| 48 | +use eZ\Publish\API\Repository\Values\ContentType\ContentTypeUpdateStruct; | |
| 49 | +use eZ\Publish\API\Repository\Values\ContentType\FieldDefinition; | |
| 50 | +use eZ\Publish\API\Repository\Values\ContentType\FieldDefinitionCreateStruct; | |
| 51 | +use eZ\Publish\API\Repository\Values\ContentType\FieldDefinitionUpdateStruct; | |
| 52 | +use eZ\Publish\API\Repository\Values\User\User; | |
| 83 | 53 | use eZ\Publish\SPI\Repository\Decorator\ContentTypeServiceDecorator; | 
| 84 | 54 | use Symfony\Contracts\EventDispatcher\EventDispatcherInterface; | 
| 85 | 55 | |
| @@ -8,19 +8,6 @@ discard block | ||
| 8 | 8 | |
| 9 | 9 | namespace eZ\Publish\Core\Event; | 
| 10 | 10 | |
| 11 | -use eZ\Publish\API\Repository\Events\Language\BeforeCreateLanguageEvent as BeforeCreateLanguageEventInterface; | |
| 12 | -use eZ\Publish\API\Repository\Events\Language\BeforeDeleteLanguageEvent as BeforeDeleteLanguageEventInterface; | |
| 13 | -use eZ\Publish\API\Repository\Events\Language\BeforeDisableLanguageEvent as BeforeDisableLanguageEventInterface; | |
| 14 | -use eZ\Publish\API\Repository\Events\Language\BeforeEnableLanguageEvent as BeforeEnableLanguageEventInterface; | |
| 15 | -use eZ\Publish\API\Repository\Events\Language\BeforeUpdateLanguageNameEvent as BeforeUpdateLanguageNameEventInterface; | |
| 16 | -use eZ\Publish\API\Repository\Events\Language\CreateLanguageEvent as CreateLanguageEventInterface; | |
| 17 | -use eZ\Publish\API\Repository\Events\Language\DeleteLanguageEvent as DeleteLanguageEventInterface; | |
| 18 | -use eZ\Publish\API\Repository\Events\Language\DisableLanguageEvent as DisableLanguageEventInterface; | |
| 19 | -use eZ\Publish\API\Repository\Events\Language\EnableLanguageEvent as EnableLanguageEventInterface; | |
| 20 | -use eZ\Publish\API\Repository\Events\Language\UpdateLanguageNameEvent as UpdateLanguageNameEventInterface; | |
| 21 | -use eZ\Publish\API\Repository\LanguageService as LanguageServiceInterface; | |
| 22 | -use eZ\Publish\API\Repository\Values\Content\Language; | |
| 23 | -use eZ\Publish\API\Repository\Values\Content\LanguageCreateStruct; | |
| 24 | 11 | use eZ\Publish\API\Repository\Events\Language\BeforeCreateLanguageEvent; | 
| 25 | 12 | use eZ\Publish\API\Repository\Events\Language\BeforeDeleteLanguageEvent; | 
| 26 | 13 | use eZ\Publish\API\Repository\Events\Language\BeforeDisableLanguageEvent; | 
| @@ -31,6 +18,9 @@ discard block | ||
| 31 | 18 | use eZ\Publish\API\Repository\Events\Language\DisableLanguageEvent; | 
| 32 | 19 | use eZ\Publish\API\Repository\Events\Language\EnableLanguageEvent; | 
| 33 | 20 | use eZ\Publish\API\Repository\Events\Language\UpdateLanguageNameEvent; | 
| 21 | +use eZ\Publish\API\Repository\LanguageService as LanguageServiceInterface; | |
| 22 | +use eZ\Publish\API\Repository\Values\Content\Language; | |
| 23 | +use eZ\Publish\API\Repository\Values\Content\LanguageCreateStruct; | |
| 34 | 24 | use eZ\Publish\SPI\Repository\Decorator\LanguageServiceDecorator; | 
| 35 | 25 | use Symfony\Contracts\EventDispatcher\EventDispatcherInterface; | 
| 36 | 26 | |
| @@ -8,27 +8,6 @@ discard block | ||
| 8 | 8 | |
| 9 | 9 | namespace eZ\Publish\Core\Event; | 
| 10 | 10 | |
| 11 | -use eZ\Publish\API\Repository\Events\Location\BeforeCopySubtreeEvent as BeforeCopySubtreeEventInterface; | |
| 12 | -use eZ\Publish\API\Repository\Events\Location\BeforeCreateLocationEvent as BeforeCreateLocationEventInterface; | |
| 13 | -use eZ\Publish\API\Repository\Events\Location\BeforeDeleteLocationEvent as BeforeDeleteLocationEventInterface; | |
| 14 | -use eZ\Publish\API\Repository\Events\Location\BeforeHideLocationEvent as BeforeHideLocationEventInterface; | |
| 15 | -use eZ\Publish\API\Repository\Events\Location\BeforeMoveSubtreeEvent as BeforeMoveSubtreeEventInterface; | |
| 16 | -use eZ\Publish\API\Repository\Events\Location\BeforeSwapLocationEvent as BeforeSwapLocationEventInterface; | |
| 17 | -use eZ\Publish\API\Repository\Events\Location\BeforeUnhideLocationEvent as BeforeUnhideLocationEventInterface; | |
| 18 | -use eZ\Publish\API\Repository\Events\Location\BeforeUpdateLocationEvent as BeforeUpdateLocationEventInterface; | |
| 19 | -use eZ\Publish\API\Repository\Events\Location\CopySubtreeEvent as CopySubtreeEventInterface; | |
| 20 | -use eZ\Publish\API\Repository\Events\Location\CreateLocationEvent as CreateLocationEventInterface; | |
| 21 | -use eZ\Publish\API\Repository\Events\Location\DeleteLocationEvent as DeleteLocationEventInterface; | |
| 22 | -use eZ\Publish\API\Repository\Events\Location\HideLocationEvent as HideLocationEventInterface; | |
| 23 | -use eZ\Publish\API\Repository\Events\Location\MoveSubtreeEvent as MoveSubtreeEventInterface; | |
| 24 | -use eZ\Publish\API\Repository\Events\Location\SwapLocationEvent as SwapLocationEventInterface; | |
| 25 | -use eZ\Publish\API\Repository\Events\Location\UnhideLocationEvent as UnhideLocationEventInterface; | |
| 26 | -use eZ\Publish\API\Repository\Events\Location\UpdateLocationEvent as UpdateLocationEventInterface; | |
| 27 | -use eZ\Publish\API\Repository\LocationService as LocationServiceInterface; | |
| 28 | -use eZ\Publish\API\Repository\Values\Content\ContentInfo; | |
| 29 | -use eZ\Publish\API\Repository\Values\Content\Location; | |
| 30 | -use eZ\Publish\API\Repository\Values\Content\LocationCreateStruct; | |
| 31 | -use eZ\Publish\API\Repository\Values\Content\LocationUpdateStruct; | |
| 32 | 11 | use eZ\Publish\API\Repository\Events\Location\BeforeCopySubtreeEvent; | 
| 33 | 12 | use eZ\Publish\API\Repository\Events\Location\BeforeCreateLocationEvent; | 
| 34 | 13 | use eZ\Publish\API\Repository\Events\Location\BeforeDeleteLocationEvent; | 
| @@ -45,6 +24,11 @@ discard block | ||
| 45 | 24 | use eZ\Publish\API\Repository\Events\Location\SwapLocationEvent; | 
| 46 | 25 | use eZ\Publish\API\Repository\Events\Location\UnhideLocationEvent; | 
| 47 | 26 | use eZ\Publish\API\Repository\Events\Location\UpdateLocationEvent; | 
| 27 | +use eZ\Publish\API\Repository\LocationService as LocationServiceInterface; | |
| 28 | +use eZ\Publish\API\Repository\Values\Content\ContentInfo; | |
| 29 | +use eZ\Publish\API\Repository\Values\Content\Location; | |
| 30 | +use eZ\Publish\API\Repository\Values\Content\LocationCreateStruct; | |
| 31 | +use eZ\Publish\API\Repository\Values\Content\LocationUpdateStruct; | |
| 48 | 32 | use eZ\Publish\SPI\Repository\Decorator\LocationServiceDecorator; | 
| 49 | 33 | use Symfony\Contracts\EventDispatcher\EventDispatcherInterface; | 
| 50 | 34 | |
| @@ -8,21 +8,15 @@ | ||
| 8 | 8 | |
| 9 | 9 | namespace eZ\Publish\Core\Event; | 
| 10 | 10 | |
| 11 | -use eZ\Publish\API\Repository\Events\Notification\BeforeCreateNotificationEvent as BeforeCreateNotificationEventInterface; | |
| 12 | -use eZ\Publish\API\Repository\Events\Notification\BeforeDeleteNotificationEvent as BeforeDeleteNotificationEventInterface; | |
| 13 | -use eZ\Publish\API\Repository\Events\Notification\BeforeMarkNotificationAsReadEvent as BeforeMarkNotificationAsReadEventInterface; | |
| 14 | -use eZ\Publish\API\Repository\Events\Notification\CreateNotificationEvent as CreateNotificationEventInterface; | |
| 15 | -use eZ\Publish\API\Repository\Events\Notification\DeleteNotificationEvent as DeleteNotificationEventInterface; | |
| 16 | -use eZ\Publish\API\Repository\Events\Notification\MarkNotificationAsReadEvent as MarkNotificationAsReadEventInterface; | |
| 17 | -use eZ\Publish\API\Repository\NotificationService as NotificationServiceInterface; | |
| 18 | -use eZ\Publish\API\Repository\Values\Notification\CreateStruct; | |
| 19 | -use eZ\Publish\API\Repository\Values\Notification\Notification; | |
| 20 | 11 | use eZ\Publish\API\Repository\Events\Notification\BeforeCreateNotificationEvent; | 
| 21 | 12 | use eZ\Publish\API\Repository\Events\Notification\BeforeDeleteNotificationEvent; | 
| 22 | 13 | use eZ\Publish\API\Repository\Events\Notification\BeforeMarkNotificationAsReadEvent; | 
| 23 | 14 | use eZ\Publish\API\Repository\Events\Notification\CreateNotificationEvent; | 
| 24 | 15 | use eZ\Publish\API\Repository\Events\Notification\DeleteNotificationEvent; | 
| 25 | 16 | use eZ\Publish\API\Repository\Events\Notification\MarkNotificationAsReadEvent; | 
| 17 | +use eZ\Publish\API\Repository\NotificationService as NotificationServiceInterface; | |
| 18 | +use eZ\Publish\API\Repository\Values\Notification\CreateStruct; | |
| 19 | +use eZ\Publish\API\Repository\Values\Notification\Notification; | |
| 26 | 20 | use eZ\Publish\SPI\Repository\Decorator\NotificationServiceDecorator; | 
| 27 | 21 | use Symfony\Contracts\EventDispatcher\EventDispatcherInterface; | 
| 28 | 22 | |
| @@ -8,30 +8,6 @@ discard block | ||
| 8 | 8 | |
| 9 | 9 | namespace eZ\Publish\Core\Event; | 
| 10 | 10 | |
| 11 | -use eZ\Publish\API\Repository\Events\ObjectState\BeforeCreateObjectStateEvent as BeforeCreateObjectStateEventInterface; | |
| 12 | -use eZ\Publish\API\Repository\Events\ObjectState\BeforeCreateObjectStateGroupEvent as BeforeCreateObjectStateGroupEventInterface; | |
| 13 | -use eZ\Publish\API\Repository\Events\ObjectState\BeforeDeleteObjectStateEvent as BeforeDeleteObjectStateEventInterface; | |
| 14 | -use eZ\Publish\API\Repository\Events\ObjectState\BeforeDeleteObjectStateGroupEvent as BeforeDeleteObjectStateGroupEventInterface; | |
| 15 | -use eZ\Publish\API\Repository\Events\ObjectState\BeforeSetContentStateEvent as BeforeSetContentStateEventInterface; | |
| 16 | -use eZ\Publish\API\Repository\Events\ObjectState\BeforeSetPriorityOfObjectStateEvent as BeforeSetPriorityOfObjectStateEventInterface; | |
| 17 | -use eZ\Publish\API\Repository\Events\ObjectState\BeforeUpdateObjectStateEvent as BeforeUpdateObjectStateEventInterface; | |
| 18 | -use eZ\Publish\API\Repository\Events\ObjectState\BeforeUpdateObjectStateGroupEvent as BeforeUpdateObjectStateGroupEventInterface; | |
| 19 | -use eZ\Publish\API\Repository\Events\ObjectState\CreateObjectStateEvent as CreateObjectStateEventInterface; | |
| 20 | -use eZ\Publish\API\Repository\Events\ObjectState\CreateObjectStateGroupEvent as CreateObjectStateGroupEventInterface; | |
| 21 | -use eZ\Publish\API\Repository\Events\ObjectState\DeleteObjectStateEvent as DeleteObjectStateEventInterface; | |
| 22 | -use eZ\Publish\API\Repository\Events\ObjectState\DeleteObjectStateGroupEvent as DeleteObjectStateGroupEventInterface; | |
| 23 | -use eZ\Publish\API\Repository\Events\ObjectState\SetContentStateEvent as SetContentStateEventInterface; | |
| 24 | -use eZ\Publish\API\Repository\Events\ObjectState\SetPriorityOfObjectStateEvent as SetPriorityOfObjectStateEventInterface; | |
| 25 | -use eZ\Publish\API\Repository\Events\ObjectState\UpdateObjectStateEvent as UpdateObjectStateEventInterface; | |
| 26 | -use eZ\Publish\API\Repository\Events\ObjectState\UpdateObjectStateGroupEvent as UpdateObjectStateGroupEventInterface; | |
| 27 | -use eZ\Publish\API\Repository\ObjectStateService as ObjectStateServiceInterface; | |
| 28 | -use eZ\Publish\API\Repository\Values\Content\ContentInfo; | |
| 29 | -use eZ\Publish\API\Repository\Values\ObjectState\ObjectState; | |
| 30 | -use eZ\Publish\API\Repository\Values\ObjectState\ObjectStateCreateStruct; | |
| 31 | -use eZ\Publish\API\Repository\Values\ObjectState\ObjectStateGroup; | |
| 32 | -use eZ\Publish\API\Repository\Values\ObjectState\ObjectStateGroupCreateStruct; | |
| 33 | -use eZ\Publish\API\Repository\Values\ObjectState\ObjectStateGroupUpdateStruct; | |
| 34 | -use eZ\Publish\API\Repository\Values\ObjectState\ObjectStateUpdateStruct; | |
| 35 | 11 | use eZ\Publish\API\Repository\Events\ObjectState\BeforeCreateObjectStateEvent; | 
| 36 | 12 | use eZ\Publish\API\Repository\Events\ObjectState\BeforeCreateObjectStateGroupEvent; | 
| 37 | 13 | use eZ\Publish\API\Repository\Events\ObjectState\BeforeDeleteObjectStateEvent; | 
| @@ -48,6 +24,14 @@ discard block | ||
| 48 | 24 | use eZ\Publish\API\Repository\Events\ObjectState\SetPriorityOfObjectStateEvent; | 
| 49 | 25 | use eZ\Publish\API\Repository\Events\ObjectState\UpdateObjectStateEvent; | 
| 50 | 26 | use eZ\Publish\API\Repository\Events\ObjectState\UpdateObjectStateGroupEvent; | 
| 27 | +use eZ\Publish\API\Repository\ObjectStateService as ObjectStateServiceInterface; | |
| 28 | +use eZ\Publish\API\Repository\Values\Content\ContentInfo; | |
| 29 | +use eZ\Publish\API\Repository\Values\ObjectState\ObjectState; | |
| 30 | +use eZ\Publish\API\Repository\Values\ObjectState\ObjectStateCreateStruct; | |
| 31 | +use eZ\Publish\API\Repository\Values\ObjectState\ObjectStateGroup; | |
| 32 | +use eZ\Publish\API\Repository\Values\ObjectState\ObjectStateGroupCreateStruct; | |
| 33 | +use eZ\Publish\API\Repository\Values\ObjectState\ObjectStateGroupUpdateStruct; | |
| 34 | +use eZ\Publish\API\Repository\Values\ObjectState\ObjectStateUpdateStruct; | |
| 51 | 35 | use eZ\Publish\SPI\Repository\Decorator\ObjectStateServiceDecorator; | 
| 52 | 36 | use Symfony\Contracts\EventDispatcher\EventDispatcherInterface; | 
| 53 | 37 | |
| @@ -8,55 +8,6 @@ discard block | ||
| 8 | 8 | |
| 9 | 9 | namespace eZ\Publish\Core\Event; | 
| 10 | 10 | |
| 11 | -use eZ\Publish\API\Repository\Events\Role\AddPolicyByRoleDraftEvent as AddPolicyByRoleDraftEventInterface; | |
| 12 | -use eZ\Publish\API\Repository\Events\Role\AddPolicyEvent as AddPolicyEventInterface; | |
| 13 | -use eZ\Publish\API\Repository\Events\Role\AssignRoleToUserEvent as AssignRoleToUserEventInterface; | |
| 14 | -use eZ\Publish\API\Repository\Events\Role\AssignRoleToUserGroupEvent as AssignRoleToUserGroupEventInterface; | |
| 15 | -use eZ\Publish\API\Repository\Events\Role\BeforeAddPolicyByRoleDraftEvent as BeforeAddPolicyByRoleDraftEventInterface; | |
| 16 | -use eZ\Publish\API\Repository\Events\Role\BeforeAddPolicyEvent as BeforeAddPolicyEventInterface; | |
| 17 | -use eZ\Publish\API\Repository\Events\Role\BeforeAssignRoleToUserEvent as BeforeAssignRoleToUserEventInterface; | |
| 18 | -use eZ\Publish\API\Repository\Events\Role\BeforeAssignRoleToUserGroupEvent as BeforeAssignRoleToUserGroupEventInterface; | |
| 19 | -use eZ\Publish\API\Repository\Events\Role\BeforeCreateRoleDraftEvent as BeforeCreateRoleDraftEventInterface; | |
| 20 | -use eZ\Publish\API\Repository\Events\Role\BeforeCreateRoleEvent as BeforeCreateRoleEventInterface; | |
| 21 | -use eZ\Publish\API\Repository\Events\Role\BeforeDeletePolicyEvent as BeforeDeletePolicyEventInterface; | |
| 22 | -use eZ\Publish\API\Repository\Events\Role\BeforeDeleteRoleDraftEvent as BeforeDeleteRoleDraftEventInterface; | |
| 23 | -use eZ\Publish\API\Repository\Events\Role\BeforeDeleteRoleEvent as BeforeDeleteRoleEventInterface; | |
| 24 | -use eZ\Publish\API\Repository\Events\Role\BeforePublishRoleDraftEvent as BeforePublishRoleDraftEventInterface; | |
| 25 | -use eZ\Publish\API\Repository\Events\Role\BeforeRemovePolicyByRoleDraftEvent as BeforeRemovePolicyByRoleDraftEventInterface; | |
| 26 | -use eZ\Publish\API\Repository\Events\Role\BeforeRemoveRoleAssignmentEvent as BeforeRemoveRoleAssignmentEventInterface; | |
| 27 | -use eZ\Publish\API\Repository\Events\Role\BeforeUnassignRoleFromUserEvent as BeforeUnassignRoleFromUserEventInterface; | |
| 28 | -use eZ\Publish\API\Repository\Events\Role\BeforeUnassignRoleFromUserGroupEvent as BeforeUnassignRoleFromUserGroupEventInterface; | |
| 29 | -use eZ\Publish\API\Repository\Events\Role\BeforeUpdatePolicyByRoleDraftEvent as BeforeUpdatePolicyByRoleDraftEventInterface; | |
| 30 | -use eZ\Publish\API\Repository\Events\Role\BeforeUpdatePolicyEvent as BeforeUpdatePolicyEventInterface; | |
| 31 | -use eZ\Publish\API\Repository\Events\Role\BeforeUpdateRoleDraftEvent as BeforeUpdateRoleDraftEventInterface; | |
| 32 | -use eZ\Publish\API\Repository\Events\Role\BeforeUpdateRoleEvent as BeforeUpdateRoleEventInterface; | |
| 33 | -use eZ\Publish\API\Repository\Events\Role\CreateRoleDraftEvent as CreateRoleDraftEventInterface; | |
| 34 | -use eZ\Publish\API\Repository\Events\Role\CreateRoleEvent as CreateRoleEventInterface; | |
| 35 | -use eZ\Publish\API\Repository\Events\Role\DeletePolicyEvent as DeletePolicyEventInterface; | |
| 36 | -use eZ\Publish\API\Repository\Events\Role\DeleteRoleDraftEvent as DeleteRoleDraftEventInterface; | |
| 37 | -use eZ\Publish\API\Repository\Events\Role\DeleteRoleEvent as DeleteRoleEventInterface; | |
| 38 | -use eZ\Publish\API\Repository\Events\Role\PublishRoleDraftEvent as PublishRoleDraftEventInterface; | |
| 39 | -use eZ\Publish\API\Repository\Events\Role\RemovePolicyByRoleDraftEvent as RemovePolicyByRoleDraftEventInterface; | |
| 40 | -use eZ\Publish\API\Repository\Events\Role\RemoveRoleAssignmentEvent as RemoveRoleAssignmentEventInterface; | |
| 41 | -use eZ\Publish\API\Repository\Events\Role\UnassignRoleFromUserEvent as UnassignRoleFromUserEventInterface; | |
| 42 | -use eZ\Publish\API\Repository\Events\Role\UnassignRoleFromUserGroupEvent as UnassignRoleFromUserGroupEventInterface; | |
| 43 | -use eZ\Publish\API\Repository\Events\Role\UpdatePolicyByRoleDraftEvent as UpdatePolicyByRoleDraftEventInterface; | |
| 44 | -use eZ\Publish\API\Repository\Events\Role\UpdatePolicyEvent as UpdatePolicyEventInterface; | |
| 45 | -use eZ\Publish\API\Repository\Events\Role\UpdateRoleDraftEvent as UpdateRoleDraftEventInterface; | |
| 46 | -use eZ\Publish\API\Repository\Events\Role\UpdateRoleEvent as UpdateRoleEventInterface; | |
| 47 | -use eZ\Publish\API\Repository\RoleService as RoleServiceInterface; | |
| 48 | -use eZ\Publish\API\Repository\Values\User\Limitation\RoleLimitation; | |
| 49 | -use eZ\Publish\API\Repository\Values\User\Policy; | |
| 50 | -use eZ\Publish\API\Repository\Values\User\PolicyCreateStruct; | |
| 51 | -use eZ\Publish\API\Repository\Values\User\PolicyDraft; | |
| 52 | -use eZ\Publish\API\Repository\Values\User\PolicyUpdateStruct; | |
| 53 | -use eZ\Publish\API\Repository\Values\User\Role; | |
| 54 | -use eZ\Publish\API\Repository\Values\User\RoleAssignment; | |
| 55 | -use eZ\Publish\API\Repository\Values\User\RoleCreateStruct; | |
| 56 | -use eZ\Publish\API\Repository\Values\User\RoleDraft; | |
| 57 | -use eZ\Publish\API\Repository\Values\User\RoleUpdateStruct; | |
| 58 | -use eZ\Publish\API\Repository\Values\User\User; | |
| 59 | -use eZ\Publish\API\Repository\Values\User\UserGroup; | |
| 60 | 11 | use eZ\Publish\API\Repository\Events\Role\AddPolicyByRoleDraftEvent; | 
| 61 | 12 | use eZ\Publish\API\Repository\Events\Role\AddPolicyEvent; | 
| 62 | 13 | use eZ\Publish\API\Repository\Events\Role\AssignRoleToUserEvent; | 
| @@ -93,6 +44,19 @@ discard block | ||
| 93 | 44 | use eZ\Publish\API\Repository\Events\Role\UpdatePolicyEvent; | 
| 94 | 45 | use eZ\Publish\API\Repository\Events\Role\UpdateRoleDraftEvent; | 
| 95 | 46 | use eZ\Publish\API\Repository\Events\Role\UpdateRoleEvent; | 
| 47 | +use eZ\Publish\API\Repository\RoleService as RoleServiceInterface; | |
| 48 | +use eZ\Publish\API\Repository\Values\User\Limitation\RoleLimitation; | |
| 49 | +use eZ\Publish\API\Repository\Values\User\Policy; | |
| 50 | +use eZ\Publish\API\Repository\Values\User\PolicyCreateStruct; | |
| 51 | +use eZ\Publish\API\Repository\Values\User\PolicyDraft; | |
| 52 | +use eZ\Publish\API\Repository\Values\User\PolicyUpdateStruct; | |
| 53 | +use eZ\Publish\API\Repository\Values\User\Role; | |
| 54 | +use eZ\Publish\API\Repository\Values\User\RoleAssignment; | |
| 55 | +use eZ\Publish\API\Repository\Values\User\RoleCreateStruct; | |
| 56 | +use eZ\Publish\API\Repository\Values\User\RoleDraft; | |
| 57 | +use eZ\Publish\API\Repository\Values\User\RoleUpdateStruct; | |
| 58 | +use eZ\Publish\API\Repository\Values\User\User; | |
| 59 | +use eZ\Publish\API\Repository\Values\User\UserGroup; | |
| 96 | 60 | use eZ\Publish\SPI\Repository\Decorator\RoleServiceDecorator; | 
| 97 | 61 | use Symfony\Contracts\EventDispatcher\EventDispatcherInterface; | 
| 98 | 62 | |
| @@ -8,22 +8,6 @@ discard block | ||
| 8 | 8 | |
| 9 | 9 | namespace eZ\Publish\Core\Event; | 
| 10 | 10 | |
| 11 | -use eZ\Publish\API\Repository\Events\Section\AssignSectionEvent as AssignSectionEventInterface; | |
| 12 | -use eZ\Publish\API\Repository\Events\Section\AssignSectionToSubtreeEvent as AssignSectionToSubtreeEventInterface; | |
| 13 | -use eZ\Publish\API\Repository\Events\Section\BeforeAssignSectionEvent as BeforeAssignSectionEventInterface; | |
| 14 | -use eZ\Publish\API\Repository\Events\Section\BeforeAssignSectionToSubtreeEvent as BeforeAssignSectionToSubtreeEventInterface; | |
| 15 | -use eZ\Publish\API\Repository\Events\Section\BeforeCreateSectionEvent as BeforeCreateSectionEventInterface; | |
| 16 | -use eZ\Publish\API\Repository\Events\Section\BeforeDeleteSectionEvent as BeforeDeleteSectionEventInterface; | |
| 17 | -use eZ\Publish\API\Repository\Events\Section\BeforeUpdateSectionEvent as BeforeUpdateSectionEventInterface; | |
| 18 | -use eZ\Publish\API\Repository\Events\Section\CreateSectionEvent as CreateSectionEventInterface; | |
| 19 | -use eZ\Publish\API\Repository\Events\Section\DeleteSectionEvent as DeleteSectionEventInterface; | |
| 20 | -use eZ\Publish\API\Repository\Events\Section\UpdateSectionEvent as UpdateSectionEventInterface; | |
| 21 | -use eZ\Publish\API\Repository\SectionService as SectionServiceInterface; | |
| 22 | -use eZ\Publish\API\Repository\Values\Content\ContentInfo; | |
| 23 | -use eZ\Publish\API\Repository\Values\Content\Location; | |
| 24 | -use eZ\Publish\API\Repository\Values\Content\Section; | |
| 25 | -use eZ\Publish\API\Repository\Values\Content\SectionCreateStruct; | |
| 26 | -use eZ\Publish\API\Repository\Values\Content\SectionUpdateStruct; | |
| 27 | 11 | use eZ\Publish\API\Repository\Events\Section\AssignSectionEvent; | 
| 28 | 12 | use eZ\Publish\API\Repository\Events\Section\AssignSectionToSubtreeEvent; | 
| 29 | 13 | use eZ\Publish\API\Repository\Events\Section\BeforeAssignSectionEvent; | 
| @@ -34,6 +18,12 @@ discard block | ||
| 34 | 18 | use eZ\Publish\API\Repository\Events\Section\CreateSectionEvent; | 
| 35 | 19 | use eZ\Publish\API\Repository\Events\Section\DeleteSectionEvent; | 
| 36 | 20 | use eZ\Publish\API\Repository\Events\Section\UpdateSectionEvent; | 
| 21 | +use eZ\Publish\API\Repository\SectionService as SectionServiceInterface; | |
| 22 | +use eZ\Publish\API\Repository\Values\Content\ContentInfo; | |
| 23 | +use eZ\Publish\API\Repository\Values\Content\Location; | |
| 24 | +use eZ\Publish\API\Repository\Values\Content\Section; | |
| 25 | +use eZ\Publish\API\Repository\Values\Content\SectionCreateStruct; | |
| 26 | +use eZ\Publish\API\Repository\Values\Content\SectionUpdateStruct; | |
| 37 | 27 | use eZ\Publish\SPI\Repository\Decorator\SectionServiceDecorator; | 
| 38 | 28 | use Symfony\Contracts\EventDispatcher\EventDispatcherInterface; | 
| 39 | 29 | |