- java.lang.Object
-
- org.tentackle.fx.AbstractFxController
-
- org.tentackle.fx.rdc.PdoEditor<Security>
-
- org.tentackle.fx.rdc.security.SecurityEditor
-
- All Implemented Interfaces:
FxController,PdoController<Security>,DomainContextProvider,PdoProvider<Security>,org.tentackle.validate.ScopeConfigurator
@FxControllerService public class SecurityEditor extends PdoEditor<Security>
Security permissions editor.- Author:
- harald
-
-
Constructor Summary
Constructors Constructor Description SecurityEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecuritygetPdo()voidrequestInitialFocus()Requests the initial focus after stage is shown.voidsetChangeable(boolean changeable)Sets the changeability of the editor.voidsetPdo(Security pdo)Sets the PDO.voidsetSecurableClass(Class<?> clazz)Sets the securable class.
Adds all applying permissions to the view.-
Methods inherited from class org.tentackle.fx.rdc.PdoEditor
getDomainContext, getValidationMappers, getValidationPath, isChangeable, isEditAllowed, isNewAllowed, isRemoveAllowed, isViewAllowed, print, validateForm
-
Methods inherited from class org.tentackle.fx.AbstractFxController
configure, createBinder, getBinder, getContainer, getDefaultScopes, getFXMLFields, getFXMLMethods, getStage, getView, setView, validateInjections
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.tentackle.pdo.DomainContextProvider
on, op
-
Methods inherited from interface org.tentackle.fx.FxController
configure, getBinder, getContainer, getFXMLFields, getFXMLMethods, getStage, getView, setView, validateInjections
-
Methods inherited from interface org.tentackle.pdo.PdoProvider
on
-
-
-
-
Method Detail
-
getPdo
public Security getPdo()
-
setPdo
public void setPdo(Security pdo)
Description copied from interface:PdoControllerSets the PDO.- Parameters:
pdo- the pdo
-
setSecurableClass
public void setSecurableClass(Class<?> clazz)
Sets the securable class.
Adds all applying permissions to the view.- Parameters:
clazz- the securable class
-
requestInitialFocus
public void requestInitialFocus()
Description copied from class:PdoEditorRequests the initial focus after stage is shown.- Specified by:
requestInitialFocusin classPdoEditor<Security>
-
setChangeable
public void setChangeable(boolean changeable)
Sets the changeability of the editor.- Overrides:
setChangeablein classPdoEditor<Security>- Parameters:
changeable- true if changeable
-
-