Interface PushActions
- All Superinterfaces:
ProvisioningActions
Interface for actions to be performed during push.
All methods can throw
IgnoreProvisionException to make the current entity ignored by the push process.-
Method Summary
Modifier and TypeMethodDescriptiondefault voidafter(ProvisioningProfile<?, ?> profile, Entity entity, ProvisioningReport result) Action to be executed after each local entity push.default EntitybeforeAssign(ProvisioningProfile<?, ?> profile, Entity entity) Action to be executed before to assign (link & provision) a pushed entity to the resource.default EntitybeforeDelete(ProvisioningProfile<?, ?> profile, Entity entity) Action to be executed before delete a pushed entity locally and from the resource.default EntitybeforeDeprovision(ProvisioningProfile<?, ?> profile, Entity entity) Action to be executed before to unassign a pushed entity from the resource.default EntitybeforeLink(ProvisioningProfile<?, ?> profile, Entity entity) Action to be executed before to link a pushed entity to the resource.default EntitybeforeProvision(ProvisioningProfile<?, ?> profile, Entity entity) Action to be executed before to provision a pushed entity to the resource.default EntitybeforeUnassign(ProvisioningProfile<?, ?> profile, Entity entity) Action to be executed before to unassign a pushed entity from the resource.default EntitybeforeUnlink(ProvisioningProfile<?, ?> profile, Entity entity) Action to be executed before to unlink a pushed entity from the resource.default EntitybeforeUpdate(ProvisioningProfile<?, ?> profile, Entity entity) Action to be executed before to update a pushed entity on the resource.moreAttrsToGet(ProvisioningProfile<?, ?> profile, Entity entity) Return additional attributes to include in the result from the underlying connector.default voidonError(ProvisioningProfile<?, ?> profile, Entity entity, ProvisioningReport result, Exception error) Action to be executed after entity push goes on error.Methods inherited from interface org.apache.syncope.core.provisioning.api.pushpull.ProvisioningActions
afterAll, beforeAll
-
Method Details
-
moreAttrsToGet
Return additional attributes to include in the result from the underlying connector.- Parameters:
profile- profile of the pull being executed.entity- entity- Returns:
- additional attributes to include in the result from the underlying connector
-
beforeAssign
Action to be executed before to assign (link & provision) a pushed entity to the resource.- Parameters:
profile- profile of the push being executed.entity- entity to be created.- Returns:
- entity.
-
beforeProvision
Action to be executed before to provision a pushed entity to the resource.- Parameters:
profile- profile of the push being executed.entity- entity to be created.- Returns:
- entity.
-
beforeUpdate
Action to be executed before to update a pushed entity on the resource.- Parameters:
profile- profile of the push being executed.entity- entity to be updated.- Returns:
- entity.
-
beforeLink
Action to be executed before to link a pushed entity to the resource.- Parameters:
profile- profile of the push being executed.entity- entity to be created.- Returns:
- entity.
-
beforeUnlink
Action to be executed before to unlink a pushed entity from the resource.- Parameters:
profile- profile of the push being executed.entity- entity to be created.- Returns:
- entity.
-
beforeUnassign
Action to be executed before to unassign a pushed entity from the resource.- Parameters:
profile- profile of the push being executed.entity- entity to be created.- Returns:
- entity.
-
beforeDeprovision
Action to be executed before to unassign a pushed entity from the resource.- Parameters:
profile- profile of the push being executed.entity- entity to be created.- Returns:
- entity.
-
beforeDelete
Action to be executed before delete a pushed entity locally and from the resource.- Parameters:
profile- profile of the push being executed.entity- entity to be created.- Returns:
- entity.
-
onError
default void onError(ProvisioningProfile<?, ?> profile, Entity entity, ProvisioningReport result, Exception error) Action to be executed after entity push goes on error.- Parameters:
profile- profile of the push being executed.entity- pushed entity.result- operation result.error- error being reported
-
after
Action to be executed after each local entity push.- Parameters:
profile- profile of the push being executed.entity- pushed entity.result- operation result.
-