Modifier and Type | Method and Description |
---|---|
XWikiContext |
XWikiContext.clone() |
XWikiContext |
XWikiContextInitializer.initialize(org.xwiki.context.ExecutionContext econtext) |
Modifier and Type | Method and Description |
---|---|
String |
XWiki.addMandatory(XWikiContext context) |
String |
XWiki.addTooltip(String html,
String message,
String params,
XWikiContext context) |
String |
XWiki.addTooltip(String html,
String message,
XWikiContext context) |
String |
XWiki.addTooltipJS(XWikiContext context) |
protected void |
XWiki.addUserToGroup(String userName,
String groupName,
XWikiContext context) |
boolean |
XWiki.checkAccess(String action,
XWikiDocument doc,
XWikiContext context) |
int |
XWiki.checkActive(String user,
XWikiContext context)
Deprecated.
since 11.8RC1 prefer using
XWikiUser.isDisabled(XWikiContext) . |
int |
XWiki.checkActive(XWikiContext context)
Deprecated.
since 11.8RC1 prefer using
XWikiUser.isDisabled(XWikiContext) . |
XWikiUser |
XWiki.checkAuth(XWikiContext context) |
void |
XWiki.checkDeletingDocument(DocumentReference userReference,
XWikiDocument document,
XWikiContext context)
Check if the user is allowed to delete the document.
|
void |
XWiki.checkSavingDocument(DocumentReference userReference,
XWikiDocument document,
String comment,
boolean isMinorEdit,
XWikiContext context)
Check if the user is allowed to save the document.
|
void |
XWiki.checkSavingDocument(DocumentReference userReference,
XWikiDocument document,
String comment,
XWikiContext context)
Check if the user is allowed to save the document.
|
void |
XWiki.checkSavingDocument(DocumentReference userReference,
XWikiDocument document,
XWikiContext context)
Check if the user is allowed to save the document.
|
String |
XWiki.clearName(String name,
boolean stripDots,
boolean ascii,
XWikiContext context) |
String |
XWiki.clearName(String name,
XWikiContext context) |
String |
XWiki.convertUsername(String username,
XWikiContext context) |
boolean |
XWiki.copyDocument(DocumentReference sourceDocumentReference,
DocumentReference targetDocumentReference,
boolean reset,
boolean force,
boolean resetCreationData,
XWikiContext context) |
boolean |
XWiki.copyDocument(DocumentReference sourceDocumentReference,
DocumentReference targetDocumentReference,
boolean reset,
XWikiContext context) |
boolean |
XWiki.copyDocument(DocumentReference sourceDocumentReference,
DocumentReference targetDocumentReference,
String wikilocale,
boolean reset,
boolean force,
boolean resetCreationData,
XWikiContext context) |
boolean |
XWiki.copyDocument(DocumentReference sourceDocumentReference,
DocumentReference targetDocumentReference,
String wikilocale,
boolean reset,
boolean force,
XWikiContext context) |
boolean |
XWiki.copyDocument(DocumentReference sourceDocumentReference,
DocumentReference targetDocumentReference,
String wikilocale,
boolean reset,
XWikiContext context) |
boolean |
XWiki.copyDocument(DocumentReference sourceDocumentReference,
DocumentReference targetDocumentReference,
String wikilocale,
XWikiContext context) |
boolean |
XWiki.copyDocument(DocumentReference sourceDocumentReference,
DocumentReference targetDocumentReference,
XWikiContext context) |
int |
XWiki.copySpaceBetweenWikis(String space,
String sourceWiki,
String targetWiki,
String locale,
boolean clean,
XWikiContext context) |
int |
XWiki.copySpaceBetweenWikis(String space,
String sourceWiki,
String targetWiki,
String locale,
XWikiContext context) |
int |
XWiki.copyWiki(String sourceWiki,
String targetWiki,
String locale,
boolean clean,
XWikiContext context)
Deprecated.
since 5.3, use
WikiManager.copy(String, String, String, boolean, boolean, boolean) instead |
int |
XWiki.copyWiki(String sourceWiki,
String targetWiki,
String locale,
XWikiContext context)
Deprecated.
since 5.3, use
WikiManager.copy(String, String, String, boolean, boolean, boolean) instead |
int |
XWiki.countAttachments(String parametrizedSqlClause,
List<?> parameterValues,
XWikiContext context)
Count attachments returned by a given parameterized query
|
protected Object |
XWiki.createClassFromConfig(String param,
String defClass,
XWikiContext context) |
boolean |
XWiki.createEmptyUser(String xwikiname,
String userRights,
XWikiContext context)
Method allows to create an empty user with no password (he won't be able to login) This method is usefull for
authentication like LDAP or App Server trusted
|
int |
XWiki.createUser(boolean withValidation,
String userRights,
XWikiContext context) |
int |
XWiki.createUser(String userName,
Map<String,?> map,
EntityReference parentReference,
String content,
org.xwiki.rendering.syntax.Syntax syntax,
String userRights,
XWikiContext context)
Create a new user.
|
int |
XWiki.createUser(String userName,
Map<String,?> map,
String parent,
String content,
String syntaxId,
String userRights,
XWikiContext context)
Deprecated.
since 2.4RC1 use
XWiki.createUser(String, Map, EntityReference, String, Syntax, String, XWikiContext) instead |
int |
XWiki.createUser(String xwikiname,
Map<String,?> map,
String parent,
String content,
String userRights,
XWikiContext context)
Deprecated.
starting with XE 1.8.1 use
XWiki.createUser(String, Map, String, String, String, String, XWikiContext) instead |
int |
XWiki.createUser(String userName,
Map<String,?> map,
String userRights,
XWikiContext context)
Create a new user.
|
int |
XWiki.createUser(String userName,
Map<String,?> map,
XWikiContext context)
Create a new user.
|
int |
XWiki.createUser(XWikiContext context) |
void |
XWiki.deleteAllDocuments(XWikiDocument doc,
boolean toTrash,
XWikiContext context) |
void |
XWiki.deleteAllDocuments(XWikiDocument doc,
XWikiContext context) |
void |
XWiki.deleteDocument(XWikiDocument doc,
boolean totrash,
XWikiContext context) |
void |
XWiki.deleteDocument(XWikiDocument doc,
XWikiContext context) |
void |
XWiki.deleteDocumentVersions(XWikiDocument document,
String version1,
String version2,
XWikiContext context)
Delete a range of versions from a document history.
|
String |
XWiki.evaluateTemplate(String template,
XWikiContext context)
Deprecated.
since 7.0M1, use
TemplateManager.render(String) instead |
boolean |
XWiki.exists(DocumentReference documentReference,
XWikiContext context) |
boolean |
XWiki.exists(PageReference reference,
XWikiContext context)
Returns whether a page exists or not.
|
boolean |
XWiki.exists(String fullname,
XWikiContext context)
Deprecated.
since 2.2.1 use
XWiki.exists(DocumentReference, XWikiContext) |
void |
XWiki.flushCache(XWikiContext context) |
String |
XWiki.formatDate(Date date,
String format,
XWikiContext context) |
String |
XWiki.getAdClientId(XWikiContext context) |
String |
XWiki.getAdType(XWikiContext context) |
String |
XWiki.getAttachmentRevisionURL(AttachmentReference attachmentReference,
String revision,
String queryString,
XWikiContext context) |
String |
XWiki.getAttachmentURL(AttachmentReference attachmentReference,
String action,
String queryString,
XWikiContext context) |
String |
XWiki.getAttachmentURL(AttachmentReference attachmentReference,
String queryString,
XWikiContext context) |
String |
XWiki.getAttachmentURL(String fullname,
String filename,
String queryString,
XWikiContext context) |
String |
XWiki.getAttachmentURL(String fullname,
String filename,
XWikiContext context) |
List<Locale> |
XWiki.getAvailableLocales(XWikiContext xcontext)
Get the available locales according to the preferences.
|
String |
XWiki.getBaseSkin(String skin,
XWikiContext context)
Deprecated.
since 7.0M1, use
SkinManager.getCurrentSkin(boolean) and Skin.getParent() instead |
String |
XWiki.getBaseSkin(XWikiContext context)
Deprecated.
since 7.0M1
|
String |
XWiki.getBaseSkin(XWikiContext context,
boolean fromRenderSkin)
Deprecated.
since 7.0M1
|
BaseClass |
XWiki.getClass(String fullName,
XWikiContext context)
Deprecated.
since 2.2M2 use
XWiki.getXClass(DocumentReference, XWikiContext) |
List<String> |
XWiki.getClassList(XWikiContext context) |
BaseClass |
XWiki.getCommentsClass(XWikiContext context) |
String |
XWiki.getConvertingUserNameType(XWikiContext context) |
XWikiCriteriaService |
XWiki.getCriteriaService(XWikiContext context) |
String |
XWiki.getCurrentContentSyntaxId(String defaultSyntaxId,
XWikiContext context)
Get the syntax of the content currently being executed.
|
String |
XWiki.getCurrentContentSyntaxId(XWikiContext context)
Get the syntax of the content currently being executed.
|
String |
XWiki.getDefaultBaseSkin(XWikiContext context)
Deprecated.
since 7.0M1, use
SkinManager.getDefaultParentSkin() instead |
String |
XWiki.getDefaultLanguage(XWikiContext xcontext)
Deprecated.
since 5.1M2 use
XWiki.getDefaultLocale(XWikiContext) instead |
Locale |
XWiki.getDefaultLocale(XWikiContext xcontext)
The default locale in the preferences.
|
String |
XWiki.getDefaultPage(XWikiContext context) |
String |
XWiki.getDefaultSpace(XWikiContext context) |
DeletedAttachment |
XWiki.getDeletedAttachment(String id,
XWikiContext context)
Retrieve a specific attachment from the trash.
|
List<DeletedAttachment> |
XWiki.getDeletedAttachments(String docName,
String filename,
XWikiContext context)
Retrieve all the deleted attachments that belonged to a certain document and had the specified name.
|
List<DeletedAttachment> |
XWiki.getDeletedAttachments(String docName,
XWikiContext context)
Retrieve all the deleted attachments that belonged to a certain document.
|
XWikiDeletedDocument |
XWiki.getDeletedDocument(long index,
XWikiContext context) |
XWikiDeletedDocument |
XWiki.getDeletedDocument(String fullname,
String locale,
int index,
XWikiContext context)
Deprecated.
since 9.4RC1. Use
XWiki.getDeletedDocument(long, XWikiContext) instead. |
XWikiDeletedDocument[] |
XWiki.getDeletedDocuments(String fullname,
String locale,
XWikiContext context) |
XWikiDeletedDocument[] |
XWiki.getDeletedDocuments(String batchId,
XWikiContext context) |
String |
XWiki.getDocLanguagePreferenceNew(XWikiContext context)
Deprecated.
since 8.0M1, use
XWiki.getDocLocalePreferenceNew(XWikiContext) instead |
Locale |
XWiki.getDocLocalePreferenceNew(XWikiContext context) |
XWikiDocument |
XWiki.getDocument(DocumentReference reference,
String revision,
XWikiContext context)
Deprecated.
sine 9.10RC1, use
DocumentRevisionProvider.getRevision(DocumentReference, String) instead |
XWikiDocument |
XWiki.getDocument(DocumentReference reference,
XWikiContext context) |
XWikiDocument |
XWiki.getDocument(EntityReference reference,
XWikiContext context)
Loads a XWikiDocument from the store.
|
XWikiDocument |
XWiki.getDocument(PageReference reference,
XWikiContext context) |
XWikiDocument |
XWiki.getDocument(String reference,
EntityType type,
XWikiContext xcontext)
Loads a XWikiDocument from the store.
|
XWikiDocument |
XWiki.getDocument(String spaces,
String fullname,
XWikiContext context)
Deprecated.
since 2.2M1 use
XWiki.getDocument(DocumentReference, XWikiContext) instead |
XWikiDocument |
XWiki.getDocument(String fullname,
XWikiContext context)
Deprecated.
since 2.2M1 use
XWiki.getDocument(DocumentReference, XWikiContext) instead |
XWikiDocument |
XWiki.getDocument(XWikiDocument document,
String revision,
XWikiContext context)
Deprecated.
sine 9.10RC1, use
DocumentRevisionProvider.getRevision(XWikiDocument, String) instead |
XWikiDocument |
XWiki.getDocument(XWikiDocument doc,
XWikiContext context) |
DocumentReference |
XWiki.getDocumentReference(EntityReference reference,
XWikiContext context)
Find the document reference corresponding to the entity reference based on what exist in the database (page
reference can means two different documents for example).
|
DocumentReference |
XWiki.getDocumentReference(XWikiRequest request,
XWikiContext context) |
BaseClass |
XWiki.getEditModeClass(XWikiContext context)
Verify if the
XWiki.EditModeClass page exists and that it contains all the required configuration
properties to make the edit mode feature work properly. |
String |
XWiki.getEditorPreference(XWikiContext context) |
String |
XWiki.getExternalAttachmentURL(String fullName,
String filename,
XWikiContext context) |
String |
XWiki.getExternalURL(DocumentReference documentReference,
String action,
String querystring,
String anchor,
XWikiContext context)
Get the full URL of the given
DocumentReference . |
String |
XWiki.getExternalURL(String fullname,
String action,
String querystring,
XWikiContext context) |
String |
XWiki.getExternalURL(String fullname,
String action,
XWikiContext context) |
BaseClass |
XWiki.getGlobalRightsClass(XWikiContext context) |
BaseClass |
XWiki.getGroupClass(XWikiContext context) |
XWikiGroupService |
XWiki.getGroupService(XWikiContext context) |
int |
XWiki.getHttpTimeout(XWikiContext context) |
String |
XWiki.getHttpUserAgent(XWikiContext context) |
String |
XWiki.getIconURL(String iconName,
XWikiContext context) |
List<String> |
XWiki.getIncludedMacros(String defaultSpace,
String content,
XWikiContext context) |
String |
XWiki.getInterfaceLanguagePreference(XWikiContext context)
Deprecated.
since 8.0M1, use
XWiki.getInterfaceLocalePreference(XWikiContext) instead |
Locale |
XWiki.getInterfaceLocalePreference(XWikiContext context) |
String |
XWiki.getLanguagePreference(XWikiContext context)
Deprecated.
since 8.0M1, use
XWiki.getLocalePreference(XWikiContext) instead |
Locale |
XWiki.getLocalePreference(XWikiContext context)
The algorithm to find the locale to use is the following, in this order:
Try to find the current locale in use from the XWiki contex
If the wiki is not multilingual use the wiki default locale (
default_language xproperty in
XWikiPreferences xobject or English if not found)
If the wiki is multilingual
Try to get the locale passed in the request (looking for a language query string parameter). |
String |
XWiki.getLocalUserName(String user,
String format,
boolean link,
XWikiContext context) |
String |
XWiki.getLocalUserName(String user,
String format,
XWikiContext context) |
String |
XWiki.getLocalUserName(String user,
XWikiContext context) |
String |
XWiki.getMacroList(XWikiContext context) |
static XWiki |
XWiki.getMainXWiki(boolean wait,
XWikiContext context) |
static XWiki |
XWiki.getMainXWiki(XWikiContext context) |
int |
XWiki.getMaxRecursiveSpaceChecks(XWikiContext context) |
BaseObject |
XWiki.getObjectFromRequest(String className,
XWikiContext context) |
String |
XWiki.getPlainUserName(DocumentReference userReference,
XWikiContext context)
Generate and return an unescaped user display name.
|
XWikiPluginInterface |
XWiki.getPlugin(String name,
XWikiContext context)
Deprecated.
|
Api |
XWiki.getPluginApi(String name,
XWikiContext context)
Deprecated.
|
BaseClass |
XWiki.getPrefsClass(XWikiContext context)
Verify if the
XWiki.XWikiPreferences page exists and that it contains all the required configuration
properties to make XWiki work properly. |
PropertyClass |
XWiki.getPropertyClassFromName(String propPath,
XWikiContext context) |
BaseClass |
XWiki.getRedirectClass(XWikiContext context)
Verify if the
XWiki.GlobalRedirect page exists and that it contains all the required configuration
properties to make the redirection feature work properly. |
String |
XWiki.getRefererText(String referer,
XWikiContext context) |
BaseClass |
XWiki.getRightsClass(String pagename,
XWikiContext context) |
BaseClass |
XWiki.getRightsClass(XWikiContext context) |
URL |
XWiki.getServerURL(String wikiId,
XWikiContext xcontext) |
String |
XWiki.getServletPath(String wikiName,
XWikiContext context) |
BaseClass |
XWiki.getSheetClass(XWikiContext context)
Deprecated.
since 3.1M2 edit mode class should be used for this purpose, not the sheet class
|
String |
XWiki.getSkin(XWikiContext context)
Deprecated.
since 7.0M1, use
SkinManager.getCurrentSkin(boolean) instead |
BaseClass |
XWiki.getSkinClass(XWikiContext context) |
String |
XWiki.getSkinFile(String filename,
boolean forceSkinAction,
XWikiContext context)
Build and return a skin file url based on the given parameters.
|
String |
XWiki.getSkinFile(String fileName,
String skinId,
boolean forceSkinAction,
XWikiContext context) |
String |
XWiki.getSkinFile(String filename,
String skin,
XWikiContext context) |
String |
XWiki.getSkinFile(String filename,
XWikiContext context) |
String |
XWiki.getSkinPreference(String prefname,
String defaultValue,
XWikiContext context) |
String |
XWiki.getSkinPreference(String prefname,
XWikiContext context) |
String |
XWiki.getSpaceCopyright(XWikiContext context) |
List<String> |
XWiki.getSpaceDocsName(String spaceReference,
XWikiContext context)
Deprecated.
use query service instead
|
String |
XWiki.getSpacePreference(String preferenceKey,
SpaceReference spaceReference,
String defaultValue,
XWikiContext context)
Get the preference key for the space and fallback on parent space or wiki in case nothing is found.
|
String |
XWiki.getSpacePreference(String preferenceKey,
SpaceReference spaceReference,
XWikiContext context)
Get the reference of the space and fallback on parent space or wiki in case nothing is found.
|
String |
XWiki.getSpacePreference(String preference,
String space,
String defaultValue,
XWikiContext context)
Deprecated.
since 7.4M1, use
XWiki.getSpacePreference(String, SpaceReference, String, XWikiContext) instead |
String |
XWiki.getSpacePreference(String preference,
String defaultValue,
XWikiContext context) |
String |
XWiki.getSpacePreference(String preference,
XWikiContext context) |
int |
XWiki.getSpacePreferenceAsInt(String preference,
int defaultValue,
XWikiContext context) |
int |
XWiki.getSpacePreferenceAsInt(String preference,
XWikiContext context) |
long |
XWiki.getSpacePreferenceAsLong(String preference,
long defaultValue,
XWikiContext context) |
long |
XWiki.getSpacePreferenceAsLong(String preference,
XWikiContext context) |
List<String> |
XWiki.getSpaces(XWikiContext context)
Deprecated.
use query service instead
|
XWikiStatsService |
XWiki.getStatsService(XWikiContext context) |
BaseClass |
XWiki.getTagClass(XWikiContext context)
Verify if the
XWiki.TagClass page exists and that it contains all the required configuration
properties to make the tag feature work properly. |
static String |
XWiki.getTextArea(String content,
XWikiContext context) |
String |
XWiki.getUniquePageName(String space,
String name,
XWikiContext context) |
String |
XWiki.getUniquePageName(String space,
XWikiContext context) |
String |
XWiki.getURL(DocumentReference documentReference,
String action,
String queryString,
String anchor,
XWikiContext context) |
String |
XWiki.getURL(DocumentReference reference,
String action,
XWikiContext context) |
String |
XWiki.getURL(EntityReference entityReference,
String action,
String queryString,
String anchor,
XWikiContext context) |
String |
XWiki.getURL(EntityReference reference,
String action,
XWikiContext context) |
String |
XWiki.getURL(EntityReference reference,
XWikiContext context) |
String |
XWiki.getURL(String fullname,
String action,
String queryString,
String anchor,
XWikiContext context)
Deprecated.
|
String |
XWiki.getURL(String fullname,
String action,
String querystring,
XWikiContext context) |
String |
XWiki.getURL(String fullname,
String action,
XWikiContext context)
Deprecated.
since 2.3M2 use
XWiki.getURL(DocumentReference, String, XWikiContext) |
String |
XWiki.getURLContent(String surl,
String username,
String password,
XWikiContext context) |
String |
XWiki.getURLContent(String surl,
XWikiContext context) |
byte[] |
XWiki.getURLContentAsBytes(String surl,
String username,
String password,
XWikiContext context) |
byte[] |
XWiki.getURLContentAsBytes(String surl,
XWikiContext context) |
User |
XWiki.getUser(DocumentReference userReference,
XWikiContext context)
Retrieve a user from its document reference.
|
User |
XWiki.getUser(String username,
XWikiContext context)
Deprecated.
since 11.8RC1 prefer using
XWiki.getUser(DocumentReference, XWikiContext) . |
User |
XWiki.getUser(XWikiContext context) |
BaseClass |
XWiki.getUserClass(XWikiContext context)
Verify if the
XWiki.XWikiUsers page exists and that it contains all the required configuration
properties to make the user feature work properly. |
String |
XWiki.getUserName(DocumentReference userReference,
String format,
boolean link,
boolean escapeXML,
XWikiContext context)
Generate a display user name and return it.
|
String |
XWiki.getUserName(String user,
String format,
boolean link,
XWikiContext context) |
String |
XWiki.getUserName(String user,
String format,
XWikiContext context) |
String |
XWiki.getUserName(String user,
XWikiContext context) |
String |
XWiki.getUserPreference(String prefname,
boolean useCookie,
XWikiContext context) |
String |
XWiki.getUserPreference(String prefname,
XWikiContext context) |
int |
XWiki.getUserPreferenceAsInt(String prefname,
XWikiContext context) |
long |
XWiki.getUserPreferenceAsLong(String preference,
XWikiContext context) |
String |
XWiki.getUserPreferenceFromCookie(String prefname,
XWikiContext context) |
String |
XWiki.getUserTimeZone(XWikiContext context) |
List<String> |
XWiki.getVirtualWikisDatabaseNames(XWikiContext context)
Deprecated.
since 5.3, use
WikiDescriptorManager.getAllIds() instead |
String |
XWiki.getWebAppPath(XWikiContext context) |
String |
XWiki.getWikiOwner(String wikiName,
XWikiContext context)
Get the reference of the owner for the provider wiki.
|
String |
XWiki.getWysiwygToolbars(XWikiContext context) |
BaseClass |
XWiki.getXClass(DocumentReference documentReference,
XWikiContext context) |
static XWiki |
XWiki.getXWiki(boolean wait,
XWikiContext xcontext)
Return the XWiki object (as in "the Wiki API") corresponding to the requested wiki.
|
static XWiki |
XWiki.getXWiki(XWikiContext context)
Return the XWiki object (as in "the Wiki API") corresponding to the requested wiki.
|
String |
XWiki.getXWikiPreference(String prefname,
String wiki,
String fallbackParam,
String defaultValue,
XWikiContext xcontext)
Obtain a preference value for the wiki, looking up first in the XWiki.XWikiPreferences document, then fallbacking
on a config parameter when the first lookup gives an empty string, then returning the default value if the config
parameter returned itself an empty string.
|
String |
XWiki.getXWikiPreference(String prefname,
String fallbackParam,
String defaultValue,
XWikiContext context)
Obtain a preference value for the wiki, looking up first in the XWiki.XWikiPreferences document, then fallbacking
on a config parameter when the first lookup gives an empty string, then returning the default value if the config
parameter returned itself an empty string.
|
String |
XWiki.getXWikiPreference(String prefname,
String defaultValue,
XWikiContext context) |
String |
XWiki.getXWikiPreference(String prefname,
XWikiContext context) |
int |
XWiki.getXWikiPreferenceAsInt(String preference,
int defaultValue,
XWikiContext context) |
int |
XWiki.getXWikiPreferenceAsInt(String preference,
String fallbackParameter,
int defaultValue,
XWikiContext context) |
int |
XWiki.getXWikiPreferenceAsInt(String preference,
XWikiContext context) |
long |
XWiki.getXWikiPreferenceAsLong(String preference,
long defaultValue,
XWikiContext context) |
long |
XWiki.getXWikiPreferenceAsLong(String preference,
String fallbackParameter,
long defaultValue,
XWikiContext context) |
long |
XWiki.getXWikiPreferenceAsLong(String preference,
XWikiContext context) |
ZipOutputStream |
XWiki.getZipOutputStream(XWikiContext context) |
boolean |
XWiki.hasAttachmentRecycleBin(XWikiContext context)
Indicates whether deleted attachments are stored in a recycle bin or not.
|
boolean |
XWiki.hasAttachmentVersioning(XWikiContext context) |
boolean |
XWiki.hasBacklinks(XWikiContext context) |
boolean |
XWiki.hasCentralizedAuthentication(XWikiContext context) |
boolean |
XWiki.hasEditComment(XWikiContext context) |
boolean |
XWiki.hasMinorEdit(XWikiContext context) |
boolean |
XWiki.hasRecycleBin(XWikiContext context) |
boolean |
XWiki.hasSectionEdit(XWikiContext context) |
boolean |
XWiki.hasTags(XWikiContext context) |
boolean |
XWiki.hasVersioning(XWikiContext context) |
String |
XWiki.include(String topic,
boolean isForm,
XWikiContext context) |
void |
XWiki.initializeMandatoryDocuments(XWikiContext context)
Ensure that mandatory classes (ie classes XWiki needs to work properly) exist and create them if they don't
exist.
|
boolean |
XWiki.initializeWiki(String wikiId,
boolean wait,
XWikiContext xcontext)
Make sure the wiki is initializing or wait for it.
|
void |
XWiki.initXWiki(XWikiConfig config,
XWikiContext context,
XWikiEngineContext engineContext,
boolean noupdate)
Deprecated.
since 6.1M2, use
XWiki.initXWiki(XWikiContext, XWikiEngineContext, boolean) instead |
void |
XWiki.initXWiki(XWikiContext context,
XWikiEngineContext engineContext,
boolean noupdate)
Initialize all xwiki subsystems.
|
boolean |
XWiki.isEditCommentFieldHidden(XWikiContext context) |
boolean |
XWiki.isEditCommentMandatory(XWikiContext context) |
boolean |
XWiki.isEditCommentSuggested(XWikiContext context) |
static boolean |
XWiki.isInitializing(XWikiContext xcontext) |
boolean |
XWiki.isMultiLingual(XWikiContext context) |
String |
XWiki.ParamAsRealPath(String key,
XWikiContext context) |
String |
XWiki.parseContent(String content,
XWikiContext context)
Deprecated.
Since 7.2M1. Use specific rendering/parsing options for the content type you want to parse/render.
|
Object |
XWiki.parseGroovyFromPage(String fullName,
String jarWikiPage,
XWikiContext context) |
Object |
XWiki.parseGroovyFromPage(String fullName,
XWikiContext context) |
Object |
XWiki.parseGroovyFromString(String script,
String jarWikiPage,
XWikiContext xcontext)
Privileged API to retrieve an object instantiated from groovy code in a String, using a classloader including all
JAR files located in the passed page as attachments.
|
Object |
XWiki.parseGroovyFromString(String script,
XWikiContext xcontext)
Privileged API to retrieve an object instantiated from groovy code in a String.
|
String |
XWiki.parseTemplate(String template,
String skinId,
XWikiContext context)
Deprecated.
since 7.0M1, use
TemplateManager.renderFromSkin(java.lang.String, org.xwiki.skin.Skin) instead |
String |
XWiki.parseTemplate(String template,
XWikiContext context)
Deprecated.
use
XWiki.evaluateTemplate(String, XWikiContext) instead |
boolean |
XWiki.prepareDocuments(XWikiRequest request,
XWikiContext context,
org.apache.velocity.VelocityContext vcontext) |
void |
XWiki.prepareResources(XWikiContext context)
Prepares the localized resources, according to the selected locale.
|
void |
XWiki.protectUserPage(String userName,
String userRights,
XWikiDocument doc,
XWikiContext context) |
void |
XWiki.refreshLinks(XWikiContext context) |
void |
XWiki.renameByCopyAndDelete(XWikiDocument sourceDoc,
DocumentReference newDocumentReference,
List<DocumentReference> backlinkDocumentReferences,
List<DocumentReference> childDocumentReferences,
XWikiContext context)
Deprecated.
Old implementation of the rename by copy and delete. Since 12.5 the implementation using
XWikiStoreInterface.renameXWikiDoc(XWikiDocument, DocumentReference, XWikiContext) should be preferred. |
boolean |
XWiki.renameDocument(DocumentReference sourceDocumentReference,
DocumentReference targetDocumentReference,
boolean overwrite,
List<DocumentReference> backlinkDocumentReferences,
List<DocumentReference> childDocumentReferences,
XWikiContext context)
API to rename a document to another document.
|
String |
XWiki.renderTemplate(String template,
String skin,
XWikiContext context) |
String |
XWiki.renderTemplate(String template,
XWikiContext context) |
void |
XWiki.restoreFromRecycleBin(long index,
String comment,
XWikiContext context)
Restore a document with passed index from recycle bin.
|
void |
XWiki.restoreFromRecycleBin(XWikiDocument doc,
long index,
String comment,
XWikiContext context)
Deprecated.
since 9.4RC1. Use
XWiki.restoreFromRecycleBin(long, String, XWikiContext) instead. |
void |
XWiki.restoreFromRecycleBin(XWikiDocument doc,
String comment,
XWikiContext context)
Restore a document with passed index from recycle bin.
|
XWikiDocument |
XWiki.rollback(XWikiDocument tdoc,
String rev,
boolean addRevision,
XWikiContext xcontext) |
XWikiDocument |
XWiki.rollback(XWikiDocument tdoc,
String rev,
XWikiContext context) |
void |
XWiki.saveDocument(XWikiDocument document,
String comment,
boolean isMinorEdit,
XWikiContext context)
Save the passed document in the store.
|
void |
XWiki.saveDocument(XWikiDocument doc,
String comment,
XWikiContext context) |
void |
XWiki.saveDocument(XWikiDocument doc,
XWikiContext context) |
<T> List<T> |
XWiki.search(String sql,
int nb,
int start,
Object[][] whereParams,
XWikiContext context) |
<T> List<T> |
XWiki.search(String sql,
int nb,
int start,
XWikiContext context) |
<T> List<T> |
XWiki.search(String sql,
Object[][] whereParams,
XWikiContext context) |
<T> List<T> |
XWiki.search(String sql,
XWikiContext context) |
List<XWikiAttachment> |
XWiki.searchAttachments(String parametrizedSqlClause,
boolean checkRight,
int nb,
int start,
List<?> parameterValues,
XWikiContext context)
Deprecated.
since 9.7RC1, use the QueryManager instead along with the "attachment" query filter
|
void |
XWiki.sendConfirmationEmail(String xwikiname,
String password,
String email,
String message,
String contentfield,
XWikiContext context) |
void |
XWiki.sendValidationEmail(String xwikiname,
String password,
String email,
String addfieldname,
String addfieldvalue,
String contentfield,
XWikiContext context) |
void |
XWiki.sendValidationEmail(String xwikiname,
String password,
String email,
String validkey,
String contentfield,
XWikiContext context) |
void |
XWiki.setPhonyDocument(DocumentReference reference,
XWikiContext context) |
void |
XWiki.setPhonyDocument(DocumentReference reference,
XWikiContext context,
org.apache.velocity.VelocityContext vcontext)
Deprecated.
since 8.3M1, use
XWiki.setPhonyDocument(DocumentReference, XWikiContext) instead |
void |
XWiki.setPhonyDocument(String docName,
XWikiContext context,
org.apache.velocity.VelocityContext vcontext)
Deprecated.
|
void |
XWiki.setUserDefaultGroup(String fullwikiname,
XWikiContext context) |
boolean |
XWiki.showViewAction(XWikiContext context) |
void |
XWiki.updateDatabase(String wikiId,
boolean force,
boolean initDocuments,
XWikiContext context)
Deprecated.
since 8.4RC1, use
XWiki.initializeWiki(String, boolean, XWikiContext) instead |
void |
XWiki.updateDatabase(String wikiId,
boolean force,
XWikiContext context)
Deprecated.
since 8.4RC1, use
XWiki.initializeWiki(String, boolean, XWikiContext) instead |
void |
XWiki.updateDatabase(String wikiId,
XWikiContext context)
Deprecated.
since 8.4RC1, use
XWiki.initializeWiki(String, boolean, XWikiContext) instead |
boolean |
XWiki.useDefaultAction(XWikiContext context) |
boolean |
XWiki.validateDocument(XWikiDocument doc,
XWikiContext context) |
int |
XWiki.validateUser(boolean withConfirmEmail,
XWikiContext context) |
Constructor and Description |
---|
XWiki(InputStream is,
XWikiContext context,
XWikiEngineContext engine_context)
Deprecated.
use
XWiki(XWikiContext, XWikiEngineContext, boolean) instead |
XWiki(String xwikicfgpath,
XWikiContext context)
Deprecated.
use
XWiki(XWikiContext) instead |
XWiki(String xwikicfgpath,
XWikiContext context,
XWikiEngineContext engine_context,
boolean noupdate)
Deprecated.
use
XWiki(XWikiContext, XWikiEngineContext, boolean) instead |
XWiki(XWikiConfig config,
XWikiContext context)
Deprecated.
since 6.1M3, use
XWiki(XWikiContext) instead |
XWiki(XWikiConfig config,
XWikiContext context,
XWikiEngineContext engine_context,
boolean noupdate)
Deprecated.
since 6.1M3, use
XWiki(XWikiContext, XWikiEngineContext, boolean) instead |
XWiki(XWikiContext context)
Initialize all xwiki subsystems.
|
XWiki(XWikiContext context,
XWikiEngineContext engineContext,
boolean noupdate)
Initialize all xwiki subsystems.
|
Modifier and Type | Field and Description |
---|---|
protected XWikiContext |
Api.context
The current context, needed by the underlying protected object.
|
Modifier and Type | Method and Description |
---|---|
XWikiContext |
Context.getContext()
Returns the XWiki context.
|
protected XWikiContext |
Api.getXWikiContext()
Note 1: This method is protected so that users of this API do not get to see the XWikiContext object which should
not be exposed.
|
Constructor and Description |
---|
Api(XWikiContext context) |
Attachment(Document doc,
XWikiAttachment attachment,
XWikiContext context) |
AttachmentDiff(AttachmentDiff diff,
XWikiContext context)
Wraps the given unsafe attachment difference.
|
Class(BaseClass obj,
XWikiContext context) |
Collection(BaseCollection collection,
XWikiContext context) |
Context(XWikiContext context)
The Constructor.
|
CriteriaService(XWikiContext context) |
DeletedAttachment(DeletedAttachment deletedAttachment,
XWikiContext context)
Simple constructor, initializes a new API object with the current
context and
the specified protected deleted attachment object. |
DeletedDocument(XWikiDeletedDocument deletedDoc,
XWikiContext context)
Simple constructor, initializes a new API object with the current
context and
the specified protected deleted document object. |
DeprecatedContext(XWikiContext context)
Deprecated.
The Constructor.
|
Document(XWikiDocument doc,
XWikiContext context)
Document constructor.
|
Element(BaseElement element,
XWikiContext context)
The Constructor.
|
Object(BaseObject obj,
XWikiContext context) |
Property(BaseProperty property,
XWikiContext context)
The Constructor.
|
PropertyClass(PropertyClass property,
XWikiContext context)
Default API constructor that creates a wrapper for a
PropertyClass , given a
context . |
RevisionInfo(XWikiRCSNodeInfo nodeInfo,
XWikiContext context) |
StatsService(XWikiContext context)
Create new StatsService instance.
|
User(XWikiUser user,
XWikiContext context)
Constructs a wrapper for the given protected XWikiUser object.
|
Util(XWiki xwiki,
XWikiContext context)
|
XWiki(XWiki xwiki,
XWikiContext context)
XWiki API Constructor
|
Constructor and Description |
---|
XWikiCriteriaServiceImpl(XWikiContext context) |
Modifier and Type | Method and Description |
---|---|
XWikiAttachment |
XWikiDocument.addAttachment(String fileName,
byte[] content,
XWikiContext context)
Deprecated.
|
XWikiAttachment |
XWikiDocument.addAttachment(String fileName,
InputStream content,
XWikiContext context)
Deprecated.
since 9.10RC1, use
XWikiDocument.setAttachment(String, InputStream, XWikiContext) instead |
BaseObject |
XWikiDocument.addObjectFromRequest(String className,
int num,
XWikiContext context)
Deprecated.
|
BaseObject |
XWikiDocument.addObjectFromRequest(String className,
String prefix,
int num,
XWikiContext context)
Deprecated.
|
BaseObject |
XWikiDocument.addObjectFromRequest(String className,
String prefix,
XWikiContext context)
Deprecated.
|
BaseObject |
XWikiDocument.addObjectFromRequest(String className,
XWikiContext context)
Deprecated.
|
List<BaseObject> |
XWikiDocument.addObjectsFromRequest(String className,
String pref,
XWikiContext context)
Deprecated.
|
List<BaseObject> |
XWikiDocument.addObjectsFromRequest(String className,
XWikiContext context)
Deprecated.
|
void |
XWikiDocument.addToZip(ZipOutputStream zos,
boolean withVersions,
XWikiContext context)
Deprecated.
since 4.2M2
|
void |
XWikiDocument.addToZip(ZipOutputStream zos,
String zipname,
boolean withVersions,
XWikiContext context)
Deprecated.
since 4.1M2
|
void |
XWikiDocument.addToZip(ZipOutputStream zos,
XWikiContext context)
Deprecated.
since 4.1M2
|
BaseObject |
XWikiDocument.addXObjectFromRequest(DocumentReference classReference,
int num,
XWikiContext context)
Adds object from an new object creation form.
|
BaseObject |
XWikiDocument.addXObjectFromRequest(DocumentReference classReference,
String prefix,
XWikiContext context)
Adds an object from an new object creation form.
|
BaseObject |
XWikiDocument.addXObjectFromRequest(EntityReference classReference,
String prefix,
int num,
XWikiContext context)
Adds object from an new object creation form.
|
BaseObject |
XWikiDocument.addXObjectFromRequest(EntityReference classReference,
XWikiContext context)
Adds an object from an new object creation form.
|
BaseObject |
XWikiDocument.addXObjectFromRequest(XWikiContext context)
Adds an object from an new object creation form.
|
List<BaseObject> |
XWikiDocument.addXObjectsFromRequest(DocumentReference classReference,
String pref,
XWikiContext context)
Adds multiple objects from an new objects creation form.
|
List<BaseObject> |
XWikiDocument.addXObjectsFromRequest(DocumentReference classReference,
XWikiContext context)
Adds multiple objects from an new objects creation form.
|
static void |
XWikiDocument.backupContext(Map<String,Object> backup,
XWikiContext context) |
XWikiDocumentArchive |
XWikiDocumentArchive.clone(long docId,
XWikiContext context) |
XWikiDocument |
XWikiDocument.cloneRename(DocumentReference newDocumentReference,
XWikiContext context)
Clone a document and change its reference.
|
boolean |
XWikiAttachment.contentExists(XWikiContext xcontext) |
void |
XWikiDocument.convertSyntax(String targetSyntaxId,
XWikiContext context)
Convert the current document content from its current syntax to the new syntax passed as parameter.
|
void |
XWikiDocument.convertSyntax(org.xwiki.rendering.syntax.Syntax targetSyntax,
XWikiContext context)
Convert the current document content from its current syntax to the new syntax passed as parameter.
|
XWikiDocument |
XWikiDocument.copyDocument(DocumentReference newDocumentReference,
XWikiContext context) |
XWikiDocument |
XWikiDocument.copyDocument(String newDocumentName,
XWikiContext context)
Deprecated.
since 2.2M1 use
XWikiDocument.copyDocument(DocumentReference, XWikiContext) instead |
int |
XWikiDocument.createNewObject(String className,
XWikiContext context)
Deprecated.
since 2.2M1 use
XWikiDocument.createXObject(EntityReference, XWikiContext) instead |
int |
XWikiDocument.createXObject(EntityReference classReference,
XWikiContext context)
Create and add a new object to the document with the provided class.
|
String |
XWikiDocument.display(String fieldname,
BaseObject obj,
XWikiContext context) |
String |
XWikiDocument.display(String fieldname,
String type,
BaseObject obj,
boolean isolated,
XWikiContext context) |
String |
XWikiDocument.display(String fieldname,
String type,
BaseObject obj,
String wrappingSyntaxId,
XWikiContext context) |
String |
XWikiDocument.display(String fieldname,
String type,
BaseObject obj,
XWikiContext context) |
String |
XWikiDocument.display(String fieldname,
String type,
String pref,
BaseObject obj,
boolean isolated,
XWikiContext context) |
String |
XWikiDocument.display(String fieldname,
String type,
String pref,
BaseObject obj,
String wrappingSyntaxId,
boolean isolated,
XWikiContext context) |
String |
XWikiDocument.display(String fieldname,
String type,
String pref,
BaseObject obj,
String wrappingSyntaxId,
XWikiContext context) |
String |
XWikiDocument.display(String fieldname,
String type,
String pref,
BaseObject obj,
XWikiContext context) |
String |
XWikiDocument.display(String fieldname,
String mode,
String prefix,
XWikiContext context) |
String |
XWikiDocument.display(String fieldname,
String mode,
XWikiContext context) |
String |
XWikiDocument.display(String fieldname,
XWikiContext context) |
String |
XWikiDocument.displayDocument(boolean restricted,
XWikiContext context)
Execute and render the current document in the current context.
|
String |
XWikiDocument.displayDocument(org.xwiki.rendering.syntax.Syntax targetSyntax,
boolean restricted,
XWikiContext context)
Execute and render the current document in the current context.
|
String |
XWikiDocument.displayDocument(org.xwiki.rendering.syntax.Syntax targetSyntax,
XWikiContext context)
Execute and render the current document in the current context.
|
String |
XWikiDocument.displayDocument(XWikiContext context)
Execute and render the current document in the current context.
|
String |
XWikiDocument.displayEdit(PropertyClass pclass,
String prefix,
BaseCollection object,
XWikiContext context) |
String |
XWikiDocument.displayForm(DocumentReference classReference,
String header,
String format,
boolean linebreak,
XWikiContext context) |
String |
XWikiDocument.displayForm(DocumentReference classReference,
String header,
String format,
XWikiContext context) |
String |
XWikiDocument.displayForm(DocumentReference classReference,
XWikiContext context) |
String |
XWikiDocument.displayForm(String className,
String header,
String format,
boolean linebreak,
XWikiContext context)
Deprecated.
since 2.2M1, use
XWikiDocument.displayForm(DocumentReference, String, String, boolean, XWikiContext)
instead |
String |
XWikiDocument.displayForm(String className,
String header,
String format,
XWikiContext context)
Deprecated.
since 2.2M1, use
XWikiDocument.displayForm(DocumentReference, String, String, XWikiContext) instead |
String |
XWikiDocument.displayForm(String className,
XWikiContext context)
Deprecated.
since 2.2M1, use
XWikiDocument.displayForm(DocumentReference, XWikiContext) instead |
String |
XWikiDocument.displayHidden(PropertyClass pclass,
String prefix,
BaseCollection object,
XWikiContext context) |
String |
XWikiDocument.displayPrettyName(String fieldname,
BaseObject obj,
XWikiContext context) |
String |
XWikiDocument.displayPrettyName(String fieldname,
boolean showMandatory,
BaseObject obj,
XWikiContext context) |
String |
XWikiDocument.displayPrettyName(String fieldname,
boolean showMandatory,
boolean before,
BaseObject obj,
XWikiContext context) |
String |
XWikiDocument.displayPrettyName(String fieldname,
boolean showMandatory,
boolean before,
XWikiContext context) |
String |
XWikiDocument.displayPrettyName(String fieldname,
boolean showMandatory,
XWikiContext context) |
String |
XWikiDocument.displayPrettyName(String fieldname,
XWikiContext context) |
String |
XWikiDocument.displayRendered(PropertyClass pclass,
String prefix,
BaseCollection object,
XWikiContext context) |
String |
XWikiDocument.displayTooltip(String fieldname,
BaseObject obj,
XWikiContext context) |
String |
XWikiDocument.displayTooltip(String fieldname,
XWikiContext context) |
String |
XWikiDocument.displayView(PropertyClass pclass,
String prefix,
BaseCollection object,
XWikiContext context) |
boolean |
XWikiAttachment.equalsData(XWikiAttachment otherAttachment,
XWikiContext xcontext) |
byte[] |
XWikiAttachmentArchive.getArchive(XWikiContext context)
Get the archive, loading it from the database if necessary.
|
String |
XWikiDocumentArchive.getArchive(XWikiContext context) |
String |
XWikiAttachmentArchive.getArchiveAsString(XWikiContext context)
Get the archive, loading it from the database if necessary.
|
XWikiAttachmentArchive |
XWikiAttachment.getAttachmentArchive(XWikiContext xcontext) |
XWikiAttachmentContent |
XWikiAttachment.getAttachmentContent(XWikiContext xcontext) |
List<AttachmentDiff> |
XWikiDocument.getAttachmentDiff(XWikiDocument fromDoc,
XWikiDocument toDoc,
XWikiContext context) |
XWikiAttachment |
XWikiAttachment.getAttachmentRevision(String rev,
XWikiContext context) |
String |
XWikiDocument.getAttachmentRevisionURL(String filename,
String revision,
String querystring,
XWikiContext context) |
String |
XWikiDocument.getAttachmentRevisionURL(String filename,
String revision,
XWikiContext context) |
XWikiAttachmentStoreInterface |
XWikiDocument.getAttachmentStore(XWikiContext context)
Deprecated.
since 9.9RC1, use
XWiki.getDefaultAttachmentContentStore() instead |
String |
XWikiDocument.getAttachmentURL(String filename,
String action,
String querystring,
XWikiContext context) |
String |
XWikiDocument.getAttachmentURL(String filename,
String action,
XWikiContext context) |
String |
XWikiDocument.getAttachmentURL(String filename,
XWikiContext context) |
List<String> |
XWikiDocument.getBackLinkedPages(XWikiContext context)
Deprecated.
since 2.2M2 use
XWikiDocument.getBackLinkedReferences(XWikiContext) |
List<DocumentReference> |
XWikiDocument.getBackLinkedReferences(XWikiContext context)
Get the wiki document references pointing to this document.
|
List<String> |
XWikiDocument.getChildren(int nb,
int start,
XWikiContext context)
Deprecated.
since 2.2M2 use
XWikiDocument.getChildrenReferences(XWikiContext) |
List<String> |
XWikiDocument.getChildren(XWikiContext context)
Deprecated.
since 2.2M2 use
XWikiDocument.getChildrenReferences(XWikiContext) |
List<DocumentReference> |
XWikiDocument.getChildrenReferences(int nb,
int start,
XWikiContext context)
Returns a list of references of all documents which list this document as their parent, in the current wiki.
|
List<DocumentReference> |
XWikiDocument.getChildrenReferences(XWikiContext context)
Returns a list of references of all documents which list this document as their parent, in the current wiki.
|
List<List<ObjectDiff>> |
XWikiDocument.getClassDiff(XWikiDocument fromDoc,
XWikiDocument toDoc,
XWikiContext context) |
byte[] |
XWikiAttachment.getContent(XWikiContext xcontext)
Deprecated.
|
List<org.suigeneris.jrcs.diff.delta.Delta> |
XWikiDocument.getContentDiff(String fromRev,
String toRev,
XWikiContext context) |
List<org.suigeneris.jrcs.diff.delta.Delta> |
XWikiDocument.getContentDiff(String fromRev,
XWikiContext context) |
List<org.suigeneris.jrcs.diff.delta.Delta> |
XWikiDocument.getContentDiff(XWikiDocument fromDoc,
XWikiDocument toDoc,
XWikiContext context) |
InputStream |
XWikiAttachment.getContentInputStream(XWikiContext xcontext)
Retrieve the content of this attachment as an input stream.
|
long |
XWikiAttachment.getContentLongSize(XWikiContext context) |
int |
XWikiAttachment.getContentSize(XWikiContext context)
Deprecated.
since 9.0RC1, use
XWikiAttachment.getContentLongSize(XWikiContext) instead |
String |
XWikiDocument.getDefaultEditMode(XWikiContext context)
Gets the default edit mode for this document.
|
String |
XWikiDocument.getDefaultEditURL(XWikiContext context) |
XWikiDocumentArchive |
XWikiDocument.getDocumentArchive(XWikiContext context) |
XWikiDocumentArchive |
LazyXWikiDocument.getDocumentArchive(XWikiContext context) |
String |
XWikiDocument.getEditURL(String action,
String mode,
String language,
XWikiContext context) |
String |
XWikiDocument.getEditURL(String action,
String mode,
XWikiContext context) |
String |
XWikiDocument.getEscapedContent(XWikiContext context) |
String |
XWikiDocument.getExternalAttachmentURL(String filename,
String action,
XWikiContext context) |
String |
XWikiDocument.getExternalURL(String action,
String querystring,
XWikiContext context) |
String |
XWikiDocument.getExternalURL(String action,
XWikiContext context) |
BaseObject |
XWikiDocument.getFirstObject(String fieldname,
XWikiContext context) |
List<String> |
XWikiDocument.getIncludedMacros(XWikiContext context) |
List<String> |
XWikiDocument.getIncludedPages(XWikiContext context) |
static String |
XWikiDocument.getInternalPropertyName(String propname,
XWikiContext context) |
List<org.suigeneris.jrcs.diff.delta.Delta> |
XWikiDocument.getLastChanges(XWikiContext context) |
XWikiLock |
XWikiDocument.getLock(XWikiContext context) |
List<MetaDataDiff> |
XWikiDocument.getMetaDataDiff(String fromRev,
String toRev,
XWikiContext context) |
List<MetaDataDiff> |
XWikiDocument.getMetaDataDiff(String fromRev,
XWikiContext context) |
List<MetaDataDiff> |
XWikiDocument.getMetaDataDiff(XWikiDocument fromDoc,
XWikiDocument toDoc,
XWikiContext context) |
String |
XWikiAttachment.getMimeType(XWikiContext xcontext)
Return the stored media type.
|
BaseObject |
XWikiDocument.getObject(String className,
boolean create,
XWikiContext context)
Deprecated.
|
List<List<ObjectDiff>> |
XWikiDocument.getObjectDiff(String fromRev,
String toRev,
XWikiContext context) |
List<List<ObjectDiff>> |
XWikiDocument.getObjectDiff(String fromRev,
XWikiContext context) |
List<List<ObjectDiff>> |
XWikiDocument.getObjectDiff(XWikiDocument fromDoc,
XWikiDocument toDoc,
XWikiContext context)
Return the object differences between two document versions.
|
String |
XWikiDocument.getParentURL(XWikiContext context) |
String |
XWikiDocument.getRealLanguage(XWikiContext context)
Deprecated.
since 4.3M1 use
XWikiDocument.getRealLocale() instead |
String[] |
XWikiDocument.getRecentRevisions(int nb,
XWikiContext context) |
String |
XWikiDocument.getRenderedContent(boolean transformationContextIsolated,
XWikiContext context) |
String |
XWikiDocument.getRenderedContent(String text,
String syntaxId,
boolean restrictedTransformationContext,
XWikiContext context) |
String |
XWikiDocument.getRenderedContent(String text,
String syntaxId,
boolean restrictedTransformationContext,
XWikiDocument sDocument,
XWikiContext context) |
String |
XWikiDocument.getRenderedContent(String text,
String sourceSyntaxId,
String targetSyntaxId,
boolean restrictedTransformationContext,
XWikiContext context) |
String |
XWikiDocument.getRenderedContent(String text,
String sourceSyntaxId,
String targetSyntaxId,
boolean restrictedTransformationContext,
XWikiDocument sDocument,
XWikiContext context) |
String |
XWikiDocument.getRenderedContent(String text,
String sourceSyntaxId,
String targetSyntaxId,
XWikiContext context) |
String |
XWikiDocument.getRenderedContent(String text,
String syntaxId,
XWikiContext context) |
String |
XWikiDocument.getRenderedContent(String text,
org.xwiki.rendering.syntax.Syntax sourceSyntaxId,
org.xwiki.rendering.syntax.Syntax targetSyntaxId,
boolean restrictedTransformationContext,
XWikiDocument sDocument,
boolean isolated,
XWikiContext context) |
String |
XWikiDocument.getRenderedContent(String text,
org.xwiki.rendering.syntax.Syntax sourceSyntaxId,
XWikiDocument sDocument,
boolean isolated,
XWikiContext context) |
String |
XWikiDocument.getRenderedContent(org.xwiki.rendering.syntax.Syntax targetSyntax,
boolean transformationContextIsolated,
XWikiContext context)
Execute and render the document or its translation in the current context.
|
String |
XWikiDocument.getRenderedContent(org.xwiki.rendering.syntax.Syntax targetSyntax,
XWikiContext context) |
String |
XWikiDocument.getRenderedContent(XWikiContext context) |
List<org.suigeneris.jrcs.diff.delta.Delta> |
XWikiDocument.getRenderedContentDiff(String fromRev,
String toRev,
XWikiContext context) |
List<org.suigeneris.jrcs.diff.delta.Delta> |
XWikiDocument.getRenderedContentDiff(String fromRev,
XWikiContext context) |
List<org.suigeneris.jrcs.diff.delta.Delta> |
XWikiDocument.getRenderedContentDiff(XWikiDocument fromDoc,
XWikiDocument toDoc,
XWikiContext context) |
String |
XWikiDocument.getRenderedTitle(org.xwiki.rendering.syntax.Syntax outputSyntax,
XWikiContext context)
Get the rendered version of the document title.
|
String |
XWikiDocument.getRenderedTitle(XWikiContext context)
Similar to
XWikiDocument.getRenderedTitle(Syntax, XWikiContext) but the output Syntax used is XHTML 1.0 unless the
current skin defines another output Syntax in which case it's the one used. |
XWikiAttachment |
XWikiAttachmentArchive.getRevision(XWikiAttachment attachment,
String rev,
XWikiContext context)
Get an old revision of the attachment which this is an archive of.
|
XWikiRCSNodeInfo |
XWikiDocument.getRevisionInfo(String version,
XWikiContext context) |
List<String> |
XWikiDocument.getRevisions(RevisionCriteria criteria,
XWikiContext context)
Get document versions matching criterias like author, minimum creation date, etc.
|
org.suigeneris.jrcs.rcs.Version[] |
XWikiDocument.getRevisions(XWikiContext context) |
XWikiStoreInterface |
XWikiDocument.getStore(XWikiContext context) |
XWikiStoreInterface |
LazyXWikiDocument.getStore(XWikiContext context) |
String |
XWikiDocument.getTags(XWikiContext context) |
String |
LazyXWikiDocument.getTags(XWikiContext context) |
List<String> |
XWikiDocument.getTagsList(XWikiContext context) |
List<String> |
XWikiDocument.getTagsPossibleValues(XWikiContext context) |
List<String> |
LazyXWikiDocument.getTagsPossibleValues(XWikiContext context) |
String |
XWikiDocument.getTranslatedContent(String locale,
XWikiContext context) |
String |
XWikiDocument.getTranslatedContent(XWikiContext context) |
XWikiDocument |
XWikiDocument.getTranslatedDocument(Locale locale,
XWikiContext context)
Return the document in the provided language.
|
XWikiDocument |
XWikiDocument.getTranslatedDocument(String language,
XWikiContext context)
Deprecated.
since 4.3M2 use
XWikiDocument.getTranslatedDocument(Locale, XWikiContext) insead |
XWikiDocument |
XWikiDocument.getTranslatedDocument(XWikiContext context) |
List<String> |
XWikiDocument.getTranslationList(XWikiContext context)
Deprecated.
since 5.1M2 use
XWikiDocument.getTranslationLocales(XWikiContext) instead |
List<Locale> |
XWikiDocument.getTranslationLocales(XWikiContext context)
The locales of the translation of this document (the default locale is not included).
|
Set<String> |
XWikiDocument.getUniqueLinkedPages(XWikiContext context)
Extract all the unique static (i.e.
|
Set<XWikiLink> |
XWikiDocument.getUniqueWikiLinkedPages(XWikiContext context)
Get a list of unique links from this document to others documents.
|
String |
XWikiDocument.getURL(String action,
boolean redirect,
XWikiContext context) |
String |
XWikiDocument.getURL(String action,
String params,
boolean redirect,
XWikiContext context) |
String |
XWikiDocument.getURL(String action,
String querystring,
String anchor,
XWikiContext context) |
String |
XWikiDocument.getURL(String action,
String querystring,
XWikiContext context) |
String |
XWikiDocument.getURL(String action,
XWikiContext context) |
String |
XWikiDocument.getVersionHashCode(XWikiContext context)
Computes a document hash, taking into account all document data: content, objects, attachments, metadata...
|
XWikiVersioningStoreInterface |
XWikiDocument.getVersioningStore(XWikiContext context) |
String |
XWikiDocumentArchive.getVersionXml(org.suigeneris.jrcs.rcs.Version version,
XWikiContext context)
Return the XML corresponding to a version.
|
List<BaseClass> |
XWikiDocument.getXClasses(XWikiContext context) |
String |
XWikiDocument.getXMLContent(XWikiContext context)
Retrieve the document in the current context language as an XML string.
|
List<org.suigeneris.jrcs.diff.delta.Delta> |
XWikiDocument.getXMLDiff(XWikiDocument fromDoc,
XWikiDocument toDoc,
XWikiContext context) |
BaseObject |
XWikiDocument.getXObject(DocumentReference classReference,
boolean create,
XWikiContext context) |
BaseObject |
XWikiDocument.getXObject(EntityReference classReference,
boolean create,
XWikiContext context) |
BaseObject |
XWikiDocument.getXObject(EntityReference classReference,
int number,
boolean create,
XWikiContext xcontext)
Get an xobject with the passed xclass at the passed location.
|
void |
XWikiDocument.insertText(String text,
String marker,
XWikiContext context) |
boolean |
XWikiDocument.isCurrentLocalUserPage(XWikiContext context) |
boolean |
XWikiDocument.isCurrentUserCreator(XWikiContext context) |
boolean |
XWikiDocument.isCurrentUserPage(XWikiContext context) |
boolean |
XWikiAttachment.isImage(XWikiContext context) |
XWikiAttachmentArchive |
XWikiAttachment.loadArchive(XWikiContext xcontext) |
void |
XWikiDocument.loadArchive(XWikiContext context) |
void |
LazyXWikiDocument.loadArchive(XWikiContext context) |
void |
XWikiDocument.loadAttachmentContent(XWikiAttachment attachment,
XWikiContext context)
Deprecated.
since 9.9RC1, use
XWikiAttachment.loadContent(XWikiContext) |
void |
XWikiAttachment.loadAttachmentContent(XWikiContext xcontext) |
void |
XWikiDocument.loadAttachments(XWikiContext context) |
void |
XWikiDocument.loadAttachmentsContent(XWikiContext context)
Load attachment content from database.
|
void |
XWikiDocument.loadAttachmentsContentSafe(XWikiContext context)
Same as
XWikiDocument.loadAttachmentContent(XWikiAttachment, XWikiContext) but in some context we don't really care if
an attachment content could not be loaded (we are going to overwrite or ignore it). |
void |
XWikiAttachment.loadContent(XWikiContext xcontext)
Deprecated.
since 9.11RC1, use
XWikiAttachment.loadAttachmentContent(XWikiContext) instead |
XWikiDocument |
XWikiDocumentArchive.loadDocument(org.suigeneris.jrcs.rcs.Version version,
XWikiContext context) |
protected XWikiRCSNodeContent |
XWikiDocumentArchive.makePatch(XWikiRCSNodeInfo newnode,
XWikiDocument doc,
XWikiContext context)
Make a patch.
|
void |
XWikiAttachment.merge(XWikiAttachment previousAttachment,
XWikiAttachment nextAttachment,
MergeConfiguration configuration,
XWikiContext xcontext,
MergeResult mergeResult) |
MergeResult |
XWikiDocument.merge(XWikiDocument previousDocument,
XWikiDocument newDocument,
MergeConfiguration configuration,
XWikiContext context)
Deprecated.
|
Document |
XWikiDocument.newDocument(Class<?> customClass,
XWikiContext context)
Create a new protected
Document public API to access page information and actions from
scripting. |
Document |
XWikiDocument.newDocument(String customClassName,
XWikiContext context)
Create a new protected
Document public API to access page information and actions from
scripting. |
Document |
XWikiDocument.newDocument(XWikiContext context) |
BaseObject |
XWikiDocument.newObject(String className,
XWikiContext context)
Deprecated.
since 2.2M2 use
XWikiDocument.newXObject(EntityReference, XWikiContext) |
BaseObject |
XWikiDocument.newXObject(EntityReference classReference,
XWikiContext context)
Create, add and return a new object with the provided class.
|
void |
XWikiDocument.readDocMetaFromForm(EditForm eform,
XWikiContext context) |
void |
XWikiDocument.readFromForm(EditForm eform,
XWikiContext context) |
void |
XWikiDocument.readFromTemplate(DocumentReference templateDocumentReference,
XWikiContext context) |
void |
XWikiDocument.readFromTemplate(EditForm eform,
XWikiContext context) |
void |
XWikiDocument.readFromTemplate(String template,
XWikiContext context)
Deprecated.
since 2.2M1 use
XWikiDocument.readFromTemplate(DocumentReference, XWikiContext) instead |
void |
XWikiDocument.readObjectsFromForm(EditForm eform,
XWikiContext context) |
void |
XWikiDocument.readObjectsFromFormUpdateOrCreate(EditForm eform,
XWikiContext context)
Create and/or update objects in a document given a list of HTTP parameters of the form
<spacename>.<classname>_<number>_<propertyname> . |
void |
XWikiDocument.readTranslationMetaFromForm(EditForm eform,
XWikiContext context) |
void |
XWikiDocument.removeLock(XWikiContext context) |
void |
XWikiDocumentArchive.removeVersions(org.suigeneris.jrcs.rcs.Version newerVersion,
org.suigeneris.jrcs.rcs.Version olderVersion,
XWikiContext context)
Remove document versions from vfrom to vto, inclusive.
|
void |
XWikiDocument.rename(DocumentReference newDocumentReference,
List<DocumentReference> backlinkDocumentReferences,
List<DocumentReference> childDocumentReferences,
XWikiContext context)
Deprecated.
Since 12.5RC1 prefer using
XWiki.renameDocument(DocumentReference, DocumentReference, boolean, List, List, XWikiContext) . |
void |
XWikiDocument.rename(DocumentReference newDocumentReference,
List<DocumentReference> backlinkDocumentReferences,
XWikiContext context)
Deprecated.
Since 12.5RC1 prefer using
XWiki.renameDocument(DocumentReference, DocumentReference, boolean, List, List, XWikiContext) . |
void |
XWikiDocument.rename(DocumentReference newDocumentReference,
XWikiContext context)
Deprecated.
Since 12.5RC1 prefer using
XWiki.renameDocument(DocumentReference, DocumentReference, boolean, List, List, XWikiContext) . |
void |
XWikiDocument.resetArchive(XWikiContext context) |
void |
XWikiAttachment.resetMimeType(XWikiContext xcontext)
Extract the mime type from the file name and content and remember it to be stored.
|
XWikiAttachment |
DeletedAttachment.restoreAttachment(XWikiAttachment attachment,
XWikiContext context)
Deprecated.
since 9.9RC1, use
DeletedAttachment.restoreAttachment(XWikiAttachment) instead |
static void |
XWikiDocument.restoreContext(Map<String,Object> backup,
XWikiContext context) |
XWikiDocument |
XWikiDeletedDocument.restoreDocument(XWikiContext context) |
XWikiDocument |
XWikiDeletedDocument.restoreDocument(XWikiDocument doc,
XWikiContext context) |
void |
XWikiDocument.saveAllAttachments(boolean updateParent,
boolean transaction,
XWikiContext context)
Deprecated.
should not be used, save the document instead
|
void |
XWikiDocument.saveAllAttachments(XWikiContext context)
Deprecated.
should not be used, save the document instead
|
void |
XWikiDocument.saveAttachmentContent(XWikiAttachment attachment,
boolean updateParent,
boolean transaction,
XWikiContext context)
Deprecated.
should not be used, save the document instead
|
void |
XWikiDocument.saveAttachmentContent(XWikiAttachment attachment,
XWikiContext context)
Deprecated.
should not be used, save the document instead
|
void |
XWikiDocument.saveAttachmentsContent(List<XWikiAttachment> attachments,
XWikiContext context)
Deprecated.
should not be used, save the document instead
|
void |
XWikiDocument.setAsContextDoc(XWikiContext context) |
XWikiAttachment |
XWikiDocument.setAttachment(String fileName,
InputStream content,
XWikiContext context)
Create or update attachment with the passed name with the passed content.
|
protected void |
DeletedAttachment.setAttachment(XWikiAttachment attachment,
XWikiContext context)
Deprecated.
since 9.9RC1, use
DeletedAttachment(long, String, String, String, String, Date, DeletedAttachmentContent)
instead |
protected void |
XWikiDeletedDocument.setDocument(XWikiDocument doc,
XWikiContext context)
Deprecated.
since 9.0RC1, use
instead |
void |
XWikiDocument.setFullName(String fullName,
XWikiContext context)
Deprecated.
since 2.2M1 use
XWikiDocument.setDocumentReference(org.xwiki.model.reference.DocumentReference) instead |
void |
XWikiDocument.setLock(String userName,
XWikiContext context) |
void |
XWikiDocument.setTags(String tagsStr,
XWikiContext context)
add tags to the document.
|
String |
XWikiDocument.toFullXML(XWikiContext context)
Retrieve the document as an XML string.
|
String |
XWikiAttachment.toStringXML(boolean bWithAttachmentContent,
boolean bWithVersions,
XWikiContext context)
Retrieve an attachment as an XML string.
|
String |
XWikiDocument.toXML(boolean bWithObjects,
boolean bWithRendering,
boolean bWithAttachmentContent,
boolean bWithVersions,
XWikiContext context)
Serialize the document to an XML string.
|
org.dom4j.Element |
XWikiAttachment.toXML(boolean bWithAttachmentContent,
boolean bWithVersions,
XWikiContext context)
Retrieve XML representation of attachment's metadata into an
Element . |
void |
XWikiDocument.toXML(OutputStream out,
boolean bWithObjects,
boolean bWithRendering,
boolean bWithAttachmentContent,
boolean bWithVersions,
XWikiContext context)
Serialize the document to an OutputStream.
|
void |
XWikiAttachment.toXML(org.xwiki.filter.output.OutputTarget out,
boolean bWithAttachmentContent,
boolean bWithVersions,
boolean format,
XWikiContext context)
Write an XML representation of the attachment into an
XMLWriter |
void |
XWikiDocument.toXML(com.xpn.xwiki.internal.xml.XMLWriter wr,
boolean bWithObjects,
boolean bWithRendering,
boolean bWithAttachmentContent,
boolean bWithVersions,
XWikiContext context)
Deprecated.
since 9.0RC1, use
XWikiDocument.toXML(OutputTarget, boolean, boolean, boolean, boolean, boolean, String)
instead |
void |
XWikiAttachment.toXML(com.xpn.xwiki.internal.xml.XMLWriter wr,
boolean bWithAttachmentContent,
boolean bWithVersions,
XWikiContext context)
Write an XML representation of the attachment into an
XMLWriter |
org.dom4j.Element |
XWikiAttachment.toXML(XWikiContext context)
Retrieve XML representation of attachment's metadata into an
Element . |
String |
XWikiDocument.toXML(XWikiContext context)
Retrieve the document as an XML string.
|
org.dom4j.Document |
XWikiDocument.toXMLDocument(boolean bWithObjects,
boolean bWithRendering,
boolean bWithAttachmentContent,
boolean bWithVersions,
XWikiContext context)
Deprecated.
since 9.0RC1, use
XWikiDocument.toXML(OutputTarget, boolean, boolean, boolean, boolean, boolean, String)
instead |
org.dom4j.Document |
LazyXWikiDocument.toXMLDocument(boolean bWithObjects,
boolean bWithRendering,
boolean bWithAttachmentContent,
boolean bWithVersions,
XWikiContext context) |
org.dom4j.Document |
XWikiDocument.toXMLDocument(XWikiContext context)
Deprecated.
since 9.0RC1, use
XWikiDocument.toXML(OutputTarget, boolean, boolean, boolean, boolean, boolean, String)
instead |
void |
XWikiAttachmentArchive.updateArchive(byte[] data,
XWikiContext context)
Deprecated.
since 7.1M1, use
XWikiAttachmentArchive.updateArchive(XWikiContext) instead |
void |
XWikiAttachmentArchive.updateArchive(XWikiContext context)
Update the archive.
|
void |
XWikiDocumentArchive.updateArchive(XWikiDocument doc,
String author,
Date date,
String comment,
org.suigeneris.jrcs.rcs.Version version,
XWikiContext context)
Update history with new document version.
|
void |
XWikiAttachment.updateContentArchive(XWikiContext context) |
BaseObject |
XWikiDocument.updateObjectFromRequest(String className,
String prefix,
int num,
XWikiContext context)
Deprecated.
|
BaseObject |
XWikiDocument.updateObjectFromRequest(String className,
String prefix,
XWikiContext context)
Deprecated.
|
BaseObject |
XWikiDocument.updateObjectFromRequest(String className,
XWikiContext context)
Deprecated.
|
List<BaseObject> |
XWikiDocument.updateObjectsFromRequest(String className,
String pref,
XWikiContext context)
Deprecated.
|
List<BaseObject> |
XWikiDocument.updateObjectsFromRequest(String className,
XWikiContext context)
Deprecated.
|
BaseObject |
XWikiDocument.updateXObjectFromRequest(EntityReference classReference,
String prefix,
int num,
XWikiContext context)
Adds an object from an new object creation form.
|
BaseObject |
XWikiDocument.updateXObjectFromRequest(EntityReference classReference,
String prefix,
XWikiContext context)
Adds an object from an new object creation form.
|
BaseObject |
XWikiDocument.updateXObjectFromRequest(EntityReference classReference,
XWikiContext context)
Adds an object from an new object creation form.
|
List<BaseObject> |
XWikiDocument.updateXObjectsFromRequest(EntityReference classReference,
String pref,
XWikiContext context)
Adds multiple objects from an new objects creation form.
|
List<BaseObject> |
XWikiDocument.updateXObjectsFromRequest(EntityReference classReference,
XWikiContext context)
Adds an object from an new object creation form.
|
boolean |
XWikiDocument.validate(String[] classNames,
XWikiContext context) |
boolean |
XWikiDocument.validate(XWikiContext context) |
Constructor and Description |
---|
DeletedAttachment(XWikiAttachment attachment,
String deleter,
Date deleteDate,
XWikiContext context)
A constructor with all the information about the deleted attachment.
|
XWikiDeletedDocument(XWikiDocument doc,
String deleter,
Date deleteDate,
XWikiContext context) |
Modifier and Type | Method and Description |
---|---|
XWikiRCSNodeContent |
XWikiRCSNodeInfo.getContent(XWikiContext context) |
XWikiPatch |
XWikiPatch.setDiffVersion(String originalVersionXml,
XWikiDocument newVersion,
XWikiContext context)
Create history patch between originalVersion and newVersion as difference on the XML export of the two versions.
|
XWikiPatch |
XWikiPatch.setDiffVersion(XWikiDocument originalVersion,
XWikiDocument newVersion,
XWikiContext context)
Create history patch between originalVersion and newVersion as difference on the XML export of the two versions.
|
XWikiPatch |
XWikiPatch.setFullVersion(XWikiDocument version,
XWikiContext context)
Store the XML export of the document as the history patch; this will be a history milestone.
|
Constructor and Description |
---|
XWikiRCSArchive(Collection<XWikiRCSNodeInfo> nodeInfos,
XWikiContext context)
Used to serialize
XWikiDocumentArchive . |
Modifier and Type | Method and Description |
---|---|
void |
HtmlPackager.export(XWikiContext context)
Apply export and create the ZIP package.
|
Modifier and Type | Method and Description |
---|---|
static void |
JobRequestContext.set(org.xwiki.job.AbstractRequest request,
XWikiContext xcontext)
Deprecated.
Register part of the
XWikiContext in the job request. |
Constructor and Description |
---|
JobRequestContext(XWikiContext xcontext)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
MonitorPlugin.init(XWikiContext context) |
void |
MonitorPlugin.reset(XWikiContext context) |
Constructor and Description |
---|
MonitorPlugin(String name,
String className,
XWikiContext context) |
Modifier and Type | Method and Description |
---|---|
protected XWikiContext |
BaseElement.getXWikiContext()
Get XWiki context from execution context.
|
Modifier and Type | Method and Description |
---|---|
void |
BaseObject.displayEdit(StringBuffer buffer,
String name,
String prefix,
XWikiContext context) |
String |
BaseObject.displayEdit(String name,
String prefix,
XWikiContext context) |
String |
BaseObject.displayEdit(String name,
XWikiContext context) |
void |
BaseObject.displayHidden(StringBuffer buffer,
String name,
String prefix,
XWikiContext context) |
String |
BaseObject.displayHidden(String name,
String prefix,
XWikiContext context) |
String |
BaseObject.displayHidden(String name,
XWikiContext context) |
void |
BaseObject.displayView(StringBuffer buffer,
String name,
String prefix,
XWikiContext context) |
String |
BaseObject.displayView(String name,
String prefix,
XWikiContext context) |
String |
BaseObject.displayView(String name,
XWikiContext context) |
List<ObjectDiff> |
BaseCollection.getDiff(Object oldObject,
XWikiContext context) |
List<ObjectDiff> |
BaseObject.getDiff(Object oldEntity,
XWikiContext context) |
PropertyClass |
BaseProperty.getPropertyClass(XWikiContext xcontext) |
BaseClass |
BaseCollection.getXClass(XWikiContext context) |
BaseClass |
ObjectInterface.getXClass(XWikiContext context) |
void |
ElementInterface.merge(ElementInterface previousElement,
ElementInterface newElement,
MergeConfiguration configuration,
XWikiContext context,
MergeResult mergeResult)
Apply a 3 ways merge on the current element based on provided previous and new version of the element.
|
void |
BaseElement.merge(ElementInterface previousElement,
ElementInterface newElement,
MergeConfiguration configuration,
XWikiContext context,
MergeResult mergeResult) |
void |
BaseCollection.merge(ElementInterface previousElement,
ElementInterface newElement,
MergeConfiguration configuration,
XWikiContext context,
MergeResult mergeResult) |
void |
BaseProperty.merge(ElementInterface previousElement,
ElementInterface newElement,
MergeConfiguration configuration,
XWikiContext context,
MergeResult mergeResult) |
protected void |
BaseCollection.mergeField(PropertyInterface currentElement,
ElementInterface previousElement,
ElementInterface newElement,
MergeConfiguration configuration,
XWikiContext context,
MergeResult mergeResult) |
protected void |
BaseObject.mergeField(PropertyInterface currentElement,
ElementInterface previousElement,
ElementInterface newElement,
MergeConfiguration configuration,
XWikiContext context,
MergeResult mergeResult) |
Object |
BaseObject.newObjectApi(BaseObject obj,
XWikiContext context) |
void |
BaseObject.set(String fieldname,
Object value,
XWikiContext context) |
Modifier and Type | Method and Description |
---|---|
protected void |
DBTreeListClass.addToSelect(org.apache.ecs.xhtml.select select,
List<String> selectlist,
Map<String,ListItem> map,
Map<String,List<ListItem>> treemap,
String parent,
String level,
XWikiContext context) |
protected void |
DBTreeListClass.addToTreeList(List<ListItem> treelist,
Map<String,List<ListItem>> treemap,
Map<String,ListItem> map,
String parent,
XWikiContext context) |
void |
BooleanClass.displayCheckboxEdit(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context) |
void |
PropertyClass.displayCustom(StringBuffer buffer,
String fieldName,
String prefix,
String type,
BaseObject object,
XWikiContext context) |
String |
PropertyClass.displayEdit(String name,
BaseCollection object,
XWikiContext context) |
void |
NumberClass.displayEdit(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context) |
void |
TextAreaClass.displayEdit(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context) |
void |
DBListClass.displayEdit(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context) |
void |
StaticListClass.displayEdit(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context) |
void |
PropertyClass.displayEdit(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context) |
void |
PasswordClass.displayEdit(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context) |
void |
BooleanClass.displayEdit(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context) |
void |
ComputedFieldClass.displayEdit(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context) |
void |
ListClass.displayEdit(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context) |
void |
StringClass.displayEdit(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context) |
void |
DBTreeListClass.displayEdit(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context) |
void |
LevelsClass.displayEdit(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context) |
void |
PropertyClassInterface.displayEdit(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context) |
String |
PropertyClass.displayEdit(String name,
String prefix,
BaseCollection object,
XWikiContext context) |
String |
PropertyClass.displayHidden(String name,
BaseCollection object,
XWikiContext context) |
void |
PropertyClass.displayHidden(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context) |
void |
PasswordClass.displayHidden(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context) |
void |
ComputedFieldClass.displayHidden(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context) |
void |
ListClass.displayHidden(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context) |
void |
PropertyClassInterface.displayHidden(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context) |
String |
PropertyClass.displayHidden(String name,
String prefix,
BaseCollection object,
XWikiContext context) |
void |
BooleanClass.displayRadioEdit(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context) |
protected void |
ListClass.displayRadioEdit(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context) |
void |
BooleanClass.displaySelectEdit(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context) |
protected void |
ListClass.displaySelectEdit(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context) |
protected void |
DBTreeListClass.displayTreeSelectEdit(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context) |
String |
PropertyClass.displayView(String name,
BaseCollection object,
XWikiContext context) |
void |
TextAreaClass.displayView(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
boolean isolated,
XWikiContext context) |
default void |
PropertyClassInterface.displayView(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
boolean isolated,
XWikiContext context) |
void |
TextAreaClass.displayView(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context) |
void |
DBListClass.displayView(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context) |
void |
PropertyClass.displayView(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context) |
void |
PasswordClass.displayView(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context) |
void |
BooleanClass.displayView(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context) |
void |
ComputedFieldClass.displayView(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context) |
void |
ListClass.displayView(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context) |
void |
StringClass.displayView(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context) |
void |
DBTreeListClass.displayView(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context) |
void |
PropertyClassInterface.displayView(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context) |
String |
PropertyClass.displayView(String name,
String prefix,
BaseCollection object,
XWikiContext context) |
BaseCollection |
BaseClass.fromMap(Map<String,?> map,
XWikiContext context)
Deprecated.
|
List<ListItem> |
DBListClass.getCachedDBList(XWikiContext context) |
protected List<ListItem> |
DBTreeListClass.getCachedDBTreeList(XWikiContext context)
Get the ordered list of tree nodes that is currently cached, if any.
|
protected String |
PropertyClass.getCachedDefaultCustomDisplayer(XWikiContext context)
Returns the current cached default custom displayer for the PropertyClass.
|
String |
ComputedFieldClass.getComputedValue(String name,
String prefix,
BaseCollection object,
XWikiContext context)
Computes and returns the raw value of this property for a given object.
|
List<String> |
BaseClass.getCustomMappingPropertyList(XWikiContext context) |
List<ListItem> |
DBListClass.getDBList(XWikiContext context) |
protected String |
PropertyClass.getDefaultCustomDisplayer(String propertyClassName,
XWikiContext context)
Method to find the default custom displayer to use for a specific Property Class.
|
List<ObjectDiff> |
BaseClass.getDiff(Object oldObject,
XWikiContext context) |
protected String |
ListClass.getDisplayValue(Object rawvalue,
String name,
Map<String,ListItem> map,
XWikiContext context)
Search for an internationalizable display text for the current value.
|
protected String |
ListClass.getDisplayValue(String value,
String name,
Map<String,ListItem> map,
XWikiContext context)
Search for an internationalizable display text for the current value.
|
List<String> |
DBListClass.getList(XWikiContext context) |
List<String> |
UsersClass.getList(XWikiContext context) |
List<String> |
StaticListClass.getList(XWikiContext context) |
List<String> |
GroupsClass.getList(XWikiContext context) |
abstract List<String> |
ListClass.getList(XWikiContext context) |
List<String> |
LevelsClass.getList(XWikiContext context) |
Map<String,ListItem> |
DBListClass.getMap(XWikiContext context) |
Map<String,ListItem> |
UsersClass.getMap(XWikiContext context) |
Map<String,ListItem> |
StaticListClass.getMap(XWikiContext context) |
Map<String,ListItem> |
GroupsClass.getMap(XWikiContext context) |
abstract Map<String,ListItem> |
ListClass.getMap(XWikiContext context) |
Map<String,ListItem> |
LevelsClass.getMap(XWikiContext context) |
String |
PropertyClass.getPrettyName(XWikiContext context) |
String |
DBListClass.getQuery(XWikiContext context)
Deprecated.
since 9.8RC1, use the
QueryBuilder<DBListClass> component instead |
String |
DBTreeListClass.getQuery(XWikiContext context)
Computes the query corresponding to the current XProperty.
|
String |
UsersClass.getText(String value,
XWikiContext context) |
String |
GroupsClass.getText(String value,
XWikiContext context) |
String |
LevelsClass.getText(String value,
XWikiContext context) |
String |
PropertyClass.getTooltip(XWikiContext context)
Gets international tooltip
|
String |
PropertyClass.getTranslatedPrettyName(XWikiContext context) |
protected List<ListItem> |
DBTreeListClass.getTreeList(Map<String,List<ListItem>> treemap,
Map<String,ListItem> map,
XWikiContext context)
Gets an ordered list of items in the tree.
|
Map<String,List<ListItem>> |
DBTreeListClass.getTreeMap(XWikiContext context) |
String |
DBListClass.getValue(String val,
String sql,
XWikiContext context) |
BaseClass |
PropertyClass.getXClass(XWikiContext context) |
boolean |
PropertyClass.isCustomDisplayed(XWikiContext context) |
boolean |
BaseClass.isCustomMappingValid(String custommapping,
XWikiContext context) |
boolean |
BaseClass.isCustomMappingValid(XWikiContext context) |
boolean |
TextAreaClass.isWysiwyg(XWikiContext context) |
void |
BaseClass.merge(ElementInterface previousElement,
ElementInterface newElement,
MergeConfiguration configuration,
XWikiContext context,
MergeResult mergeResult) |
protected <T extends EntityReference> |
ListClass.mergeNotOrderedListProperty(BaseProperty<T> currentProperty,
BaseProperty<T> previousProperty,
BaseProperty<T> newProperty,
MergeConfiguration configuration,
XWikiContext context,
MergeResult mergeResult) |
<T extends EntityReference> |
UsersClass.mergeProperty(BaseProperty<T> currentProperty,
BaseProperty<T> previousProperty,
BaseProperty<T> newProperty,
MergeConfiguration configuration,
XWikiContext xcontext,
MergeResult mergeResult) |
<T extends EntityReference> |
PropertyClass.mergeProperty(BaseProperty<T> currentProperty,
BaseProperty<T> previousProperty,
BaseProperty<T> newProperty,
MergeConfiguration configuration,
XWikiContext context,
MergeResult mergeResult)
Apply a 3 ways merge on passed current, previous and new version of the same property.
|
<T extends EntityReference> |
GroupsClass.mergeProperty(BaseProperty<T> currentProperty,
BaseProperty<T> previousProperty,
BaseProperty<T> newProperty,
MergeConfiguration configuration,
XWikiContext xcontext,
MergeResult mergeResult) |
<T extends EntityReference> |
ListClass.mergeProperty(BaseProperty<T> currentProperty,
BaseProperty<T> previousProperty,
BaseProperty<T> newProperty,
MergeConfiguration configuration,
XWikiContext context,
MergeResult mergeResult) |
<T extends EntityReference> |
LevelsClass.mergeProperty(BaseProperty<T> currentProperty,
BaseProperty<T> previousProperty,
BaseProperty<T> newProperty,
MergeConfiguration configuration,
XWikiContext xcontext,
MergeResult mergeResult) |
static BaseObject |
BaseClass.newCustomClassInstance(DocumentReference classReference,
boolean fallback,
XWikiContext context) |
static BaseObject |
BaseClass.newCustomClassInstance(DocumentReference classReference,
XWikiContext context) |
static BaseObject |
BaseClass.newCustomClassInstance(String className,
XWikiContext context)
Deprecated.
|
BaseObject |
BaseClass.newCustomClassInstance(XWikiContext context) |
BaseCollection |
BaseClass.newObject(XWikiContext context)
Deprecated.
|
protected String |
PropertyClass.renderContentInContext(String content,
String syntax,
DocumentReference authorReference,
DocumentReference secureDocument,
XWikiContext context)
Render content in the current document's context with the rights of the given user.
|
protected String |
PropertyClass.renderContentInContext(String content,
String syntax,
DocumentReference authorReference,
XWikiContext context)
Deprecated.
since 10.11RC1, use
PropertyClass.renderContentInContext(String, String, DocumentReference, DocumentReference, XWikiContext)
instead |
void |
DBListClass.setCachedDBList(List<ListItem> cachedDBList,
XWikiContext context) |
protected void |
DBTreeListClass.setCachedDBTreeList(List<ListItem> cachedDBTreeList,
XWikiContext context)
Store the ordered list of tree nodes in a cache.
|
boolean |
BaseClass.validateObject(BaseObject obj,
XWikiContext context) |
boolean |
PropertyClass.validateProperty(BaseProperty property,
XWikiContext context) |
Modifier and Type | Method and Description |
---|---|
BaseCollection |
MetaClass.newObject(XWikiContext context) |
BaseCollection |
PropertyMetaClass.newObject(XWikiContext context) |
Modifier and Type | Method and Description |
---|---|
void |
PdfExport.export(XWikiDocument doc,
OutputStream out,
PdfExport.ExportType type,
XWikiContext context)
Export a wiki Document into PDF or RTF.
|
void |
PdfExport.exportHtml(String html,
OutputStream out,
PdfExport.ExportType type,
XWikiContext context)
Convert an HTML document to PDF.
|
void |
PdfExport.exportToPDF(XWikiDocument doc,
OutputStream out,
XWikiContext context)
Export a wiki Document into PDF.
|
Modifier and Type | Method and Description |
---|---|
URL |
PdfURLFactory.createAttachmentRevisionURL(String filename,
String spaces,
String name,
String revision,
long recycleId,
String querystring,
String xwikidb,
XWikiContext context) |
URL |
PdfURLFactory.createAttachmentRevisionURL(String filename,
String spaces,
String name,
String revision,
String querystring,
String xwikidb,
XWikiContext context) |
URL |
FileSystemURLFactory.createAttachmentRevisionURL(String filename,
String spaces,
String name,
String revision,
String wiki,
XWikiContext context) |
URL |
PdfURLFactory.createAttachmentRevisionURL(String filename,
String spaces,
String name,
String revision,
String wiki,
XWikiContext context) |
URL |
FileSystemURLFactory.createAttachmentURL(String filename,
String spaces,
String name,
String action,
String querystring,
String wiki,
XWikiContext context) |
URL |
PdfURLFactory.createAttachmentURL(String filename,
String spaces,
String name,
String action,
String querystring,
String wiki,
XWikiContext context) |
URL |
FileSystemURLFactory.createResourceURL(String filename,
boolean forceSkinAction,
XWikiContext context) |
URL |
FileSystemURLFactory.createSkinURL(String filename,
String skin,
XWikiContext context) |
void |
PdfExportImpl.export(XWikiDocument doc,
OutputStream out,
PdfExport.ExportType type,
XWikiContext context) |
void |
PdfExportImpl.exportHtml(String html,
OutputStream out,
PdfExport.ExportType type,
XWikiContext context) |
void |
PdfExportImpl.exportToPDF(XWikiDocument doc,
OutputStream out,
XWikiContext context) |
protected void |
PdfExportImpl.exportXHTML(String xhtml,
OutputStream out,
PdfExport.ExportType type,
XWikiContext context)
Convert a valid XHTML document into PDF.
|
String |
FileSystemURLFactory.getURL(URL url,
XWikiContext context) |
protected InputStream |
PdfExportImpl.getXslt(String propertyName,
String fallbackFile,
XWikiContext context)
Get an XSLT file.
|
void |
PdfURLFactory.init(XWikiContext context) |
Modifier and Type | Method and Description |
---|---|
void |
XWikiPluginManager.addPlugin(String name,
String className,
XWikiContext context) |
void |
XWikiPluginManager.addPlugins(String[] classNames,
XWikiContext context) |
void |
XWikiPluginManager.beginParsing(XWikiContext context) |
void |
XWikiPluginInterface.beginParsing(XWikiContext context)
Deprecated.
Hook method called at the start of the response generation process, before the parsing of the root template
begins.
|
void |
XWikiDefaultPlugin.beginParsing(XWikiContext context)
Deprecated.
|
void |
XWikiPluginManager.beginRendering(XWikiContext context) |
void |
XWikiPluginInterface.beginRendering(XWikiContext context)
Deprecated.
Hook method, called before the 1.0 rendering engine starts processing a wiki document, after
XWikiPluginInterface.beginParsing(XWikiContext) and before XWikiPluginInterface.commonTagsHandler(String, XWikiContext) . |
void |
XWikiDefaultPlugin.beginRendering(XWikiContext context)
Deprecated.
|
String |
XWikiPluginManager.commonTagsHandler(String text,
XWikiContext context) |
String |
XWikiPluginInterface.commonTagsHandler(String content,
XWikiContext context)
Deprecated.
Hook method called during the 1.0 rendering process, after
XWikiPluginInterface.beginRendering(XWikiContext) and right before
XWikiPluginInterface.startRenderingHandler(String, XWikiContext) . |
String |
XWikiDefaultPlugin.commonTagsHandler(String content,
XWikiContext context)
Deprecated.
|
XWikiAttachment |
XWikiPluginManager.downloadAttachment(XWikiAttachment attachment,
XWikiContext context) |
XWikiAttachment |
XWikiPluginInterface.downloadAttachment(XWikiAttachment attachment,
XWikiContext context)
Deprecated.
Plugin extension point allowing the plugin to perform modifications to an attachment when the user opens a
document attachment.
|
XWikiAttachment |
XWikiDefaultPlugin.downloadAttachment(XWikiAttachment attachment,
XWikiContext context)
Deprecated.
|
String |
XWikiPluginManager.endParsing(String content,
XWikiContext context) |
String |
XWikiPluginInterface.endParsing(String content,
XWikiContext context)
Deprecated.
Hook method called at the end of the response generation process, after the parsing of the root template is
finished.
|
String |
XWikiDefaultPlugin.endParsing(String content,
XWikiContext context)
Deprecated.
|
void |
XWikiPluginManager.endRendering(XWikiContext context) |
void |
XWikiPluginInterface.endRendering(XWikiContext context)
Deprecated.
Hook method, called after the 1.0 rendering engine finished processing a wiki document.
|
void |
XWikiDefaultPlugin.endRendering(XWikiContext context)
Deprecated.
|
String |
XWikiPluginManager.endRenderingHandler(String text,
XWikiContext context) |
String |
XWikiPluginInterface.endRenderingHandler(String content,
XWikiContext context)
Deprecated.
Hook method called during the 1.0 rendering process, after
XWikiPluginInterface.outsidePREHandler(String, XWikiContext) and
right before XWikiPluginInterface.endRendering(XWikiContext) . |
String |
XWikiDefaultPlugin.endRenderingHandler(String content,
XWikiContext context)
Deprecated.
|
void |
XWikiPluginManager.flushCache(XWikiContext context) |
void |
XWikiPluginInterface.flushCache(XWikiContext context)
Deprecated.
A "flush cache" method usually called by the global
XWiki.flushCache(XWikiContext) ,
requesting plugins to clear their cached data. |
void |
XWikiDefaultPlugin.flushCache(XWikiContext context)
Deprecated.
|
Api |
XWikiPluginInterface.getPluginApi(XWikiPluginInterface plugin,
XWikiContext context)
Deprecated.
Get a public scriptable API that can be used to call methods of the (privileged) plugin.
|
Api |
XWikiDefaultPlugin.getPluginApi(XWikiPluginInterface plugin,
XWikiContext context)
Deprecated.
|
void |
XWikiPluginInterface.init(XWikiContext context)
Deprecated.
Global initialization, called when the platform is started and the plugin list is initialized.
|
void |
XWikiDefaultPlugin.init(XWikiContext context)
Deprecated.
|
void |
XWikiPluginManager.initPlugin(Object plugin,
Class<XWikiPluginInterface> pluginClass,
XWikiContext context) |
String |
XWikiPluginManager.insidePREHandler(String text,
XWikiContext context) |
String |
XWikiPluginInterface.insidePREHandler(String line,
XWikiContext context)
Deprecated.
Hook method called during the 1.0 rendering process, once for each line of content inside
pre blocks,
after XWikiPluginInterface.startRenderingHandler(String, XWikiContext) and before
XWikiPluginInterface.endRenderingHandler(String, XWikiContext) . |
String |
XWikiDefaultPlugin.insidePREHandler(String line,
XWikiContext context)
Deprecated.
|
String |
XWikiPluginManager.outsidePREHandler(String text,
XWikiContext context) |
String |
XWikiPluginInterface.outsidePREHandler(String line,
XWikiContext context)
Deprecated.
Hook method called during the 1.0 rendering process, once for each line of content outside
pre blocks,
after XWikiPluginInterface.startRenderingHandler(String, XWikiContext) and before
XWikiPluginInterface.endRenderingHandler(String, XWikiContext) . |
String |
XWikiDefaultPlugin.outsidePREHandler(String line,
XWikiContext context)
Deprecated.
|
String |
XWikiPluginManager.startRenderingHandler(String text,
XWikiContext context) |
String |
XWikiPluginInterface.startRenderingHandler(String content,
XWikiContext context)
Deprecated.
Hook method called during the 1.0 rendering process, after
XWikiPluginInterface.commonTagsHandler(String, XWikiContext) and
before XWikiPluginInterface.outsidePREHandler(String, XWikiContext) . |
String |
XWikiDefaultPlugin.startRenderingHandler(String content,
XWikiContext context)
Deprecated.
|
void |
XWikiPluginManager.virtualInit(XWikiContext context) |
void |
XWikiPluginInterface.virtualInit(XWikiContext context)
Deprecated.
Initialization method called each time a virtual wiki is started, allowing plugins to perform initialization
tasks needed in each wiki.
|
void |
XWikiDefaultPlugin.virtualInit(XWikiContext context)
Deprecated.
|
Constructor and Description |
---|
PluginApi(T plugin,
XWikiContext context)
Deprecated.
API constructor.
|
XWikiDefaultPlugin(String name,
String className,
XWikiContext context)
Deprecated.
The mandatory plugin constructor, this is the method called (through reflection) by the plugin manager.
|
XWikiPluginManager(String[] classNames,
XWikiContext context) |
XWikiPluginManager(String classList,
XWikiContext context) |
Modifier and Type | Method and Description |
---|---|
void |
FileUploadPlugin.cleanFileList(XWikiContext context)
Deletes all temporary files of the upload.
|
void |
FileUploadPlugin.endRendering(XWikiContext context)
Hook method, called after the 1.0 rendering engine finished processing a wiki document.
|
org.apache.commons.fileupload.FileItem |
FileUploadPlugin.getFile(String formfieldName,
XWikiContext context)
Return the FileItem corresponding to the file uploaded for a form field.
|
String |
FileUploadPlugin.getFileItem(String formfieldName,
XWikiContext context)
Deprecated.
not well named, use
FileUploadPlugin.getFileItemAsString(String, com.xpn.xwiki.XWikiContext) |
String |
FileUploadPlugin.getFileItemAsString(String formfieldName,
XWikiContext context)
Allows to retrieve the contents of an uploaded file as a string.
|
byte[] |
FileUploadPlugin.getFileItemData(String formfieldName,
XWikiContext context)
Allows to retrieve the contents of an uploaded file as a sequence of bytes.
|
InputStream |
FileUploadPlugin.getFileItemInputStream(String formfieldName,
XWikiContext context)
Allows to retrieve the contents of an uploaded file as a stream.
|
List<String> |
FileUploadPlugin.getFileItemNames(XWikiContext context)
Retrieves the list of FileItem names.
|
List<org.apache.commons.fileupload.FileItem> |
FileUploadPlugin.getFileItems(XWikiContext context)
Allows to retrieve the current list of uploaded files, as a list of
FileItem s. |
int |
FileUploadPlugin.getFileItemSize(String formfieldName,
XWikiContext context)
Retrieve the size of a file content in byte.
|
String |
FileUploadPlugin.getFileName(String formfieldName,
XWikiContext context)
Get the name of the file uploaded for a form field.
|
Api |
FileUploadPlugin.getPluginApi(XWikiPluginInterface plugin,
XWikiContext context) |
void |
FileUploadPlugin.init(XWikiContext context) |
void |
FileUploadPlugin.loadFileList(long uploadMaxSize,
int uploadSizeThreshold,
String tempdir,
XWikiContext context)
Loads the list of uploaded files in the context if there are any uploaded files.
|
void |
FileUploadPlugin.loadFileList(XWikiContext context)
Loads the list of uploaded files in the context if there are any uploaded files.
|
void |
FileUploadPlugin.virtualInit(XWikiContext context) |
Constructor and Description |
---|
FileUploadPlugin(String name,
String className,
XWikiContext context) |
FileUploadPluginApi(FileUploadPlugin plugin,
XWikiContext context)
API constructor.
|
Modifier and Type | Method and Description |
---|---|
Api |
MailPlugin.getPluginApi(XWikiPluginInterface plugin,
XWikiContext context) |
void |
MailPlugin.init(XWikiContext context) |
Constructor and Description |
---|
MailPlugin(String name,
String className,
XWikiContext context) |
MailPluginApi(MailPlugin plugin,
XWikiContext context) |
Modifier and Type | Method and Description |
---|---|
boolean |
Package.add(String docFullName,
int DefaultAction,
XWikiContext context)
Deprecated.
|
boolean |
Package.add(String docFullName,
String language,
int DefaultAction,
XWikiContext context)
Deprecated.
|
boolean |
Package.add(String docFullName,
String language,
XWikiContext context)
Deprecated.
|
boolean |
Package.add(String docFullName,
XWikiContext context)
Deprecated.
|
boolean |
Package.add(XWikiDocument doc,
int defaultAction,
XWikiContext context)
Deprecated.
|
boolean |
Package.add(XWikiDocument doc,
XWikiContext context)
Deprecated.
|
void |
Package.addAllWikiDocuments(XWikiContext context)
Deprecated.
|
void |
Package.addToDir(XWikiDocument doc,
File dir,
boolean withVersions,
XWikiContext context)
Deprecated.
|
void |
Package.addToZip(XWikiDocument doc,
ZipOutputStream zos,
boolean withVersions,
XWikiContext context)
Deprecated.
since 4.1M2
|
void |
Package.deleteAllWikiDocuments(XWikiContext context)
Deprecated.
|
String |
Package.export(OutputStream os,
XWikiContext context)
Deprecated.
|
String |
Package.exportToDir(File dir,
XWikiContext context)
Deprecated.
|
void |
Package.filter(XWikiDocument doc,
XWikiContext context)
Deprecated.
|
void |
DocumentFilter.filter(XWikiDocument doc,
XWikiContext context)
Deprecated.
Do actions at the import or export on a document.
|
List<String> |
Package.getErrors(XWikiContext context)
Deprecated.
|
String |
Package.getFileNameFromDocument(XWikiDocument doc,
XWikiContext context)
Deprecated.
Generate a file name based on provided document.
|
List<String> |
Package.getInstalled(XWikiContext context)
Deprecated.
|
String |
Package.getPathFromDocument(XWikiDocument doc,
XWikiContext context)
Deprecated.
Generate a relative path based on provided document.
|
Api |
PackagePlugin.getPluginApi(XWikiPluginInterface plugin,
XWikiContext context)
Deprecated.
|
List<String> |
Package.getSkipped(XWikiContext context)
Deprecated.
|
int |
Package.getStatus(XWikiContext context)
Deprecated.
|
boolean |
Package.hasBackupPackImportRights(XWikiContext context)
Deprecated.
|
String |
Package.Import(byte[] file,
XWikiContext context)
Deprecated.
Load this package in memory from a byte array.
|
String |
Package.Import(InputStream file,
XWikiContext context)
Deprecated.
Load this package in memory from an InputStream.
|
void |
PackagePlugin.init(XWikiContext context)
Deprecated.
|
int |
Package.install(XWikiContext context)
Deprecated.
|
String |
Package.readFromDir(File dir,
XWikiContext context)
Deprecated.
Load document files from provided directory and sub-directories into packager.
|
int |
Package.readFromDir(File dir,
XWikiContext context,
org.dom4j.Document description)
Deprecated.
Load document files from provided directory and sub-directories into packager.
|
int |
Package.testInstall(boolean isAdmin,
XWikiContext context)
Deprecated.
|
int |
DocumentInfoAPI.testInstall(boolean isAdmin,
XWikiContext context)
Deprecated.
|
int |
DocumentInfo.testInstall(boolean isAdmin,
XWikiContext context)
Deprecated.
|
int |
DocumentInfoAPI.testInstall(XWikiContext context)
Deprecated.
|
net.sf.json.JSONObject |
Package.toJSON(XWikiContext wikiContext)
Deprecated.
Outputs the content of this package in the JSON format
|
void |
Package.toXML(OutputStream out,
XWikiContext context)
Deprecated.
Write the package.xml file to an OutputStream
|
String |
Package.toXml(XWikiContext context)
Deprecated.
You should prefer
Package.toXML(com.xpn.xwiki.internal.xml.XMLWriter) . |
boolean |
Package.updateDoc(String docFullName,
int action,
XWikiContext context)
Deprecated.
|
Constructor and Description |
---|
DocumentInfoAPI(DocumentInfo doc,
XWikiContext context)
Deprecated.
|
PackageAPI(Package plugin,
XWikiContext context)
Deprecated.
|
PackagePlugin(String name,
String className,
XWikiContext context)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
RightsManager.countAllGlobalUsersOrGroups(boolean user,
Object[][] matchFields,
XWikiContext context)
Get the number of users or groups in the main wiki.
|
int |
RightsManager.countAllGroupsNamesForMember(String member,
XWikiContext context)
Deprecated.
since 10.8RC1, use org.xwiki.user.group.GroupManager component instead
|
int |
RightsManager.countAllLocalUsersOrGroups(boolean user,
Object[][] matchFields,
XWikiContext context)
Get the number of users or groups in the current wiki.
|
int |
RightsManager.countAllMatchedMembersNamesForGroup(String group,
String filter,
XWikiContext xcontext)
Filters the members of the specified group using the given text and counts the results.
|
int |
RightsManager.countAllMembersNamesForGroup(String group,
XWikiContext context)
Deprecated.
since 10.8RC1, use org.xwiki.user.group.GroupManager component instead
|
int |
RightsManager.countAllUsersOrGroups(boolean user,
Object[][] matchFields,
XWikiContext context)
Get the number of users or groups in the main wiki and the current wiki.
|
int |
RightsManager.countAllWikiUsersOrGroups(boolean user,
String wikiName,
Object[][] matchFields,
XWikiContext context)
Get the number of users or groups in the provided wiki.
|
Collection<String> |
RightsManager.getAllGroupsNamesForMember(String member,
int nb,
int start,
XWikiContext context)
Deprecated.
since 10.8RC1, use org.xwiki.user.group.GroupManager component instead
|
List<?> |
RightsManager.getAllMatchedGlobalUsersOrGroups(boolean user,
Object[][] matchFields,
boolean withdetails,
RequestLimit limit,
Object[][] order,
XWikiContext context)
Get all users or groups in the main wiki.
|
List<?> |
RightsManager.getAllMatchedLocalUsersOrGroups(boolean user,
Object[][] matchFields,
boolean withdetails,
RequestLimit limit,
Object[][] order,
XWikiContext context)
Get all users or groups in the current wiki.
|
Collection<String> |
RightsManager.getAllMatchedMembersNamesForGroup(String group,
String matchField,
int nb,
int start,
Boolean orderAsc,
XWikiContext context)
Get members of provided group.
|
List<?> |
RightsManager.getAllMatchedUsersOrGroups(boolean user,
Object[][] matchFields,
boolean withdetails,
RequestLimit limit,
Object[][] order,
XWikiContext context)
Get all users or groups in the main wiki and the current.
|
List<?> |
RightsManager.getAllMatchedWikiUsersOrGroups(boolean user,
String wikiName,
Object[][] matchFields,
boolean withdetails,
RequestLimit limit,
Object[][] order,
XWikiContext context)
Get all users or groups in the provided wiki.
|
Collection<String> |
RightsManager.getAllMembersNamesForGroup(String group,
int nb,
int start,
XWikiContext context)
Deprecated.
since 10.8RC1, use org.xwiki.user.group.GroupManager component instead
|
Map<String,LevelTree> |
RightsManager.getLevelTreeMap(String spaceOrPage,
List<String> levelsToMatch,
XWikiContext context)
|
XWikiDocument |
RightsManager.getParentPreference(String spaceOrPage,
XWikiContext context)
Get the document containing inherited rights of provided document.
|
XWikiDocument |
RightsManager.getParentPreference(XWikiDocument currentPreference,
boolean currentGlobal,
XWikiContext context)
Get the document containing inherited rights of provided document.
|
Api |
RightsManagerPlugin.getPluginApi(XWikiPluginInterface plugin,
XWikiContext context) |
LevelTree |
RightsManager.getTreeLevel(String spaceOrPage,
String levelName,
XWikiContext context)
Get level right tree.
|
boolean |
RightsManager.groupContainsMember(String groupName,
String memberName,
Map<String,Collection<String>> groupCacheIn,
XWikiContext context)
Browse a group and groups it contains to find provided member (user or group).
|
void |
RightsManagerPlugin.init(XWikiContext context) |
void |
RightsManager.removeDirectRights(String spaceOrPage,
List<String> levelNames,
String comment,
XWikiContext context)
Remove "direct" rights for wiki, space or document.
|
void |
RightsManager.removeUserOrGroupFromAllRights(String userOrGroupWiki,
String userOrGroupSpace,
String userOrGroupName,
boolean user,
XWikiContext context)
Remove all references to provided user or group from all rights documents.
|
boolean |
RightsManager.removeUserOrGroupFromAllRights(XWikiDocument rightsDocument,
String userOrGroupWiki,
String userOrGroupSpace,
String userOrGroupName,
boolean user,
XWikiContext context)
Remove all references to provided user or group from provided rights document.
|
void |
RightsManager.removeUserOrGroupFromLevel(String spaceOrPage,
String userOrGroup,
boolean user,
String levelName,
boolean allow,
String comment,
XWikiContext context)
Remove a user or group from rights preferences document for provided level.
|
boolean |
RightsManager.removeUserOrGroupFromRight(BaseObject right,
String userOrGroupWiki,
String userOrGroupSpace,
String userOrGroupName,
boolean user,
XWikiContext context)
Remove all references to provided user or group from provided right object.
|
boolean |
RightsManager.removeUserOrGroupFromRights(XWikiDocument rightsDocument,
String userOrGroupWiki,
String userOrGroupSpace,
String userOrGroupName,
boolean user,
boolean global,
XWikiContext context)
Remove all references to provided user or group from provided rights document.
|
void |
RightsManager.replaceUserOrGroupFromAllRights(DocumentReference userOrGroupSourceReference,
DocumentReference userOrGroupTargetReference,
boolean user,
XWikiContext context)
Replace a user or a group reference with another one on all rights of the current wiki.
|
Collection<DocumentReference> |
RightsManager.resolveUsers(DocumentReference userOrGroup,
XWikiContext context)
Resolve passed user or group into users references list.
|
Collection<DocumentReference> |
RightsManager.resolveUsers(List<String> referenceList,
XWikiContext context)
Resolve passed users and groups into users references list.
|
Collection<DocumentReference> |
RightsManager.resolveUsers(String userOrGroup,
XWikiContext context)
Resolve passed user or group into users references list.
|
Constructor and Description |
---|
RightsManagerGroupsApi(XWikiContext context)
Create an instance of RightsManageRightsApi.
|
RightsManagerPlugin(String name,
String className,
XWikiContext context)
Construct the entry point of the Rights Manager plugin.
|
RightsManagerPluginApi(RightsManagerPlugin plugin,
XWikiContext context)
Create an instance of the Rights Manager plugin user api.
|
RightsManagerRightsApi(XWikiContext context)
Create an instance of RightsManageRightsApi.
|
RightsManagerUsersApi(XWikiContext context)
Create an instance of RightsManageRightsApi.
|
Modifier and Type | Method and Description |
---|---|
Api |
SVGPlugin.getPluginApi(XWikiPluginInterface plugin,
XWikiContext context) |
String |
SVGPlugin.getSVGImageURL(String content,
int height,
int width,
XWikiContext context) |
void |
SVGPlugin.init(XWikiContext context) |
void |
SVGPlugin.outputSVGImage(String content,
int height,
int width,
XWikiContext context) |
void |
SVGPlugin.outputSVGImage(String content,
String extension,
int height,
int width,
XWikiContext context) |
void |
SVGPlugin.outputSVGImageFromFile(String filename,
XWikiContext context) |
Constructor and Description |
---|
SVGPlugin(String name,
String className,
XWikiContext context) |
SVGPluginApi(SVGPlugin plugin,
XWikiContext context) |
Constructor and Description |
---|
XWikiPageClassLoader(String jarWikiPage,
ClassLoader parent,
XWikiContext context) |
XWikiPageClassLoader(String jarWikiPage,
XWikiContext context) |
Modifier and Type | Method and Description |
---|---|
Map<?,?> |
XWikiStatsService.getActionStatistics(String action,
Scope scope,
Period period,
Duration step,
XWikiContext context)
Shows how the statistics for the specified action have evolved over the specified period of time.
|
List<?> |
XWikiStatsService.getBackLinkStatistics(String domain,
Scope scope,
Period period,
Range range,
XWikiContext context)
Retrieves back-link statistics.
|
DocumentStats |
XWikiStatsService.getDocDayStats(String docname,
String action,
Date day,
XWikiContext context)
Deprecated.
|
DocumentStats |
XWikiStatsService.getDocMonthStats(String docname,
String action,
Date month,
XWikiContext context)
Deprecated.
|
DocumentStats |
XWikiStatsService.getDocTotalStats(String docname,
String action,
XWikiContext context)
Deprecated.
|
List<DocumentStats> |
XWikiStatsService.getDocumentStatistics(String action,
Scope scope,
Period period,
Range range,
XWikiContext context)
Retrieves document statistics.
|
Collection<?> |
XWikiStatsService.getRecentActions(String action,
int size,
XWikiContext context)
Return the statistics action stored.
|
List<RefererStats> |
XWikiStatsService.getRefererStatistics(String domain,
Scope scope,
Period period,
Range range,
XWikiContext context)
Retrieves referrer statistics.
|
List |
XWikiStatsService.getRefMonthStats(String docName,
Date month,
XWikiContext context)
Deprecated.
|
List<VisitStats> |
XWikiStatsService.getVisitStatistics(String action,
Period period,
Range range,
XWikiContext context)
Retrieves visit statistics.
|
void |
XWikiStatsService.init(XWikiContext context)
Methods called just one time at XWiki initialization.
|
Modifier and Type | Method and Description |
---|---|
protected static javax.servlet.http.Cookie |
StatsUtil.addCookie(XWikiContext context)
Create a new visit cookie and return it.
|
static boolean |
StatsUtil.findCookie(XWikiContext context)
Try to find the cookie of the current request or create it.
|
static VisitStats |
StatsUtil.findVisit(XWikiContext context)
Try to find the visiting session of the current request, or create a new one if this request is not part of a
visit.
|
protected static VisitStats |
StatsUtil.findVisitByCookie(String cookie,
XWikiContext context)
Search visit statistics object in the database based on cookie name.
|
protected static VisitStats |
StatsUtil.findVisitByField(String fieldName,
String fieldValue,
XWikiContext context)
Search visit statistics object in the database based on cookie name.
|
protected static VisitStats |
StatsUtil.findVisitByIPUA(String uniqueID,
XWikiContext context)
Search visit statistics object in the database based on visit unique id.
|
Map<?,?> |
XWikiStatsServiceImpl.getActionStatistics(String action,
Scope scope,
Period period,
Duration step,
XWikiContext context) |
List<DocumentStats> |
XWikiStatsServiceImpl.getBackLinkStatistics(String domain,
Scope scope,
Period period,
Range range,
XWikiContext context) |
static String[] |
StatsUtil.getCookieDomains(XWikiContext context) |
DocumentStats |
XWikiStatsServiceImpl.getDocDayStats(String docname,
String action,
Date day,
XWikiContext context) |
DocumentStats |
XWikiStatsServiceImpl.getDocMonthStats(String docname,
String action,
Date month,
XWikiContext context) |
DocumentStats |
XWikiStatsServiceImpl.getDocTotalStats(String docname,
String action,
XWikiContext context) |
List<DocumentStats> |
XWikiStatsServiceImpl.getDocumentStatistics(String action,
Scope scope,
Period period,
Range range,
XWikiContext context) |
static Collection<?> |
StatsUtil.getRecentActionFromSessions(XWikiContext context,
String action) |
Collection<Object> |
XWikiStatsServiceImpl.getRecentActions(String action,
int size,
XWikiContext context) |
static int |
StatsUtil.getRecentVisitSize(XWikiContext context) |
static String |
StatsUtil.getReferer(XWikiContext context) |
List<RefererStats> |
XWikiStatsServiceImpl.getRefererStatistics(String domain,
Scope scope,
Period period,
Range range,
XWikiContext context) |
List<?> |
XWikiStatsServiceImpl.getRefMonthStats(String docName,
Date month,
XWikiContext context) |
static Collection<DocumentReference> |
StatsUtil.getRequestFilteredUsers(XWikiContext context)
The list of users to filter in view request.
|
static Collection<DocumentReference> |
StatsUtil.getStorageFilteredUsers(XWikiContext context)
The list of users to filter when storing statistics.
|
List<VisitStats> |
XWikiStatsServiceImpl.getVisitStatistics(String action,
Period period,
Range range,
XWikiContext context) |
void |
XWikiStatsServiceImpl.init(XWikiContext context) |
static boolean |
StatsUtil.isStatsEnabled(XWikiContext context) |
static boolean |
StatsUtil.isWikiStatsEnabled(XWikiContext context) |
static void |
StatsUtil.setRecentActionsFromSession(XWikiContext context,
String action,
Collection<?> actions)
Store the recent statistics actions in the session.
|
Modifier and Type | Field and Description |
---|---|
protected XWikiContext |
AbstractStatsStoreItem.context
The XWiki context clone made when this statistics event occurred.
|
Modifier and Type | Method and Description |
---|---|
void |
XWikiStatsStoreService.addStats(XWikiDocument doc,
String action,
XWikiContext context)
Add all the statistics to the save queue.
|
Map<org.joda.time.DateTime,Integer> |
XWikiStatsReader.getActionStatistics(String action,
Scope scope,
Period period,
Duration step,
XWikiContext context)
Shows how the statistics for the specified action have evolved over the specified period of time.
|
List<DocumentStats> |
XWikiStatsReader.getBackLinkStatistics(String domain,
Scope scope,
Period period,
Range range,
XWikiContext context)
Retrieves back-link statistics.
|
DocumentStats |
XWikiStatsReader.getDocMonthStats(String docname,
String action,
Date month,
XWikiContext context)
Deprecated.
|
List<DocumentStats> |
XWikiStatsReader.getDocumentStatistics(String action,
Scope scope,
Period period,
Range range,
XWikiContext context)
Retrieves document statistics.
|
Collection<Object> |
XWikiStatsReader.getRecentActions(String action,
int size,
XWikiContext context)
Return the statistics action stored.
|
List<RefererStats> |
XWikiStatsReader.getRefererStatistics(String domain,
Scope scope,
Period period,
Range range,
XWikiContext context)
Retrieves referrer statistics.
|
List<?> |
XWikiStatsReader.getRefMonthStats(String docName,
Date month,
XWikiContext context)
Deprecated.
|
List<VisitStats> |
XWikiStatsReader.getVisitStatistics(String action,
Period period,
Range range,
XWikiContext context)
Retrieves visit statistics.
|
Constructor and Description |
---|
AbstractStatsStoreItem(String name,
Date periodDate,
StatsUtil.PeriodType periodType,
XWikiContext context) |
DocumentStatsStoreItem(String name,
Date periodDate,
StatsUtil.PeriodType periodType,
String action,
boolean isVisit,
XWikiContext context)
Create new instance of
DocumentStatsStoreItem . |
RefererStatsStoreItem(String name,
Date periodDate,
StatsUtil.PeriodType periodType,
String referer,
XWikiContext context)
Create new instance of
RefererStatsStoreItem . |
VisitStatsStoreItem(VisitStats visitStats,
XWikiContext context)
Create new instance of
VisitStatsStoreItem . |
XWikiStatsStoreService(XWikiContext context)
Create new instance of XWikiStatsRegister and init statistics queue.
|
Modifier and Type | Method and Description |
---|---|
boolean |
XWikiHibernateAttachmentStore.attachmentContentExists(XWikiAttachment attachment,
XWikiContext inputxcontext,
boolean bTransaction) |
default boolean |
XWikiAttachmentStoreInterface.attachmentContentExists(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction) |
boolean |
XWikiHibernateBaseStore.beginTransaction(boolean withTransaction,
XWikiContext context)
Deprecated.
|
boolean |
XWikiHibernateBaseStore.beginTransaction(org.hibernate.SessionFactory sfactory,
boolean withTransaction,
XWikiContext context)
Deprecated.
|
boolean |
XWikiHibernateBaseStore.beginTransaction(org.hibernate.SessionFactory sfactory,
XWikiContext inputxcontext)
Begins a transaction with a specific SessionFactory.
|
boolean |
XWikiHibernateBaseStore.beginTransaction(XWikiContext context)
Begins a transaction if the context does not contains any.
|
void |
XWikiHibernateBaseStore.checkHibernate(XWikiContext context)
Initializes hibernate
|
void |
XWikiHibernateBaseStore.cleanUp(XWikiContext inputxcontext)
Cleanup all sessions Used at the shutdown time
|
void |
XWikiStoreInterface.cleanUp(XWikiContext context) |
void |
XWikiAttachmentStoreInterface.cleanUp(XWikiContext context) |
void |
XWikiCacheStore.cleanUp(XWikiContext context) |
int |
XWikiStoreInterface.countDocuments(String parametrizedSqlClause,
List<?> parameterValues,
XWikiContext context)
API allowing to count the total number of documents that would be returned by a parameterized query.
|
int |
XWikiCacheStore.countDocuments(String parametrizedSqlClause,
List<?> parameterValues,
XWikiContext context) |
int |
XWikiHibernateStore.countDocuments(String parametrizedSqlClause,
List<?> parameterValues,
XWikiContext context) |
int |
XWikiStoreInterface.countDocuments(String wheresql,
XWikiContext context)
API allowing to count the total number of documents that would be returned by a query.
|
int |
XWikiCacheStore.countDocuments(String wheresql,
XWikiContext context) |
int |
XWikiHibernateStore.countDocuments(String wheresql,
XWikiContext context) |
void |
XWikiStoreInterface.createWiki(String wikiName,
XWikiContext context)
Allows to create a new wiki database and initialize the default tables.
|
void |
XWikiCacheStore.createWiki(String wikiName,
XWikiContext context) |
void |
XWikiHibernateStore.createWiki(String wikiName,
XWikiContext inputxcontext) |
void |
AttachmentVersioningStore.deleteArchive(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction)
Permanently delete attachment archive.
|
void |
VoidAttachmentVersioningStore.deleteArchive(XWikiAttachment attachment,
XWikiContext context,
boolean transaction) |
void |
XWikiHibernateVersioningStore.deleteArchive(XWikiDocument doc,
boolean bTransaction,
XWikiContext context) |
void |
XWikiVersioningStoreInterface.deleteArchive(XWikiDocument doc,
boolean bTransaction,
XWikiContext context)
Delete all history for a document.
|
void |
XWikiHibernateRecycleBinStore.deleteFromRecycleBin(long index,
XWikiContext context,
boolean bTransaction) |
default void |
XWikiRecycleBinStoreInterface.deleteFromRecycleBin(long index,
XWikiContext context,
boolean bTransaction)
Permanently delete document from recycle bin.
|
void |
AttachmentRecycleBinStore.deleteFromRecycleBin(long index,
XWikiContext context,
boolean bTransaction)
Permanently delete attachment from recycle bin.
|
void |
XWikiHibernateRecycleBinStore.deleteFromRecycleBin(XWikiDocument doc,
long index,
XWikiContext context,
boolean bTransaction) |
void |
XWikiRecycleBinStoreInterface.deleteFromRecycleBin(XWikiDocument doc,
long index,
XWikiContext context,
boolean bTransaction)
Deprecated.
since 9.4RC1. The document parameter is useless and gets in the way. Use
XWikiRecycleBinStoreInterface.deleteFromRecycleBin(long, XWikiContext, boolean) instead. |
void |
XWikiStoreInterface.deleteLinks(long docId,
XWikiContext context,
boolean bTransaction) |
void |
XWikiCacheStore.deleteLinks(long docId,
XWikiContext context,
boolean bTransaction) |
void |
XWikiHibernateStore.deleteLinks(long docId,
XWikiContext inputxcontext,
boolean bTransaction) |
void |
XWikiStoreInterface.deleteLock(XWikiLock lock,
XWikiContext context,
boolean bTransaction) |
void |
XWikiCacheStore.deleteLock(XWikiLock lock,
XWikiContext context,
boolean bTransaction) |
void |
XWikiHibernateStore.deleteLock(XWikiLock lock,
XWikiContext inputxcontext,
boolean bTransaction) |
void |
XWikiStoreInterface.deleteWiki(String wikiName,
XWikiContext context)
Delete a wiki database.
|
void |
XWikiCacheStore.deleteWiki(String wikiName,
XWikiContext context) |
void |
XWikiHibernateStore.deleteWiki(String wikiName,
XWikiContext inputxcontext) |
void |
XWikiHibernateAttachmentStore.deleteXWikiAttachment(XWikiAttachment attachment,
boolean parentUpdate,
XWikiContext inputxcontext,
boolean bTransaction) |
void |
XWikiAttachmentStoreInterface.deleteXWikiAttachment(XWikiAttachment attachment,
boolean parentUpdate,
XWikiContext context,
boolean bTransaction) |
void |
XWikiHibernateAttachmentStore.deleteXWikiAttachment(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction) |
void |
XWikiAttachmentStoreInterface.deleteXWikiAttachment(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction) |
void |
XWikiHibernateStore.deleteXWikiCollection(BaseCollection object,
XWikiContext inputxcontext,
boolean bTransaction,
boolean evict)
Deprecated.
This is internal to XWikiHibernateStore and may be removed in the future.
|
void |
XWikiStoreInterface.deleteXWikiDoc(XWikiDocument doc,
XWikiContext context) |
void |
XWikiCacheStore.deleteXWikiDoc(XWikiDocument doc,
XWikiContext inputxcontext) |
void |
XWikiHibernateStore.deleteXWikiDoc(XWikiDocument doc,
XWikiContext inputxcontext) |
void |
XWikiHibernateBaseStore.endTransaction(XWikiContext inputxcontext,
boolean commit)
Ends a transaction and close the session.
|
void |
XWikiHibernateBaseStore.endTransaction(XWikiContext context,
boolean commit,
boolean withTransaction)
Deprecated.
since 4.0M1, use
XWikiHibernateBaseStore.endTransaction(XWikiContext, boolean) |
protected String |
XWikiHibernateBaseStore.escapeSchema(String schema,
XWikiContext context)
Escape schema name depending of the database engine.
|
<T> T |
XWikiHibernateBaseStore.execute(XWikiContext context,
boolean bTransaction,
boolean doCommit,
XWikiHibernateBaseStore.HibernateCallback<T> cb)
|
<T> T |
XWikiHibernateBaseStore.execute(XWikiContext inputxcontext,
boolean doCommit,
XWikiHibernateBaseStore.HibernateCallback<T> cb)
Execute method for operations in hibernate.
|
<T> T |
XWikiHibernateBaseStore.executeRead(XWikiContext context,
boolean bTransaction,
XWikiHibernateBaseStore.HibernateCallback<T> cb)
|
<T> T |
XWikiHibernateBaseStore.executeRead(XWikiContext context,
XWikiHibernateBaseStore.HibernateCallback<T> cb)
Execute method for read-only operations in hibernate.
|
<T> T |
XWikiHibernateBaseStore.executeWrite(XWikiContext context,
boolean bTransaction,
XWikiHibernateBaseStore.HibernateCallback<T> cb)
|
<T> T |
XWikiHibernateBaseStore.executeWrite(XWikiContext context,
XWikiHibernateBaseStore.HibernateCallback<T> cb)
Execute method for read-write operations in hibernate.
|
boolean |
XWikiStoreInterface.exists(XWikiDocument doc,
XWikiContext context) |
boolean |
XWikiCacheStore.exists(XWikiDocument doc,
XWikiContext inputxcontext) |
boolean |
XWikiHibernateStore.exists(XWikiDocument doc,
XWikiContext inputxcontext)
Verifies if a wiki document exists
|
<T> T |
XWikiHibernateBaseStore.failSafeExecute(XWikiContext inputxcontext,
boolean doCommit,
XWikiHibernateBaseStore.HibernateCallback<T> cb)
Execute method for operations in hibernate in an independent session (but not closing the current one if any).
|
<T> T |
XWikiHibernateBaseStore.failSafeExecuteRead(XWikiContext context,
XWikiHibernateBaseStore.HibernateCallback<T> cb)
Execute hibernate read-only operation in a independent session (but not closing the current one if any).
|
<T> T |
XWikiHibernateBaseStore.failSafeExecuteWrite(XWikiContext context,
XWikiHibernateBaseStore.HibernateCallback<T> cb)
Execute hibernate read-only operation in a independent session (but not closing the current one if any).
|
List<DeletedAttachment> |
AttachmentRecycleBinStore.getAllDeletedAttachments(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction)
Get all the deleted attachments from the database matching an attachment template (document name and filename).
|
List<DeletedAttachment> |
AttachmentRecycleBinStore.getAllDeletedAttachments(XWikiDocument doc,
XWikiContext context,
boolean bTransaction)
Get all the deleted attachments for a given document.
|
XWikiDeletedDocument[] |
XWikiHibernateRecycleBinStore.getAllDeletedDocuments(String batchId,
boolean withContent,
XWikiContext context,
boolean bTransaction) |
default XWikiDeletedDocument[] |
XWikiRecycleBinStoreInterface.getAllDeletedDocuments(String batchId,
boolean withContent,
XWikiContext context,
boolean bTransaction) |
XWikiDeletedDocument[] |
XWikiHibernateRecycleBinStore.getAllDeletedDocuments(String batchId,
XWikiContext context,
boolean bTransaction) |
default XWikiDeletedDocument[] |
XWikiRecycleBinStoreInterface.getAllDeletedDocuments(String batchId,
XWikiContext context,
boolean bTransaction) |
XWikiDeletedDocument[] |
XWikiHibernateRecycleBinStore.getAllDeletedDocuments(XWikiDocument doc,
XWikiContext context,
boolean bTransaction) |
XWikiDeletedDocument[] |
XWikiRecycleBinStoreInterface.getAllDeletedDocuments(XWikiDocument doc,
XWikiContext context,
boolean bTransaction) |
Long[] |
XWikiHibernateRecycleBinStore.getAllDeletedDocumentsIds(XWikiContext context,
int limit) |
default Long[] |
XWikiRecycleBinStoreInterface.getAllDeletedDocumentsIds(XWikiContext context,
int limit)
Get all the deleted documents ID or a specified number.
|
byte[] |
VoidAttachmentVersioningStore.VoidAttachmentArchive.getArchive(XWikiContext context) |
List<String> |
XWikiStoreInterface.getClassList(XWikiContext context) |
List<String> |
XWikiCacheStore.getClassList(XWikiContext context) |
List<String> |
XWikiHibernateStore.getClassList(XWikiContext inputxcontext) |
DatabaseProduct |
XWikiHibernateBaseStore.getDatabaseProductName(XWikiContext context)
Deprecated.
since 4.0M1 use
XWikiHibernateBaseStore.getDatabaseProductName() |
DeletedAttachment |
AttachmentRecycleBinStore.getDeletedAttachment(long index,
XWikiContext context,
boolean bTransaction)
Returns a
handler for a deleted attachment. |
XWikiDeletedDocument |
XWikiHibernateRecycleBinStore.getDeletedDocument(long index,
XWikiContext context,
boolean bTransaction) |
default XWikiDeletedDocument |
XWikiRecycleBinStoreInterface.getDeletedDocument(long index,
XWikiContext context,
boolean bTransaction) |
XWikiDeletedDocument |
XWikiHibernateRecycleBinStore.getDeletedDocument(XWikiDocument doc,
long index,
XWikiContext context,
boolean bTransaction) |
XWikiDeletedDocument |
XWikiRecycleBinStoreInterface.getDeletedDocument(XWikiDocument doc,
long index,
XWikiContext context,
boolean bTransaction)
Deprecated.
since 9.4RC1. The document parameter is useless and gets in the way. Use
XWikiRecycleBinStoreInterface.getDeletedDocument(long, XWikiContext, boolean) instead. |
String |
XWikiCacheStore.getKey(String fullName,
String language,
XWikiContext context)
Deprecated.
since 4.0M1, use
XWikiDocument.getKey() |
String |
XWikiCacheStore.getKey(XWikiDocument doc,
XWikiContext context) |
int |
XWikiStoreInterface.getLimitSize(XWikiContext context,
Class<?> entityType,
String property)
Get the limit size of a property.
|
int |
XWikiCacheStore.getLimitSize(XWikiContext context,
Class<?> entityType,
String propertyName) |
int |
XWikiHibernateStore.getLimitSize(XWikiContext context,
Class<?> entityType,
String propertyName) |
Long |
XWikiHibernateRecycleBinStore.getNumberOfDeletedDocuments(XWikiContext context) |
default Long |
XWikiRecycleBinStoreInterface.getNumberOfDeletedDocuments(XWikiContext context) |
XWikiAttachment |
VoidAttachmentVersioningStore.VoidAttachmentArchive.getRevision(XWikiAttachment attachment,
String rev,
XWikiContext context) |
protected String |
XWikiHibernateBaseStore.getSchemaFromWikiName(String wikiName,
DatabaseProduct databaseProduct,
XWikiContext inputxcontext)
Convert wiki name in database/schema name.
|
protected String |
XWikiHibernateBaseStore.getSchemaFromWikiName(String wikiId,
XWikiContext inputxcontext)
Convert wiki name in database/schema name.
|
String |
XWikiHibernateBaseStore.getSchemaFromWikiName(XWikiContext context)
Convert context's database in real database/schema name.
|
String[] |
XWikiHibernateBaseStore.getSchemaUpdateScript(org.hibernate.cfg.Configuration config,
XWikiContext inputxcontext)
Deprecated.
do nothing since 11.5RC1
|
org.hibernate.Session |
XWikiHibernateBaseStore.getSession(XWikiContext inputxcontext)
This get's the current session.
|
org.hibernate.Transaction |
XWikiHibernateBaseStore.getTransaction(XWikiContext inputxcontext)
Allows to get the current transaction from the context This is set in beginTransaction
|
List<String> |
XWikiStoreInterface.getTranslationList(XWikiDocument doc,
XWikiContext context) |
List<String> |
XWikiCacheStore.getTranslationList(XWikiDocument doc,
XWikiContext context) |
List<String> |
XWikiHibernateStore.getTranslationList(XWikiDocument doc,
XWikiContext context) |
XWikiDocumentArchive |
XWikiHibernateVersioningStore.getXWikiDocumentArchive(XWikiDocument doc,
XWikiContext inputxcontext) |
XWikiDocumentArchive |
XWikiVersioningStoreInterface.getXWikiDocumentArchive(XWikiDocument doc,
XWikiContext context) |
org.suigeneris.jrcs.rcs.Version[] |
XWikiHibernateVersioningStore.getXWikiDocVersions(XWikiDocument doc,
XWikiContext context) |
org.suigeneris.jrcs.rcs.Version[] |
XWikiVersioningStoreInterface.getXWikiDocVersions(XWikiDocument doc,
XWikiContext context) |
void |
XWikiCacheStoreInterface.initCache(int capacity,
int pageExistCapacity,
XWikiContext context)
Deprecated.
since 8.3. It does not make much sense to make this method public and it was not really doing
anything for a very long time in practice (since Infinispan is the default cache inmplementation)
|
void |
XWikiCacheStore.initCache(int capacity,
int pageExistCacheCapacity,
XWikiContext context)
Deprecated.
|
void |
XWikiCacheStore.initCache(XWikiContext context)
Deprecated.
|
boolean |
XWikiStoreInterface.injectCustomMapping(BaseClass doc1class,
XWikiContext xWikiContext)
Deprecated.
since 11.5RC1, use
XWikiStoreInterface.injectCustomMapping(BaseClass) instead |
boolean |
XWikiDefaultStore.injectCustomMapping(BaseClass doc1class,
XWikiContext xWikiContext) |
boolean |
XWikiCacheStore.injectCustomMapping(BaseClass doc1class,
XWikiContext context) |
boolean |
XWikiHibernateStore.injectCustomMapping(BaseClass doc1class,
XWikiContext inputxcontext) |
boolean |
XWikiHibernateStore.injectCustomMapping(String className,
String customMapping,
XWikiContext inputxcontext) |
void |
XWikiStoreInterface.injectCustomMappings(XWikiContext context) |
void |
XWikiDefaultStore.injectCustomMappings(XWikiContext context) |
void |
XWikiCacheStore.injectCustomMappings(XWikiContext context) |
void |
XWikiHibernateStore.injectCustomMappings(XWikiContext context) |
boolean |
XWikiStoreInterface.injectCustomMappings(XWikiDocument doc,
XWikiContext context) |
boolean |
XWikiDefaultStore.injectCustomMappings(XWikiDocument doc,
XWikiContext xWikiContext) |
boolean |
XWikiCacheStore.injectCustomMappings(XWikiDocument doc,
XWikiContext context) |
boolean |
XWikiHibernateStore.injectCustomMappings(XWikiDocument doc,
XWikiContext inputxcontext) |
org.hibernate.SessionFactory |
XWikiHibernateStore.injectCustomMappingsInSessionFactory(BaseClass bclass,
XWikiContext context) |
org.hibernate.SessionFactory |
XWikiHibernateStore.injectCustomMappingsInSessionFactory(XWikiContext inputxcontext) |
void |
XWikiStoreInterface.injectUpdatedCustomMappings(XWikiContext context) |
void |
XWikiDefaultStore.injectUpdatedCustomMappings(XWikiContext context) |
void |
XWikiCacheStore.injectUpdatedCustomMappings(XWikiContext context) |
void |
XWikiHibernateStore.injectUpdatedCustomMappings(XWikiContext context) |
boolean |
XWikiStoreInterface.isCustomMappingValid(BaseClass bclass,
String custommapping1,
XWikiContext context)
Deprecated.
since 11.5RC1, use
XWikiStoreInterface.isCustomMappingValid(BaseClass, String) |
boolean |
XWikiCacheStore.isCustomMappingValid(BaseClass bclass,
String custommapping1,
XWikiContext context) |
boolean |
XWikiHibernateStore.isCustomMappingValid(BaseClass bclass,
String custommapping1,
XWikiContext context)
Deprecated.
|
protected boolean |
XWikiHibernateBaseStore.isVirtual(XWikiContext context)
Deprecated.
Virtual mode is on by default, starting with XWiki 5.0M2.
|
boolean |
XWikiStoreInterface.isWikiNameAvailable(String wikiName,
XWikiContext context)
Indicate if the provided wiki name could be used to create a new wiki.
|
boolean |
XWikiCacheStore.isWikiNameAvailable(String wikiName,
XWikiContext context) |
boolean |
XWikiHibernateStore.isWikiNameAvailable(String wikiName,
XWikiContext inputxcontext) |
protected List<XWikiRCSNodeInfo> |
XWikiHibernateVersioningStore.loadAllRCSNodeInfo(XWikiContext context,
long id,
boolean bTransaction) |
XWikiAttachmentArchive |
AttachmentVersioningStore.loadArchive(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction)
Load attachment archive from store.
|
XWikiAttachmentArchive |
VoidAttachmentVersioningStore.loadArchive(XWikiAttachment attachment,
XWikiContext context,
boolean transaction) |
void |
XWikiHibernateAttachmentStore.loadAttachmentContent(XWikiAttachment attachment,
XWikiContext inputxcontext,
boolean bTransaction) |
void |
XWikiAttachmentStoreInterface.loadAttachmentContent(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction) |
List<DocumentReference> |
XWikiStoreInterface.loadBacklinks(DocumentReference documentReference,
boolean bTransaction,
XWikiContext context) |
List<DocumentReference> |
XWikiCacheStore.loadBacklinks(DocumentReference documentReference,
boolean bTransaction,
XWikiContext context) |
List<DocumentReference> |
XWikiHibernateStore.loadBacklinks(DocumentReference documentReference,
boolean bTransaction,
XWikiContext inputxcontext) |
List<String> |
XWikiStoreInterface.loadBacklinks(String fullName,
XWikiContext context,
boolean bTransaction)
Deprecated.
|
List<String> |
XWikiCacheStore.loadBacklinks(String fullName,
XWikiContext context,
boolean bTransaction) |
List<String> |
XWikiHibernateStore.loadBacklinks(String fullName,
XWikiContext inputxcontext,
boolean bTransaction)
Deprecated.
|
List<XWikiLink> |
XWikiStoreInterface.loadLinks(long docId,
XWikiContext context,
boolean bTransaction) |
List<XWikiLink> |
XWikiCacheStore.loadLinks(long docId,
XWikiContext context,
boolean bTransaction) |
List<XWikiLink> |
XWikiHibernateStore.loadLinks(long docId,
XWikiContext inputxcontext,
boolean bTransaction) |
XWikiLock |
XWikiStoreInterface.loadLock(long docId,
XWikiContext context,
boolean bTransaction) |
XWikiLock |
XWikiCacheStore.loadLock(long docId,
XWikiContext context,
boolean bTransaction) |
XWikiLock |
XWikiHibernateStore.loadLock(long docId,
XWikiContext inputxcontext,
boolean bTransaction) |
XWikiRCSNodeContent |
XWikiHibernateVersioningStore.loadRCSNodeContent(XWikiRCSNodeId id,
boolean bTransaction,
XWikiContext context) |
XWikiRCSNodeContent |
XWikiVersioningStoreInterface.loadRCSNodeContent(XWikiRCSNodeId id,
boolean bTransaction,
XWikiContext context)
Load
XWikiRCSNodeContent on demand. |
void |
XWikiHibernateStore.loadXWikiCollection(BaseCollection object,
XWikiContext context,
boolean bTransaction)
Deprecated.
This is internal to XWikiHibernateStore and may be removed in the future.
|
XWikiDocument |
XWikiHibernateVersioningStore.loadXWikiDoc(XWikiDocument basedoc,
String sversion,
XWikiContext inputxcontext) |
XWikiDocument |
XWikiVersioningStoreInterface.loadXWikiDoc(XWikiDocument doc,
String version,
XWikiContext context) |
XWikiDocument |
XWikiStoreInterface.loadXWikiDoc(XWikiDocument doc,
XWikiContext context) |
XWikiDocument |
XWikiCacheStore.loadXWikiDoc(XWikiDocument doc,
XWikiContext inputxcontext) |
XWikiDocument |
XWikiHibernateStore.loadXWikiDoc(XWikiDocument doc,
XWikiContext inputxcontext) |
void |
XWikiHibernateVersioningStore.loadXWikiDocArchive(XWikiDocumentArchive archivedoc,
boolean bTransaction,
XWikiContext context) |
void |
XWikiVersioningStoreInterface.loadXWikiDocArchive(XWikiDocumentArchive archivedoc,
boolean bTransaction,
XWikiContext context) |
default void |
XWikiStoreInterface.renameXWikiDoc(XWikiDocument doc,
DocumentReference newReference,
XWikiContext context)
Atomic operation for renaming a document.
|
void |
XWikiCacheStore.renameXWikiDoc(XWikiDocument doc,
DocumentReference newReference,
XWikiContext inputxcontext) |
void |
XWikiHibernateStore.renameXWikiDoc(XWikiDocument doc,
DocumentReference newReference,
XWikiContext inputxcontext)
Atomic operation for renaming a document.
|
void |
XWikiHibernateVersioningStore.resetRCSArchive(XWikiDocument doc,
boolean bTransaction,
XWikiContext inputxcontext) |
void |
XWikiVersioningStoreInterface.resetRCSArchive(XWikiDocument doc,
boolean bTransaction,
XWikiContext context) |
XWikiDocument |
XWikiHibernateRecycleBinStore.restoreFromRecycleBin(long index,
XWikiContext inputxcontext,
boolean bTransaction) |
default XWikiDocument |
XWikiRecycleBinStoreInterface.restoreFromRecycleBin(long index,
XWikiContext context,
boolean bTransaction) |
XWikiAttachment |
AttachmentRecycleBinStore.restoreFromRecycleBin(XWikiAttachment attachment,
long index,
XWikiContext context,
boolean bTransaction)
Restore an attachment from the recycle bin (with full history).
|
XWikiDocument |
XWikiHibernateRecycleBinStore.restoreFromRecycleBin(XWikiDocument doc,
long index,
XWikiContext inputxcontext,
boolean bTransaction) |
XWikiDocument |
XWikiRecycleBinStoreInterface.restoreFromRecycleBin(XWikiDocument doc,
long index,
XWikiContext context,
boolean bTransaction)
Deprecated.
since 9.4RC1. The document parameter is useless and gets in the way. Use
XWikiRecycleBinStoreInterface.restoreFromRecycleBin(long, XWikiContext, boolean) instead. |
void |
AttachmentVersioningStore.saveArchive(XWikiAttachmentArchive archive,
XWikiContext context,
boolean bTransaction)
Save or update attachment archive.
|
void |
VoidAttachmentVersioningStore.saveArchive(XWikiAttachmentArchive archive,
XWikiContext context,
boolean transaction) |
void |
XWikiHibernateAttachmentStore.saveAttachmentContent(XWikiAttachment attachment,
boolean parentUpdate,
XWikiContext inputxcontext,
boolean bTransaction) |
void |
XWikiAttachmentStoreInterface.saveAttachmentContent(XWikiAttachment attachment,
boolean bParentUpdate,
XWikiContext context,
boolean bTransaction) |
void |
XWikiHibernateAttachmentStore.saveAttachmentContent(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction) |
void |
XWikiAttachmentStoreInterface.saveAttachmentContent(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction) |
void |
XWikiHibernateAttachmentStore.saveAttachmentsContent(List<XWikiAttachment> attachments,
XWikiDocument doc,
boolean bParentUpdate,
XWikiContext inputxcontext,
boolean bTransaction) |
void |
XWikiAttachmentStoreInterface.saveAttachmentsContent(List<XWikiAttachment> attachments,
XWikiDocument doc,
boolean bParentUpdate,
XWikiContext context,
boolean bTransaction) |
void |
XWikiStoreInterface.saveLinks(XWikiDocument doc,
XWikiContext context,
boolean bTransaction) |
void |
XWikiCacheStore.saveLinks(XWikiDocument doc,
XWikiContext context,
boolean bTransaction) |
void |
XWikiHibernateStore.saveLinks(XWikiDocument doc,
XWikiContext inputxcontext,
boolean bTransaction) |
void |
XWikiStoreInterface.saveLock(XWikiLock lock,
XWikiContext context,
boolean bTransaction) |
void |
XWikiCacheStore.saveLock(XWikiLock lock,
XWikiContext context,
boolean bTransaction) |
void |
XWikiHibernateStore.saveLock(XWikiLock lock,
XWikiContext inputxcontext,
boolean bTransaction) |
void |
AttachmentRecycleBinStore.saveToRecycleBin(XWikiAttachment attachment,
String deleter,
Date date,
XWikiContext context,
boolean bTransaction)
Save attachment to recycle bin, with full history.
|
void |
XWikiHibernateRecycleBinStore.saveToRecycleBin(XWikiDocument doc,
String deleter,
Date date,
String batchId,
XWikiContext inputxcontext,
boolean bTransaction) |
default void |
XWikiRecycleBinStoreInterface.saveToRecycleBin(XWikiDocument doc,
String deleter,
Date date,
String batchId,
XWikiContext context,
boolean bTransaction)
Save document to recycle bin.
|
void |
XWikiHibernateRecycleBinStore.saveToRecycleBin(XWikiDocument doc,
String deleter,
Date date,
XWikiContext inputxcontext,
boolean bTransaction) |
void |
XWikiRecycleBinStoreInterface.saveToRecycleBin(XWikiDocument doc,
String deleter,
Date date,
XWikiContext context,
boolean bTransaction)
Save document to recycle bin.
|
void |
XWikiHibernateStore.saveXWikiCollection(BaseCollection object,
XWikiContext inputxcontext,
boolean bTransaction)
Deprecated.
This is internal to XWikiHibernateStore and may be removed in the future.
|
void |
XWikiStoreInterface.saveXWikiDoc(XWikiDocument doc,
XWikiContext context) |
void |
XWikiCacheStore.saveXWikiDoc(XWikiDocument doc,
XWikiContext context) |
void |
XWikiHibernateStore.saveXWikiDoc(XWikiDocument doc,
XWikiContext context) |
void |
XWikiStoreInterface.saveXWikiDoc(XWikiDocument doc,
XWikiContext context,
boolean bTransaction) |
void |
XWikiCacheStore.saveXWikiDoc(XWikiDocument doc,
XWikiContext inputxcontext,
boolean bTransaction) |
void |
XWikiHibernateStore.saveXWikiDoc(XWikiDocument doc,
XWikiContext inputxcontext,
boolean bTransaction) |
void |
XWikiHibernateVersioningStore.saveXWikiDocArchive(XWikiDocumentArchive archivedoc,
boolean bTransaction,
XWikiContext context) |
void |
XWikiVersioningStoreInterface.saveXWikiDocArchive(XWikiDocumentArchive archivedoc,
boolean bTransaction,
XWikiContext context) |
List |
XWikiHibernateStore.search(org.hibernate.query.Query query,
int nb,
int start,
XWikiContext inputxcontext) |
<T> List<T> |
XWikiStoreInterface.search(String sql,
int nb,
int start,
List<?> parameterValues,
XWikiContext context)
Execute a reading request with parameters and return result.
|
<T> List<T> |
XWikiCacheStore.search(String sql,
int nb,
int start,
List<?> parameterValues,
XWikiContext context) |
<T> List<T> |
XWikiHibernateStore.search(String sql,
int nb,
int start,
List<?> parameterValues,
XWikiContext context) |
<T> List<T> |
XWikiStoreInterface.search(String sql,
int nb,
int start,
Object[][] whereParams,
List<?> parameterValues,
XWikiContext context)
Execute a reading request with parameters and return result.
|
<T> List<T> |
XWikiCacheStore.search(String sql,
int nb,
int start,
Object[][] whereParams,
List<?> parameterValues,
XWikiContext context) |
<T> List<T> |
XWikiHibernateStore.search(String sql,
int nb,
int start,
Object[][] whereParams,
List<?> parameterValues,
XWikiContext inputxcontext) |
<T> List<T> |
XWikiStoreInterface.search(String sql,
int nb,
int start,
Object[][] whereParams,
XWikiContext context)
Execute a reading request and return result.
|
<T> List<T> |
XWikiCacheStore.search(String sql,
int nb,
int start,
Object[][] whereParams,
XWikiContext context) |
<T> List<T> |
XWikiHibernateStore.search(String sql,
int nb,
int start,
Object[][] whereParams,
XWikiContext context) |
<T> List<T> |
XWikiStoreInterface.search(String sql,
int nb,
int start,
XWikiContext context)
Execute a reading request and return result.
|
<T> List<T> |
XWikiCacheStore.search(String sql,
int nb,
int start,
XWikiContext context) |
<T> List<T> |
XWikiHibernateStore.search(String sql,
int nb,
int start,
XWikiContext context) |
List<DocumentReference> |
XWikiStoreInterface.searchDocumentReferences(String parametrizedSqlClause,
int nb,
int start,
List<?> parameterValues,
XWikiContext context)
Search documents by passing HQL where clause values as parameters.
|
List<DocumentReference> |
XWikiCacheStore.searchDocumentReferences(String parametrizedSqlClause,
int nb,
int start,
List<?> parameterValues,
XWikiContext context) |
List<DocumentReference> |
XWikiHibernateStore.searchDocumentReferences(String parametrizedSqlClause,
int nb,
int start,
List<?> parameterValues,
XWikiContext context) |
List<DocumentReference> |
XWikiStoreInterface.searchDocumentReferences(String wheresql,
int nb,
int start,
String selectColumns,
XWikiContext context) |
List<DocumentReference> |
XWikiCacheStore.
|