Skip to Content.
Sympa Menu

grouper-users - [grouper-users] hooks.StemHooks ... stemPreUpdate : how to tell what is changing on the preInsertBean?

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] hooks.StemHooks ... stemPreUpdate : how to tell what is changing on the preInsertBean?


Chronological Thread 
  • From: "Black, Carey M." <>
  • To: grouper-users <>
  • Subject: [grouper-users] hooks.StemHooks ... stemPreUpdate : how to tell what is changing on the preInsertBean?
  • Date: Mon, 25 Sep 2017 02:57:23 +0000
  • Accept-language: en-US
  • Authentication-results: spf=pass (sender IP is 128.146.138.10) smtp.mailfrom=osu.edu; internet2.edu; dkim=none (message not signed) header.d=none;internet2.edu; dmarc=pass action=none header.from=osu.edu;
  • Ironport-phdr: 9a23:EPwh/hSNnMBHJ+Sc4tsk0XBy+dpsv+yvbD5Q0YIujvd0So/mwa6yYhGN2/xhgRfzUJnB7Loc0qyN4vCmATRIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSijewZbB/IA+qoQnNq8IbnZZsJqEtxxXTv3BGYf5WxWRmJVKSmxbz+MK994N9/ipTpvws6ddOXb31cKokQ7NYCi8mM30u683wqRbDVwqP6WACXWgQjxFFHhLK7BD+Xpf2ryv6qu9w0zSUMMHqUbw5Xymp4qF2QxHqlSgHLSY0/mHJhMJtkKJVrhGvpx1jzIDbb46YL+Z+frrZcN8GWWZNQthdWipcCY28dYsPCO8BMP5Wo4Tgo1sBtwexBQq0COjy1DJHnGX20rM60u88Fg/KxgIsFM8JvXvPqNX6LrsdUeOvwKXV0znOYehb2TDm6IjVaBwuv+yDXa9pfMfX1EIhFBvFg02NpYD5MD6ZzOsAvmqB4+duS+6jkXMrpg9+rzS3xMohhZPFip8ax1zY7yl0zpg5Kce8RUJledKkHoVfuiKGO4ZzR84vQ31ntzo0yrADp5K2cykHx4kiyhPQa/GKcYaF7xf/W+mKOjh3nnRoc6+liRmo60iv0Oj8W9G00FlUqipFlcHBuGgR2hLU9sSLV+Jx8Fq51zqSzgzT7fpLLl4umarcNp4h3qU/lp0OsUTFAyD6gl32jLWRdkU45Oen9/jnYrThpp+aLYN0jRz+Mrgqmsy4BuQ4MRICUHSc+eS5zLHj/Ev5T6tWjvAuj6XVrJ/XKd4Uq6O7GQNY3Jgv5wyiAzqo39kUhXwHI0hEeBKDgYjpIVbOIPXgAPikh1Sjiitkx/PcMrH8HJnAIGPOkLD6fbZg8UJT1hc8zc1H65JOFr4BOO7zWlP2tNHAAR85KQu0w/v/CNpjzIMSQH+PArSHP6PIql+F/eYvI+iXZI8JozbxNeIp5//ojX8lh1AdZ6+p0oULaHymBPhpPViWYWe/yusGRGgQuRcmQfavlUaPSyUbM3moWL8k6yt+FZmrF5zrR4axjaaH0TvhWJBaezYVJEqLFCKiXYGNUPRIIAmbOMJw2hlCH/D1QYso3hLo7VWh4718M6zZ9jBO5sGr78R8++CGzUJ6zjdzFcnIi2w=
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

A very quick look at the methods on preInsertBean does not reveal any obvious
"changing" data for the stem.

Maybe I would need to use the UUID to find the existing data via a FindStem
search and then compare all of the data values from the bean and the
"FimdStem" results of the two myself?

Any ideas/guidance?

If it helps, I am wanting to allow only *special* groups to modify the
extention, Display names. But others should be allowed to updated the
Description for the stems;. ( Thus writing a hook and I found this question.)

Thanks in advance.

--
Carey Matthew






Archive powered by MHonArc 2.6.19.

Top of Page