Class GroupEditorDriver
- java.lang.Object
-
- org.uberfire.ext.security.management.client.editor.group.GroupEditorDriver
-
- All Implemented Interfaces:
Driver<org.jboss.errai.security.shared.api.Group,GroupEditor>
@Dependent public class GroupEditorDriver extends Object implements Driver<org.jboss.errai.security.shared.api.Group,GroupEditor>
-
-
Constructor Summary
Constructors Constructor Description GroupEditorDriver(ClientUserSystemManager userSystemManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidedit(org.jboss.errai.security.shared.api.Group group, GroupEditor groupEditor)Edit the instance using the given editor.booleanflush()Flush the editors hierarchy states and perform the validations.intgetGroupPriority()org.uberfire.client.mvp.PerspectiveActivitygetHomePerspective()org.uberfire.security.authz.PermissionCollectiongetPermissions()org.jboss.errai.security.shared.api.GroupgetValue()The instance after being flush with against the editors hierarchy.voidshow(org.jboss.errai.security.shared.api.Group group, GroupEditor groupEditor)Show the instance using the given editor.
-
-
-
Constructor Detail
-
GroupEditorDriver
@Inject public GroupEditorDriver(ClientUserSystemManager userSystemManager)
-
-
Method Detail
-
show
public void show(org.jboss.errai.security.shared.api.Group group, GroupEditor groupEditor)Description copied from interface:DriverShow the instance using the given editor.- Specified by:
showin interfaceDriver<org.jboss.errai.security.shared.api.Group,GroupEditor>- Parameters:
group- The instance to show.groupEditor- The viewer for the instance.
-
edit
public void edit(org.jboss.errai.security.shared.api.Group group, GroupEditor groupEditor)Description copied from interface:DriverEdit the instance using the given editor.- Specified by:
editin interfaceDriver<org.jboss.errai.security.shared.api.Group,GroupEditor>- Parameters:
group- The instance to show.groupEditor- The editor for the instance.
-
flush
public boolean flush()
Description copied from interface:DriverFlush the editors hierarchy states and perform the validations.- Specified by:
flushin interfaceDriver<org.jboss.errai.security.shared.api.Group,GroupEditor>- Returns:
- The validation violations, if any.
-
getValue
public org.jboss.errai.security.shared.api.Group getValue()
Description copied from interface:DriverThe instance after being flush with against the editors hierarchy.- Specified by:
getValuein interfaceDriver<org.jboss.errai.security.shared.api.Group,GroupEditor>- Returns:
- The instance.
-
getPermissions
public org.uberfire.security.authz.PermissionCollection getPermissions()
-
getHomePerspective
public org.uberfire.client.mvp.PerspectiveActivity getHomePerspective()
-
getGroupPriority
public int getGroupPriority()
-
-