|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.xpn.xwiki.api.Api
com.xpn.xwiki.api.Element
com.xpn.xwiki.api.Collection
com.xpn.xwiki.api.Class
public class Class
Field Summary |
---|
Fields inherited from class com.xpn.xwiki.api.Element |
---|
element |
Fields inherited from class com.xpn.xwiki.api.Api |
---|
context |
Constructor Summary | |
---|---|
Class(BaseClass obj,
XWikiContext context)
|
Method Summary | |
---|---|
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()
|
Methods inherited from class com.xpn.xwiki.api.Collection |
---|
getCollection, getName, getNumber, getPrettyName, getProperty, getxWikiClass |
Methods inherited from class com.xpn.xwiki.api.Element |
---|
getBaseElement |
Methods inherited from class com.xpn.xwiki.api.Api |
---|
convert, convert, convert, convertAttachments, getXWikiContext, hasAccessLevel, hasAdminRights, hasProgrammingRights, hasWikiAdminRights |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Class(BaseClass obj, XWikiContext context)
Method Detail |
---|
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 exist
getDisabledObjectProperties(Object)
,
PropertyClass.isDisabled()
public List<String> getDeprecatedObjectPropertyNames(Object object)
object
- the instance of this class where to look for undefined properties
getDeprecatedObjectProperties(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 exist
PropertyClass.isDisabled()
,
getDisabledObjectPropertyNames(Object)
public List<Property> getDeprecatedObjectProperties(Object object)
object
- the instance of this class where to look for undefined properties
getDeprecatedObjectPropertyNames(Object)
public Element get(String name)
name
- the name of the element
PropertyClass
,
Element
public BaseClass getXWikiClass()
public Object newObject() throws XWikiException
XWikiException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |