@Service(value=SecurityDialogFactory.class) public class DefaultSecurityDialogFactory extends Object implements SecurityDialogFactory
SecurityDialogFactory.| Constructor and Description |
|---|
DefaultSecurityDialogFactory() |
| Modifier and Type | Method and Description |
|---|---|
<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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInstance, isDialogAllowedpublic <T extends org.tentackle.pdo.PersistentDomainObject<T>> T selectGrantee(javafx.stage.Window owner,
org.tentackle.pdo.DomainContext context)
This needs to be implemented by the application!
selectGrantee in interface SecurityDialogFactoryT - the PDO typeowner - the owner windowcontext - the domain contextpublic void showDialog(org.tentackle.pdo.PersistentDomainObject<?> pdo)
SecurityDialogFactoryshowDialog in interface SecurityDialogFactorypdo - the pdopublic void showDialog(int classId,
org.tentackle.pdo.DomainContext context)
SecurityDialogFactoryshowDialog in interface SecurityDialogFactoryclassId - the class-IDcontext - the domain contextpublic void showDialog(Class<?> clazz)
SecurityDialogFactoryshowDialog in interface SecurityDialogFactoryclazz - the classCopyright © 2016 Krake Softwaretechnik. All rights reserved.