Package com.xpn.xwiki.objects.classes
Interface PropertyClassInterface
-
- All Superinterfaces:
ElementInterface
,ObjectInterface
,PropertyInterface
- All Known Implementing Classes:
BooleanClass
,ComputedFieldClass
,DateClass
,DBListClass
,DBTreeListClass
,EmailClass
,GroupsClass
,LevelsClass
,ListClass
,NumberClass
,PageClass
,PasswordClass
,PropertyClass
,StaticListClass
,StringClass
,TextAreaClass
,TimezoneClass
,UsersClass
public interface PropertyClassInterface extends ObjectInterface, PropertyInterface
The interface implemented by all XClass properties. An XClass property is at the same time a property (implementsPropertyInterface
) and an instance (object) of a meta class (implementsObjectInterface
), where the meta class defines the meta properties of an XClass property (e.g. "relational storage", "display type", "separator", "multiple selection", etc.)- Version:
- $Id: 4c3d86be80bf0719c1e34eec580af864c666096f $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
displayEdit(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)
void
displayHidden(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)
default void
displayView(StringBuffer buffer, String name, String prefix, BaseCollection object, boolean isolated, XWikiContext context)
void
displayView(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)
void
flushCache()
BaseProperty
fromString(String value)
BaseProperty
fromValue(Object value)
BaseProperty
newProperty()
String
toString(BaseProperty property)
-
Methods inherited from interface com.xpn.xwiki.objects.ElementInterface
apply, getDocumentReference, getName, getReference, merge, setDocumentReference, setName, toString
-
Methods inherited from interface com.xpn.xwiki.objects.ObjectInterface
get, getXClass, put, safeget, safeput, toXML
-
Methods inherited from interface com.xpn.xwiki.objects.PropertyInterface
clone, getId, getObject, setId, setObject, toFormString, toXML
-
-
-
-
Method Detail
-
toString
String toString(BaseProperty property)
-
fromString
BaseProperty fromString(String value)
-
fromValue
BaseProperty fromValue(Object value)
-
displayHidden
void displayHidden(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)
-
displayView
void displayView(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)
-
displayView
default void displayView(StringBuffer buffer, String name, String prefix, BaseCollection object, boolean isolated, XWikiContext context)
- Since:
- 13.0
-
displayEdit
void displayEdit(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)
-
newProperty
BaseProperty newProperty()
-
flushCache
void flushCache()
-
-