[Yanel-dev] Managing policies

Michael Wechner michael.wechner at wyona.com
Wed Jun 16 23:26:56 CEST 2010


Hi

It would  be nice to be able to delete policies recursively, e.g.

PolicyManager.removePolicy(PATH, true)

whereas this would be mean to break/enhance the API of the policy manager.

Now instead doing this one could browser through the repository somehow, 
but it would mean to
introduce new methods such as

Policy.getChildren()

and

PolicyManager.existsPolicy(PATH).

(btw, the exists seems to be done with PolicyManager.getPolicy(path, 
false) != null)

I am not sure either what steps should be done, hence consider the above 
as food for thought ;-)

Thanks

Michi


More information about the Yanel-development mailing list