com.xpn.xwiki.objects.classes
Class LevelsClass
java.lang.Object
com.xpn.xwiki.objects.BaseElement<R>
com.xpn.xwiki.objects.BaseCollection<ClassPropertyReference>
com.xpn.xwiki.objects.classes.PropertyClass
com.xpn.xwiki.objects.classes.ListClass
com.xpn.xwiki.objects.classes.LevelsClass
- All Implemented Interfaces:
- PropertyClassInterface, ElementInterface, ObjectInterface, PropertyInterface, Serializable, Cloneable, Comparable<PropertyClass>
public class LevelsClass
- extends ListClass
- See Also:
- Serialized Form
Methods inherited from class com.xpn.xwiki.objects.classes.ListClass |
displayHidden, displayRadioEdit, displaySelectEdit, displayView, getDisplayType, getDisplayValue, getDisplayValue, getElementValue, getListFromString, getMapFromString, getSeparator, getSeparators, getSize, getSort, isCache, isMultiSelect, isPicker, isRelationalStorage, setCache, setDisplayType, setMultiSelect, setPicker, setRelationalStorage, setSeparator, setSeparators, setSize, setSort |
Methods inherited from class com.xpn.xwiki.objects.classes.PropertyClass |
clone, compareTo, createReference, displayCustom, displayEdit, displayEdit, displayHidden, displayHidden, displayView, displayView, flushCache, fromValue, fromXML, getCachedDefaultCustomDisplayer, getClassName, getClassType, getCustomDisplay, getDefaultCustomDisplayer, getFieldFullName, getFullQueryPropertyName, getId, getName, getNumber, getObject, getPrettyName, getPrettyName, getTooltip, getTooltip, getTranslatedPrettyName, getValidationMessage, getValidationRegExp, getXClass, getxWikiClass, initLazyCollections, isCustomDisplayed, isDisabled, isUnmodifiable, isValidColumnTypes, setClassType, setCustomDisplay, setDisabled, setId, setName, setNumber, setObject, setPrettyName, setTooltip, setUnmodifiable, setValidationMessage, setValidationRegExp, setxWikiClass, toFormString, toString, toXML, toXML, validateProperty |
Methods inherited from class com.xpn.xwiki.objects.BaseCollection |
addField, addPropertyForRemoval, apply, equals, get, getCustomMappingMap, getDateValue, getDiff, getDoubleValue, getField, getFieldList, getFieldsToRemove, getFloatValue, getIntValue, getIntValue, getLargeStringValue, getListValue, getLongValue, getProperties, getPropertyList, getPropertyNames, getRelativeXClassReference, getSetValue, getSortedIterator, getStringValue, getXClassReference, merge, merge, put, removeField, safeget, safeput, setClassName, setDateValue, setDBStringListValue, setDocumentReference, setDoubleValue, setFields, setFieldsToRemove, setFloatValue, setIntValue, setLargeStringValue, setLongValue, setSetValue, setStringListValue, setStringValue, setXClassReference, toString, toXMLString |
LevelsClass
public LevelsClass(PropertyMetaClass wclass)
LevelsClass
public LevelsClass()
getList
public List<String> getList(XWikiContext context)
- Specified by:
getList
in class ListClass
getMap
public Map<String,ListItem> getMap(XWikiContext context)
- Specified by:
getMap
in class ListClass
newProperty
public BaseProperty newProperty()
- Specified by:
newProperty
in interface PropertyClassInterface
- Overrides:
newProperty
in class ListClass
fromString
public BaseProperty fromString(String value)
- Specified by:
fromString
in interface PropertyClassInterface
- Overrides:
fromString
in class ListClass
fromStringArray
public BaseProperty fromStringArray(String[] strings)
- Overrides:
fromStringArray
in class ListClass
getText
public String getText(String value,
XWikiContext context)
getListFromString
public static List<String> getListFromString(String value)
displayEdit
public void displayEdit(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context)
- Specified by:
displayEdit
in interface PropertyClassInterface
- Overrides:
displayEdit
in class ListClass
newPropertyfromXML
public BaseProperty newPropertyfromXML(Element ppcel)
- Overrides:
newPropertyfromXML
in class ListClass