Search in sources :

Example 1 with EditableGroup

use of com.enonic.xp.security.EditableGroup in project xp by enonic.

the class ModifyGroupHandlerTest method invokeUpdate.

private Group invokeUpdate(final UpdateGroupParams params) {
    final GroupEditor editor = params.getEditor();
    assertNotNull(editor);
    final Group group = TestDataFixtures.getTestGroup();
    final EditableGroup editable = new EditableGroup(group);
    editor.edit(editable);
    return editable.build();
}
Also used : EditableGroup(com.enonic.xp.security.EditableGroup) Group(com.enonic.xp.security.Group) EditableGroup(com.enonic.xp.security.EditableGroup) GroupEditor(com.enonic.xp.security.GroupEditor)

Aggregations

EditableGroup (com.enonic.xp.security.EditableGroup)1 Group (com.enonic.xp.security.Group)1 GroupEditor (com.enonic.xp.security.GroupEditor)1