Class UserSourceEditPage
- java.lang.Object
-
- org.apache.wicket.Component
-
- org.apache.wicket.MarkupContainer
-
- org.apache.wicket.markup.html.WebMarkupContainer
-
- org.apache.wicket.markup.html.panel.Panel
-
- com.inductiveautomation.ignition.gateway.web.components.ConfigPanel
-
- com.inductiveautomation.ignition.gateway.web.components.TabbedConfigPanel
-
- com.inductiveautomation.ignition.gateway.web.components.user.UserSourceEditPage
-
- All Implemented Interfaces:
IConfigPage,java.io.Serializable,java.lang.Iterable<org.apache.wicket.Component>,org.apache.wicket.event.IEventSink,org.apache.wicket.event.IEventSource,org.apache.wicket.IConverterLocator,org.apache.wicket.markup.html.IHeaderContributor,org.apache.wicket.request.component.IRequestableComponent,org.apache.wicket.util.IHierarchical<org.apache.wicket.Component>,org.apache.wicket.util.io.IClusterable
public class UserSourceEditPage extends TabbedConfigPanel
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classUserSourceEditPage.GroupActionTableprotected classUserSourceEditPage.UserActionTableAn ActionTable that lists all users for this user profile.static classUserSourceEditPage.UserComparatorstatic classUserSourceEditPage.UserSourceProfileModelLoadableDetachableModel that loads the UserSourceProfile itself as its object-
Nested classes/interfaces inherited from interface com.inductiveautomation.ignition.gateway.web.pages.IConfigPage
IConfigPage.IConfigLinkHandler
-
-
Field Summary
Fields Modifier and Type Field Description protected longprofileId-
Fields inherited from class com.inductiveautomation.ignition.gateway.web.components.TabbedConfigPanel
lastSelectedTab, tabs
-
Fields inherited from class com.inductiveautomation.ignition.gateway.web.components.ConfigPanel
feedback, returnPanel
-
-
Constructor Summary
Constructors Constructor Description UserSourceEditPage(UserSourceProfileRecord record)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<UserSourceEditCapability>flags()org.apache.commons.lang3.tuple.Pair<java.lang.String,java.lang.String>getMenuLocation()org.apache.wicket.model.IModel<java.lang.String>getTitleModel()UserSourceProfilegetUserSource()Return the user source profile stored as the default model object of this page.protected voidonGroupAdded(java.lang.String newName)protected voidonGroupDeleted(java.lang.String group)protected voidonGroupEdited(java.lang.String oldName, java.lang.String newName)protected voidonUserAdded(User user)protected voidonUserDeleted(User user)protected voidonUserEdited(User user)-
Methods inherited from class com.inductiveautomation.ignition.gateway.web.components.TabbedConfigPanel
addTab, createFooter, createHeader, createLink, createLink, createLink, createLink, isFeedbackEnabled, setConfigPanel, setPanel
-
Methods inherited from class com.inductiveautomation.ignition.gateway.web.components.ConfigPanel
getHelpResourceKey, getHelpTopicId, getMenuPath, getTipLabelKey, getTipLabelModel, getTitleKey, initTitleArea, isEscapeHtmlInTipLabel, isTitleVisible, log, renderHead
-
Methods inherited from class org.apache.wicket.markup.html.WebMarkupContainer
getWebApplication, getWebPage, getWebRequest, getWebResponse, getWebSession
-
Methods inherited from class org.apache.wicket.MarkupContainer
add, addOrReplace, autoAdd, contains, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, internalAdd, internalInitialize, iterator, iterator, onAfterRenderChildren, onComponentTagBody, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, swap, toString, toString, visitChildren, visitChildren, visitChildren, visitChildren
-
Methods inherited from class org.apache.wicket.Component
add, addStateChange, afterRender, beforeRender, canCallListenerInterface, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, clearOriginalDestination, configure, continueToOriginalDestination, debug, detach, detachModel, detachModels, determineVisibility, error, exceptionMessage, fatal, findMarkupStream, findPage, findParent, findParentWithAssociatedMarkup, getAjaxRegionMarkupId, getApplication, getBehaviorById, getBehaviorId, getBehaviors, getBehaviors, getClassRelativePath, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessages, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkup, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdFromMarkup, getMarkupIdImpl, getMarkupSourcingStrategy, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getRequestFlag, getResponse, getSession, getSizeInBytes, getStatelessHint, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalOnModelChanged, internalPrepareForRender, internalRenderComponent, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isRendering, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, onAfterRender, onBeforeRender, onComponentTag, onConfigure, onDetach, onEvent, onInitialize, onModelChanged, onModelChanging, onReAdd, onRemove, prepareForRender, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderHead, renderHead, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, send, setAuto, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setIgnoreAttributeModifier, setMarkup, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setParent, setRenderBodyOnly, setRequestFlag, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, success, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, visitParents, warn, wrap
-
-
-
-
Constructor Detail
-
UserSourceEditPage
public UserSourceEditPage(UserSourceProfileRecord record)
-
-
Method Detail
-
onUserEdited
protected void onUserEdited(User user)
-
onUserAdded
protected void onUserAdded(User user)
-
onUserDeleted
protected void onUserDeleted(User user)
-
onGroupEdited
protected void onGroupEdited(java.lang.String oldName, java.lang.String newName)
-
onGroupAdded
protected void onGroupAdded(java.lang.String newName)
-
onGroupDeleted
protected void onGroupDeleted(java.lang.String group)
-
getTitleModel
public org.apache.wicket.model.IModel<java.lang.String> getTitleModel()
- Overrides:
getTitleModelin classConfigPanel
-
getUserSource
public UserSourceProfile getUserSource()
Return the user source profile stored as the default model object of this page.
-
flags
public java.util.Set<UserSourceEditCapability> flags()
-
getMenuLocation
public org.apache.commons.lang3.tuple.Pair<java.lang.String,java.lang.String> getMenuLocation()
- Overrides:
getMenuLocationin classConfigPanel- Returns:
- Pair of strings representing categoryId (matching
ConfigCategory.getName()) and item id (matchingINamedTab.getTabName()) which lets the menu know where in the config menu should be highlighted when this config page is visible.
-
-