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 ObjectDocument. currentObjConvenience object used by object related methods.Methods in com.xpn.xwiki.api that return Object Modifier and Type Method Description ObjectDocument. addObjectFromRequest()ObjectDocument. addObjectFromRequest(String className)ObjectDocument. addObjectFromRequest(String className, String prefix)ObjectDocument. getFirstObject(String fieldname)Get the first object that contains the given fieldnameObjectUtil. getNull()Get a Null value.ObjectDocument. getObject(String classname)Get the first object matching the given classnameObjectDocument. getObject(String classname, boolean create)get the object of the given className.ObjectDocument. getObject(String classname, int nb)Get the object matching the given classname and given object numberObjectDocument. 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 nullObjectDocument. 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 valueObjectDocument. getObject(ObjectReference objectReference)ObjectDocument. getObject(ObjectReference objectReference, boolean create)ObjectXWiki. getObjectFromRequest(String className)API to create an object from the request The parameters are the ones that are created from doc.display("field","edit") callsObjectClass. newObject()ObjectDocument. newObject(String classname)Creates a New XWiki Object of the given classnameObjectDocument. updateObjectFromRequest(String className)ObjectDocument. 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 StringDocument. 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 macroStringDocument. display(String fieldname, String mode, Object obj)Displays the given field of the given object in the given mode.StringDocument. 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 macroStringDocument. display(String fieldname, String mode, String prefix, Object obj)Displays the given field of the given object in the given mode.StringDocument. displayPrettyName(String fieldname, boolean showMandatory, boolean before, Object obj)Displays the pretty name of the given field of the given object.StringDocument. displayPrettyName(String fieldname, boolean showMandatory, Object obj)Displays the pretty name of the given field of the given object.StringDocument. displayPrettyName(String fieldname, Object obj)Displays the pretty name of the given field of the given object.StringDocument. 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.ObjectDocument. getValue(String fieldName, Object object)booleanDocument. removeObject(Object object)Remove an XObject from the document.voidDocument. set(String fieldname, Object value, Object obj)voidDocument. 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 ObjectBaseObject. newObjectApi(BaseObject obj, XWikiContext context)
-