Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • id - uuid, doesnt change
  • extension - system name in the folder, shouldnt change
  • display extension - display name in the folder, can change
  • description - free form text documentation about the entity
  • name - fully qualified (including parent folders) system name
  • display name - fully qualified (including parent folders) display name

API

You can create an entity with the EntitySave class:

Code Block

Entity testEntity = new EntitySave(grouperSession).assignCreateParentStemsIfNotExist(true)
      .assignName("test:testEntity").save();

You can find entities with the EntityFinder class (note a grouper session must be open, and the grouper session user must have VIEW or ADMIN on the entity to show the result):

Code Block

Set<Entity> entities = new EntityFinder().addName("test:testEntity").findEntities();

dfs

Entity typeOfGroup

The "Group" object in Grouper is close to what we need for entities, they are in the namespace, they have some privileges (only ADMIN and VIEW are needed), and they have UI/WS support.  The implementation of this enhancement is to have a typeOfGroup option as entity.  Currently for v2.1 the options are "group", "role", and "entity".

...