类 UpdateIdentityResourceAndAuthorityListener


  • @Component
    public class UpdateIdentityResourceAndAuthorityListener
    extends Object
    监听各种需要重新计算权限缓存的事件并执行相应操作
    作者:
    shidaobang
    Date:
    2022/09/13
    • 构造器详细资料

      • UpdateIdentityResourceAndAuthorityListener

        public UpdateIdentityResourceAndAuthorityListener()
    • 方法详细资料

      • onOrgUnitCreated

        @TransactionalEventListener
        @Async
        public void onOrgUnitCreated​(net.risesoft.y9.pubsub.event.Y9EntityCreatedEvent<? extends Y9OrgBase> event)
      • onOrgUnitUpdated

        @TransactionalEventListener
        @Async
        public void onOrgUnitUpdated​(net.risesoft.y9.pubsub.event.Y9EntityUpdatedEvent<? extends Y9OrgBase> event)
      • onResourceCreated

        @TransactionalEventListener
        @Async
        public void onResourceCreated​(net.risesoft.y9.pubsub.event.Y9EntityCreatedEvent<? extends Y9ResourceBase> event)
      • onResourceUpdated

        @TransactionalEventListener
        @Async
        public void onResourceUpdated​(net.risesoft.y9.pubsub.event.Y9EntityUpdatedEvent<? extends Y9ResourceBase> event)
      • onY9AuthorizationCreated

        @TransactionalEventListener
        @Async
        public void onY9AuthorizationCreated​(net.risesoft.y9.pubsub.event.Y9EntityCreatedEvent<Y9Authorization> event)
      • onY9AuthorizationDeleted

        @TransactionalEventListener
        @Async
        public void onY9AuthorizationDeleted​(net.risesoft.y9.pubsub.event.Y9EntityDeletedEvent<Y9Authorization> event)
      • onY9OrgBasesToRolesCreated

        @TransactionalEventListener
        @Async
        public void onY9OrgBasesToRolesCreated​(net.risesoft.y9.pubsub.event.Y9EntityCreatedEvent<Y9OrgBasesToRoles> event)
      • onY9OrgBasesToRolesDeleted

        @TransactionalEventListener
        @Async
        public void onY9OrgBasesToRolesDeleted​(net.risesoft.y9.pubsub.event.Y9EntityDeletedEvent<Y9OrgBasesToRoles> event)
      • onY9PersonsToGroupsCreated

        @TransactionalEventListener
        @Async
        public void onY9PersonsToGroupsCreated​(net.risesoft.y9.pubsub.event.Y9EntityCreatedEvent<Y9PersonsToGroups> event)
      • onY9PersonsToGroupsDeleted

        @TransactionalEventListener
        @Async
        public void onY9PersonsToGroupsDeleted​(net.risesoft.y9.pubsub.event.Y9EntityDeletedEvent<Y9PersonsToGroups> event)
      • onY9PersonsToPositionsCreated

        @TransactionalEventListener
        @Async
        public void onY9PersonsToPositionsCreated​(net.risesoft.y9.pubsub.event.Y9EntityCreatedEvent<Y9PersonsToPositions> event)
      • onY9PersonsToPositionsDeleted

        @TransactionalEventListener
        @Async
        public void onY9PersonsToPositionsDeleted​(net.risesoft.y9.pubsub.event.Y9EntityDeletedEvent<Y9PersonsToPositions> event)