Message-ID: <518510311.2850.1485851006206.JavaMail.confluence@ip-10-127-227-164> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_2849_272152506.1485851006206" ------=_Part_2849_272152506.1485851006206 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html Signals Reference

Signals Reference

=20
=20
=20
=20

This page references all available signals that you can= listen to, triggered by ("Public") Repository API in eZ Platform.

For more information, check the SignalSlot section and the Listening to Core events recipe.

All signals are relative to eZ\Publish\Core\SignalSlot\Signal namespace.

Transactions

Signals are sent after transactions are executed, making signals transac= tion safe.

 

ContentService

Signal type Properties Triggered by When
ContentService\AddRelationSignal
  • srcContentId (source contentId, aka referrer)
  • srcVersionNo
  • dstContentId (destination contentId, aka target)

ContentService::addRelation()

After
ContentService\AddTranslatio= nInfoSignal N/A ContentService::addTranslati= onInfo() After
ContentService\CopyContentSi= gnal
  • srcContentId (original content ID)
  • srcVersionNo
  • dstContentId (contentId of the copy)
  • dstVersionNo
  • dstParentLocationId (locationId where the content has been= copied)
ContentService::copyCo= ntent() After
ContentService\CreateContent= DraftSignal
  • contentId
  • versionNo
  • userId (Id of user used to create the draft, or null - cur= rent user)
ContentService::createConten= tDraft() After
ContentService\CreateContent= Signal
  • contentId
  • versionNo
ContentService::createConten= t() After
ContentService\DeleteContent= Signal
  • contentId
ContentService::deleteConten= t() After
ContentService\DeleteRelatio= nSignal
  • srcContentId
  • srcVersionNo
  • dstContentId
ContentService::deleteRelati= on() After
ContentService\DeleteVersion= Signal
  • contentId
  • versionNo
ContentService::deleteVersio= n() After
ContentService\PublishVersio= nSignal
  • contentId
  • versionNo
ContentService:: publishVers= ion() After
ContentService\TranslateVers= ionSignal
  • contentId
  • versionNo
  • userId
ContentService::translationV= ersion() After
ContentService\UpdateContent= MetadataSignal
  • contentId
ContentService::updateConten= tMetadata() After
ContentService\UpdateContent= Signal
  • contentId
  • versionNo
ContentService::updateConten= t() After

ContentTypeService

Signal type Properties Triggered by When
ContentTypeService\AddFieldDefinitionSigna= l
  • contentTypeDraftId

ContentTypeService::addFieldDefinition(= )

After
ContentTypeService\AssignCon= tentTypeGroupSignal
  • contentTypeId
  • contentTypeGroupId
ContentTypeService::assignCo= ntentTypeGroup() After
ContentTypeService\CopyConte= ntTypeSignal
  • contentTypeId
  • userId
ContentTypeService::copyCont= entType() After
ContentTypeService\CreateCon= tentTypeDraftSignal
  • contentTypeId
ContentTypeService::createCo= ntentTypeDraft() After
ContentTypeService\CreateCon= tentTypeGroupSignal
  • groupId
ContentTypeService::createCo= ntentTypeGroup() After
ContentTypeService\CreateCon= tentTypeSignal
  • contentTypeId
ContentTypeService::createCo= ntentType() After
ContentTypeService\DeleteCon= tentTypeGroupSignal
  • contentTypeGroupId
ContentTypeService::deleteCo= ntentTypeGroup() After
ContentTypeService\DeleteCon= tentTypeSignal
  • contentTypeId
ContentTypeService::deleteCo= ntentType() After
ContentTypeService\PublishCo= ntentTypeDraftSignal
  • contentTypeDraftId
ContentTypeService::publishC= ontentTypeDraft() After
ContentTypeService\RemoveFie= ldDefinitionSignal
  • contentTypeDraftId
  • fieldDefinitionId
ContentTypeService::removeFi= eldDefinition() After
ContentTypeService\UnassignC= ontentTypeGroupSignal
  • contentTypeId
  • contentTypeGroupId
ContentTypeService::unassign= ContentTypeGroup() After
ContentTypeService\UpdateCon= tentTypeDraftSignal
  • contentTypeDraftId
ContentTypeService::updateCo= ntentTypeDraft() After
ContentTypeService\UpdateCon= tentTypeGroupSignal
  • contentTypeGroupId
ContentTypeService::updateCo= ntentTypeGroup() After
ContentTypeService\UpdateFie= ldDefinitionSignal
  • contentTypeDraftId
  • fieldDefinitionId
ContentTypeService::updateFi= eldDefinition() After

LanguageService

Signal type Properties Triggered by When
LanguageService\CreateLanguageSignal
  • languageId
LanguageService::createLanguage() After
LanguageService\DeleteLanguageSignal
  • languageId
LanguageService::deleteLanguage() After
LanguageService\DisableLanguageSignal
  • languageId
LanguageService::disableLanguage()<= /td> After
LanguageService\EnableLanguageSignal
  • languageId
LanguageService::enableLanguage() After
LanguageService\UpdateLanguageNameSignal
  • languageId
  • newName
LanguageService::updateLanguageName()

After

LocationService

Signal type Properties Triggered by When
LocationService\CopySubtreeSignal
  • subtreeId (top locationId of the subtree to be copied)
  • targetParentLocationId

LocationService::copySubtree()

After
LocationService\Create= LocationSignal
  • contentId
  • locationId
LocationService::createLocat= ion() After
LocationService\DeleteLocati= onSignal
  • contentId
  • locationId
LocationService::deleteLocat= ion() After
LocationService\HideLocation= Signal
  • contentId
  • locationId
LocationService::hideLocatio= n() After
LocationService\UnhideLocati= onSignal
  • contentId
  • locationId
LocationService::unhideLocat= ion() After
LocationService\MoveSubtreeS= ignal
  • subtreeId
  • newParentLocationId
LocationService::moveSubtree= () After
LocationService\SwapLocation= Signal
  • content1Id
  • location1Id
  • content2Id
  • location2Id
LocationService::swapLocatio= n() After
LocationService\UpdateLocati= onSignal
  • contentId
  • locationId
LocationService::updateLocat= ion() After

ObjectStateService

Signal type Properties Triggered by When
ObjectStateService\CreateObjectStateGroupS= ignal
  • objectStateGroupId
ObjectStateService::createObjectStateGroup= () After
ObjectStateService\CreateObjectStateSignal=
  • objectStateGroupId
  • objectStateId
ObjectStateService::createObjectState() After
ObjectStateService\DeleteObjectStateGroupS= ignal
  • objectStateGroupId
ObjectStateService::deleteObjectStateGroup= () After
ObjectStateService\DeleteObjectStateSignal=
  • objectStateId
ObjectStateService::deleteObjectState() After
ObjectStateService\SetContentStateSignal
  • contentId
  • objectStateGroupId
  • objectStateId
ObjectStateService::setContentState() After
ObjectStateService\SetPriorityOfObjectStat= eSignal
  • objectStateId
  • priority
ObjectStateService::setPriorityOfObjectSta= te() After
ObjectStateService\UpdateObjectStateGroupS= ignal
  • objectStateGroupId
ObjectStateService::updateObjectStateGroup= () After
ObjectStateService\UpdateObj= ectStateSignal
  • objectStateId
ObjectStateService::updateOb= jectState() After

RoleService

Signal type Properties Triggered by When
RoleService\AddPolicySignal
  • roleId
  • policyId
RoleService::addPolicy() After
RoleService\AssignRoleToUserGroupSignal
  • roleId
  • userGroupId
  • roleLimitation
RoleService::assignRoleToUserGroup() After
RoleService\AssignRoleToUserSignal<= /td>
  • roleId
  • userId
  • roleLimitation
RoleService::assignRoleToUser() After
RoleService\CreateRoleSignal
  • roleId
RoleService::createRole() After
RoleService\DeleteRoleSignal
  • roleId
RoleService::deleteRole() After
RoleService\RemovePolicySignal
  • roleId
  • policyId
RoleService::removePolicy() After
RoleService\UnassignRoleFromUserGroupSigna= l
  • roleId
  • userGroupId
RoleService::unassignRoleFromUserGroup() After
RoleService\UnassignRoleFromUserSignal
  • roleId
  • userId
RoleService::unassignRoleFromUser()= After
RoleService\UpdatePolicySignal
  • policyId
RoleService::updatePolicy() After
RoleService\UpdateRoleSignal
  • roleId
RoleService::updateRole() After

SectionService

Signal type Properties Triggered by When
SectionService\AssignSectionSignal<= /td>
  • contentId
  • sectionId
SectionService::assignSection() After
SectionService\CreateSectionSignal<= /td>
  • sectionId
SectionService::createSection() After
SectionService\DeleteSectionSignal<= /td>
  • sectionId
SectionService::deleteSection() After
SectionService\UpdateSectionSignal<= /td>
  • sectionId
SectionService::updateSection() After

TrashService

Signal type Properties Triggered by When
TrashService\DeleteTrashItemSignal<= /td>
  • trashItemId
TrashService::deleteTrashItem() After
TrashService\EmptyTrashSignal N/A TrashService::emptyTrash() After
TrashService\RecoverSignal
  • trashItemId
  • newParentLocationId
  • newLocationId
TrashService::recover() After
TrashService\TrashSignal
  • locationId
TrashService::trash() After

URLAliasService

Signal type Properties Triggered by When
URLAliasService\CreateGlobalUrlAliasSignal=
  • urlAliasId
URLAliasService::createGlobalUrlAlias() After
URLAliasService\CreateUrlAliasSignal
  • urlAliasId
URLAliasService::createUrlAlias() After
URLAliasService\RemoveAliasesSignal=
  • aliasList
URLAliasService::removeAliases() After

URLWildcardService

Signal type Properties Triggered by When
URLWildcardService\CreateSignal
  • urlWildcardId
URLWildcardService::create() After
URLWildcardService\RemoveSignal
  • urlWildcardId
URLWildcardService::remove() After
URLWildcardService\TranslateSignal<= /td>
  • url
URLWildcardService::translate() After

UserService

Signal type Properties Triggered by When
UserService\AssignUserToUserGroupSignal
  • userId
  • userGroupId
UserService::assignUserToUserGroup() After
UserService\CreateUserGroupSignal
  • userGroupId
UserService::createUserGroup() After
UserService\CreateUserSignal
  • userId
UserService::createUser() After
UserService\DeleteUserGroupSignal
  • userGroupId
UserService::deleteUserGroup() After
UserService\DeleteUserSignal
  • userId
UserService::deleteUser() After
UserService\MoveUserGroupSignal
  • userGroupId
  • newParentId
UserService::moveUserGroup() After
UserService\UnAssignUserFromUserGroupSigna= l
  • userId
  • userGroupId
UserService::unAssignUserFromUserGroup() After
UserService\UpdateUserGroupSignal
  • userGroupId
UserService::updateUserGroup() After
UserService\UpdateUserSignal
  • userId
UserService::updateUser() After
=20
=20
=20
=20

In this topic:

=20
=20
=20
------=_Part_2849_272152506.1485851006206--