public class SecuredCommandButton extends CommandButton
DataTable column| Constructor and Description |
|---|
SecuredCommandButton(String name,
org.apache.wicket.model.IModel<String> text,
String[] roles)
Constructor for built-in commands (no property supplied)
|
SecuredCommandButton(String name,
org.apache.wicket.model.IModel<String> text,
String[] roles,
com.googlecode.wicket.jquery.core.IJQuerySecurityProvider provider)
Constructor for built-in commands (no property supplied)
|
SecuredCommandButton(String name,
org.apache.wicket.model.IModel<String> text,
String property,
String[] roles)
Constructor
|
SecuredCommandButton(String name,
org.apache.wicket.model.IModel<String> text,
String property,
String[] roles,
com.googlecode.wicket.jquery.core.IJQuerySecurityProvider provider)
Constructor
|
SecuredCommandButton(String name,
String... roles)
Constructor for built-in commands (no property supplied)
|
SecuredCommandButton(String name,
String[] roles,
com.googlecode.wicket.jquery.core.IJQuerySecurityProvider provider)
Constructor for built-in commands (no property supplied)
|
SecuredCommandButton(String name,
String property,
String[] roles)
Constructor
|
SecuredCommandButton(String name,
String property,
String[] roles,
com.googlecode.wicket.jquery.core.IJQuerySecurityProvider provider)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEnabled()
Indicates whether this button is enabled
|
boolean |
isLocked()
Indicates whether the button is locked.
|
getCSSClass, isBuiltIn, onClick, toStringequals, getName, getProperty, getText, hashCode, isVisible, matchpublic SecuredCommandButton(String name, String... roles)
name - the button's nameroles - list of roles allowed to enable the buttonpublic SecuredCommandButton(String name, String[] roles, com.googlecode.wicket.jquery.core.IJQuerySecurityProvider provider)
name - the button's nameroles - list of roles allowed to enable the buttonprovider - the IJQuerySecurityProviderpublic SecuredCommandButton(String name, String property, String[] roles)
name - the button's nameproperty - the property used to retrieve the row's object valueroles - list of roles allowed to enable the buttonpublic SecuredCommandButton(String name, String property, String[] roles, com.googlecode.wicket.jquery.core.IJQuerySecurityProvider provider)
name - the button's nameproperty - the property used to retrieve the row's object valueroles - list of roles allowed to enable the buttonprovider - the IJQuerySecurityProviderpublic SecuredCommandButton(String name, org.apache.wicket.model.IModel<String> text, String[] roles)
name - the button's nametext - the button's textroles - list of roles allowed to enable the buttonpublic SecuredCommandButton(String name, org.apache.wicket.model.IModel<String> text, String[] roles, com.googlecode.wicket.jquery.core.IJQuerySecurityProvider provider)
name - the button's nametext - the button's textroles - list of roles allowed to enable the buttonprovider - the IJQuerySecurityProviderpublic SecuredCommandButton(String name, org.apache.wicket.model.IModel<String> text, String property, String[] roles)
name - the button's nametext - the button's textproperty - the property used to retrieve the row's object valueroles - list of roles allowed to enable the buttonpublic SecuredCommandButton(String name, org.apache.wicket.model.IModel<String> text, String property, String[] roles, com.googlecode.wicket.jquery.core.IJQuerySecurityProvider provider)
name - the button's nametext - the button's textproperty - the property used to retrieve the row's object valueroles - list of roles allowed to enable the buttonprovider - the IJQuerySecurityProviderpublic final boolean isLocked()
IJQuerySecurityProvider.hasRole(String...)public boolean isEnabled()
CommandButtonisEnabled in class CommandButtontrue by defaultCopyright © 2017 7thWeb. All rights reserved.