@FxControllerService public class SecurityRulesView extends AbstractFxController implements DomainContextProvider
| Constructor and Description |
|---|
SecurityRulesView() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure() |
DomainContext |
getDomainContext() |
void |
initialize(URL location,
ResourceBundle resources) |
void |
setSecuredObject(Class<?> clazz)
Configures the view to edit security rule sets for a non-PDO-class.
|
void |
setSecuredObject(int classId)
Configures the view to edit security rule sets for a PDO-class.
|
void |
setSecuredObject(PersistentDomainObject<?> pdo)
Configures the view to edit security rule sets for a PDO.
|
static void |
show(Class<?> clazz,
PersistentDomainObject<?> pdo)
Creates and shows the modal stage.
|
createBinder, getBinder, getContainer, getDefaultScopes, getFXMLFields, getFXMLMethods, getStage, getView, setView, validateInjectionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waiton, oppublic static void show(Class<?> clazz, PersistentDomainObject<?> pdo)
clazz - the secured non-PDO class, null if PDOpdo - the secured PDO, null if non-PDO clazzpublic DomainContext getDomainContext()
getDomainContext in interface DomainContextProviderpublic void initialize(URL location, ResourceBundle resources)
initialize in interface javafx.fxml.Initializableinitialize in class AbstractFxControllerpublic void configure()
configure in interface FxControllerconfigure in class AbstractFxControllerpublic void setSecuredObject(PersistentDomainObject<?> pdo)
pdo - the pdopublic void setSecuredObject(int classId)
classId - the class-IDpublic void setSecuredObject(Class<?> clazz)
clazz - the classTentackle - distributed, domain- and model-driven