Uses of Class
com.xpn.xwiki.api.Object
-
Packages that use Object Package Description com.xpn.xwiki.api com.xpn.xwiki.objects -
-
Uses of Object in com.xpn.xwiki.api
Fields in com.xpn.xwiki.api declared as Object Modifier and Type Field Description protected Object
Document. currentObj
Convenience object used by object related methods.Methods in com.xpn.xwiki.api that return Object Modifier and Type Method Description Object
Document. addObjectFromRequest()
Object
Document. addObjectFromRequest(String className)
Object
Document. addObjectFromRequest(String className, String prefix)
Object
Document. getFirstObject(String fieldname)
Get the first object that contains the given fieldnameObject
Util. getNull()
Get a Null value.Object
Document. getObject(String classname)
Get the first object matching the given classnameObject
Document. getObject(String classname, boolean create)
get the object of the given className.Object
Document. getObject(String classname, int nb)
Get the object matching the given classname and given object numberObject
Document. getObject(String classname, String key, String value)
Get the first object of a given classname that has a field name matching the given value When none found this method will return nullObject
Document. getObject(String classname, String key, String value, boolean failover)
Get the first object of a given classname that has a field name matching the given valueObject
Document. getObject(ObjectReference objectReference)
Object
Document. getObject(ObjectReference objectReference, boolean create)
Object
XWiki. getObjectFromRequest(String className)
API to create an object from the request The parameters are the ones that are created from doc.display("field","edit") callsObject
Class. newObject()
Object
Document. newObject(String classname)
Creates a New XWiki Object of the given classnameObject
Document. updateObjectFromRequest(String className)
Object
Document. updateObjectFromRequest(String className, String prefix)
Methods in com.xpn.xwiki.api that return types with arguments of type Object Modifier and Type Method Description List<Object>
Document. addObjectsFromRequest(String className)
List<Object>
Document. addObjectsFromRequest(String className, String prefix)
Vector<Object>
Document. getComments()
Vector<Object>
Document. getComments(boolean asc)
Vector<Object>
Document. getObjects(String className)
Get the list of objects for a given classname classnameVector<Object>
Document. getObjects(String classname, String key, String value)
Select a subset of objects from a given class, filtered on a "key = value" criteria.protected Vector<Object>
Document. getXObjects(List<BaseObject> objects)
Map<String,Vector<Object>>
Document. getxWikiObjects()
Get the list of all objects available in this document organized in a Map by classnameList<Object>
Document. updateObjectsFromRequest(String className)
List<Object>
Document. updateObjectsFromRequest(String className, String prefix)
Methods in com.xpn.xwiki.api with parameters of type Object Modifier and Type Method Description String
Document. display(String fieldname, Object obj)
Displays the given field of the given object The display mode will be decided depending on page context (edit or inline context will display in edit, view context in view) This function can return html inside and html macroString
Document. display(String fieldname, String mode, Object obj)
Displays the given field of the given object in the given mode.String
Document. display(String fieldname, String type, Object obj, String wrappingSyntaxId)
Displays the given field of the given object using the given mode and syntax rendering The display mode will be decided depending on page context (edit or inline context will display in edit, view context in view) This function can return html inside and html macroString
Document. display(String fieldname, String mode, String prefix, Object obj)
Displays the given field of the given object in the given mode.String
Document. displayPrettyName(String fieldname, boolean showMandatory, boolean before, Object obj)
Displays the pretty name of the given field of the given object.String
Document. displayPrettyName(String fieldname, boolean showMandatory, Object obj)
Displays the pretty name of the given field of the given object.String
Document. displayPrettyName(String fieldname, Object obj)
Displays the pretty name of the given field of the given object.String
Document. displayTooltip(String fieldname, Object obj)
Displays the tooltip of the given field of the given object.List<Property>
Class. getDeprecatedObjectProperties(Object object)
Retrieves deprecated properties of the given object compared to the class.List<String>
Class. getDeprecatedObjectPropertyNames(Object object)
Get the names of deprecated properties of the given object compared to the class.List<PropertyClass>
Class. getDisabledObjectProperties(Object object)
Get the list of disabled properties that exist in a given object.List<String>
Class. getDisabledObjectPropertyNames(Object object)
Get the names of the class properties that are disabled, and exist in the given object.Object
Document. getValue(String fieldName, Object object)
boolean
Document. removeObject(Object object)
Remove an XObject from the document.void
Document. set(String fieldname, Object value, Object obj)
void
Document. use(Object object)
Setting the current object to the given object. -
Uses of Object in com.xpn.xwiki.objects
Methods in com.xpn.xwiki.objects that return Object Modifier and Type Method Description Object
BaseObject. newObjectApi(BaseObject obj, XWikiContext context)
-