public class UIXRecordElement extends Object implements RecordElement
RecordElement which reads the configuration from an UIExtension xobject.| Constructor and Description |
|---|
UIXRecordElement(org.xwiki.uiextension.UIExtension extension,
RecordSection section)
Simple constructor, taking a UI
extension and the parent record section as parameters. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsPrivateIdentifiableInformation()
Whether this element contains any private identifiable information (PII) or not.
|
RecordSection |
getContainingSection()
The parent
section containing this element. |
List<String> |
getDisplayedFields()
The list of fields displayed in the record by this element.
|
org.xwiki.uiextension.UIExtension |
getExtension()
The extension defining this element.
|
String |
getName()
The name of this element, displayed in the form designer.
|
boolean |
isEnabled()
Whether this element is going to be displayed in the record or not.
|
void |
setEnabled(boolean enabled)
Sets whether this element is going to be displayed in the record or not.
|
String |
toString() |
public UIXRecordElement(org.xwiki.uiextension.UIExtension extension,
RecordSection section)
extension and the parent record section as parameters.extension - the UI extension object defining this record elementsection - the parent section containing this elementIllegalArgumentException - if extension or section are nullpublic org.xwiki.uiextension.UIExtension getExtension()
RecordElementgetExtension in interface RecordElementUIExtension objectpublic String getName()
RecordElementgetName in interface RecordElementpublic boolean isEnabled()
RecordElementisEnabled in interface RecordElementtrue if this element must be displayed, false otherwisepublic boolean containsPrivateIdentifiableInformation()
RecordElementcontainsPrivateIdentifiableInformation in interface RecordElementtrue if this element contains PII, false otherwisepublic List<String> getDisplayedFields()
RecordElementgetDisplayedFields in interface RecordElementpublic RecordSection getContainingSection()
RecordElementsection containing this element.getContainingSection in interface RecordElementpublic void setEnabled(boolean enabled)
RecordElementsetEnabled in interface RecordElementenabled - true if this element should be displayed, false otherwiseCopyright © 2011–2018 University of Toronto, Computational Biology Lab. All rights reserved.