public class Object extends Collection
| Constructor and Description |
|---|
Object(BaseObject obj,
XWikiContext context) |
| Modifier and Type | Method and Description |
|---|---|
Object |
display(String name,
String mode) |
Object |
display(String name,
String mode,
boolean isolate) |
boolean |
equals(Object arg0) |
Object |
get(String name)
Display the passed field.
|
protected BaseObject |
getBaseObject() |
String |
getGuid() |
BaseObjectReference |
getReference() |
BaseObject |
getXWikiObject() |
void |
set(String fieldname,
Object value) |
void |
setGuid(String guid) |
getCollection, getName, getNumber, getPrettyName, getProperties, getProperty, getPropertyNames, getValue, getxWikiClassgetBaseElement, getDocumentReferenceconvert, convert, convert, convertAttachments, getAuthorizationManager, getContextualAuthorizationManager, getXWikiContext, hasAccess, hasAccessLevel, hasAdminRights, hasProgrammingRights, hasWikiAdminRightspublic Object(BaseObject obj, XWikiContext context)
protected BaseObject getBaseObject()
public BaseObject getXWikiObject()
public String getGuid()
public void setGuid(String guid)
public Object get(String name)
This method's name is misleading since it doesn't return the Object's property value; it"s equivalent to
display(String, String) (with type equals to the context action ("view" or "edit" usually). The
right method to get the field value is Collection.getValue(String).
public BaseObjectReference getReference()
getReference in class ElementCopyright © 2004–2021 XWiki. All rights reserved.