public class Class extends Collection
Constructor and Description |
---|
Class(BaseClass obj,
XWikiContext context) |
Modifier and Type | Method and Description |
---|---|
Element |
get(String name) |
protected BaseClass |
getBaseClass() |
List<Property> |
getDeprecatedObjectProperties(Object object)
Retrieves deprecated properties of the given object compared to the class.
|
List<String> |
getDeprecatedObjectPropertyNames(Object object)
Get the names of deprecated properties of the given object compared to the class.
|
List<PropertyClass> |
getDisabledObjectProperties(Object object)
Get the list of disabled properties that exist in a given object.
|
List<String> |
getDisabledObjectPropertyNames(Object object)
Get the names of the class properties that are disabled, and exist in the given object.
|
List<PropertyClass> |
getDisabledProperties()
Get the list of disabled property definitions that exist in this class.
|
List<String> |
getDisabledPropertyNames()
Get the names of the class properties that are disabled.
|
List<PropertyClass> |
getEnabledProperties()
Get the list of enabled (the default, normal state) property definitions that exist in this class.
|
List<String> |
getEnabledPropertyNames()
Get the names of the class properties that are enabled.
|
Element[] |
getProperties() |
Object[] |
getPropertyNames()
Returns a String table of the property names.
|
BaseClass |
getXWikiClass() |
Object |
newObject() |
getCollection, getName, getNumber, getPrettyName, getProperty, getValue, getxWikiClass
getBaseElement
convert, convert, convert, convertAttachments, getXWikiContext, hasAccessLevel, hasAdminRights, hasProgrammingRights, hasWikiAdminRights
public Class(BaseClass obj, XWikiContext context)
protected BaseClass getBaseClass()
public Object[] getPropertyNames()
getPropertyNames
in class Collection
Collection.getPropertyNames()
public List<String> getEnabledPropertyNames()
getEnabledProperties()
,
PropertyClass.isDisabled()
public List<String> getDisabledPropertyNames()
getDisabledProperties()
,
PropertyClass.isDisabled()
public List<String> getDisabledObjectPropertyNames(Object object)
object
- the instance of this class where the disabled properties must existgetDisabledObjectProperties(Object)
,
PropertyClass.isDisabled()
public List<String> getDeprecatedObjectPropertyNames(Object object)
object
- the instance of this class where to look for undefined propertiesgetDeprecatedObjectProperties(Object)
public Element[] getProperties()
getProperties
in class Collection
public List<PropertyClass> getEnabledProperties()
PropertyClass.isDisabled()
,
getEnabledPropertyNames()
public List<PropertyClass> getDisabledProperties()
PropertyClass.isDisabled()
,
getDisabledPropertyNames()
public List<PropertyClass> getDisabledObjectProperties(Object object)
object
- the instance of this class where the disabled properties must existPropertyClass.isDisabled()
,
getDisabledObjectPropertyNames(Object)
public List<Property> getDeprecatedObjectProperties(Object object)
object
- the instance of this class where to look for undefined propertiesgetDeprecatedObjectPropertyNames(Object)
public Element get(String name)
name
- the name of the elementPropertyClass
,
Element
public BaseClass getXWikiClass()
public Object newObject() throws XWikiException
XWikiException
Copyright © 2004–2015 XWiki. All rights reserved.