public interface SecurityDialogFactory
| Modifier and Type | Method and Description |
|---|---|
static SecurityDialogFactory |
getInstance()
The singleton.
|
default boolean |
isDialogAllowed(org.tentackle.pdo.DomainContext context)
Returns whether user determined by given domain context is allowed to use the security dialog.
|
<T extends org.tentackle.pdo.PersistentDomainObject<T>> |
selectGrantee(javafx.stage.Window owner,
org.tentackle.pdo.DomainContext context)
Selects a grantee.
This is usually a search dialog for users and/or usergroups. |
void |
showDialog(Class<?> clazz)
Shows a dialog to edit security rule sets for a non-PDO-class.
|
void |
showDialog(int classId,
org.tentackle.pdo.DomainContext context)
Shows a dialog to edit security rule sets for a PDO-class.
|
void |
showDialog(org.tentackle.pdo.PersistentDomainObject<?> pdo)
Shows a dialog to edit security rule sets for a PDO.
|
static SecurityDialogFactory getInstance()
default boolean isDialogAllowed(org.tentackle.pdo.DomainContext context)
context - the domain context<T extends org.tentackle.pdo.PersistentDomainObject<T>> T selectGrantee(javafx.stage.Window owner,
org.tentackle.pdo.DomainContext context)
T - the PDO typeowner - the owner windowcontext - the domain contextvoid showDialog(org.tentackle.pdo.PersistentDomainObject<?> pdo)
pdo - the pdovoid showDialog(int classId,
org.tentackle.pdo.DomainContext context)
classId - the class-IDcontext - the domain contextvoid showDialog(Class<?> clazz)
clazz - the classCopyright © 2016 Krake Softwaretechnik. All rights reserved.