Uses of Class
com.xpn.xwiki.XWikiContext
-
-
Uses of XWikiContext in com.xpn.xwiki
Methods in com.xpn.xwiki that return XWikiContext Modifier and Type Method Description XWikiContextXWikiContext. clone()XWikiContextXWikiContextInitializer. initialize(org.xwiki.context.ExecutionContext econtext)Methods in com.xpn.xwiki with parameters of type XWikiContext Modifier and Type Method Description StringXWiki. addMandatory(XWikiContext context)StringXWiki. addTooltip(String html, String message, XWikiContext context)StringXWiki. addTooltip(String html, String message, String params, XWikiContext context)StringXWiki. addTooltipJS(XWikiContext context)protected voidXWiki. addUserToGroup(String userName, String groupName, XWikiContext context)booleanXWiki. checkAccess(String action, XWikiDocument doc, XWikiContext context)intXWiki. checkActive(XWikiContext context)Deprecated.since 11.8RC1 prefer usingXWikiUser.isDisabled(XWikiContext).intXWiki. checkActive(String user, XWikiContext context)Deprecated.since 11.8RC1 prefer usingXWikiUser.isDisabled(XWikiContext).XWikiUserXWiki. checkAuth(XWikiContext context)Authenticate the user from the context and check if the user is disabled or not.voidXWiki. checkDeletingDocument(DocumentReference userReference, XWikiDocument document, XWikiContext context)Check if the user is allowed to delete the document.voidXWiki. checkSavingDocument(DocumentReference userReference, XWikiDocument document, XWikiContext context)Check if the user is allowed to save the document.voidXWiki. checkSavingDocument(DocumentReference userReference, XWikiDocument document, String comment, boolean isMinorEdit, XWikiContext context)Check if the user is allowed to save the document.voidXWiki. checkSavingDocument(DocumentReference userReference, XWikiDocument document, String comment, XWikiContext context)Check if the user is allowed to save the document.StringXWiki. clearName(String name, boolean stripDots, boolean ascii, XWikiContext context)StringXWiki. clearName(String name, XWikiContext context)StringXWiki. convertUsername(String username, XWikiContext context)booleanXWiki. copyDocument(DocumentReference sourceDocumentReference, DocumentReference targetDocumentReference, boolean reset, boolean force, boolean resetCreationData, XWikiContext context)booleanXWiki. copyDocument(DocumentReference sourceDocumentReference, DocumentReference targetDocumentReference, boolean reset, XWikiContext context)booleanXWiki. copyDocument(DocumentReference sourceDocumentReference, DocumentReference targetDocumentReference, XWikiContext context)booleanXWiki. copyDocument(DocumentReference sourceDocumentReference, DocumentReference targetDocumentReference, String wikilocale, boolean reset, boolean force, boolean resetCreationData, XWikiContext context)booleanXWiki. copyDocument(DocumentReference sourceDocumentReference, DocumentReference targetDocumentReference, String wikilocale, boolean reset, boolean force, XWikiContext context)booleanXWiki. copyDocument(DocumentReference sourceDocumentReference, DocumentReference targetDocumentReference, String wikilocale, boolean reset, XWikiContext context)booleanXWiki. copyDocument(DocumentReference sourceDocumentReference, DocumentReference targetDocumentReference, String wikilocale, XWikiContext context)intXWiki. copySpaceBetweenWikis(String space, String sourceWiki, String targetWiki, String locale, boolean clean, XWikiContext context)intXWiki. copySpaceBetweenWikis(String space, String sourceWiki, String targetWiki, String locale, XWikiContext context)intXWiki. copyWiki(String sourceWiki, String targetWiki, String locale, boolean clean, XWikiContext context)Deprecated.since 5.3, useWikiManager.copy(String, String, String, boolean, boolean, boolean)insteadintXWiki. copyWiki(String sourceWiki, String targetWiki, String locale, XWikiContext context)Deprecated.since 5.3, useWikiManager.copy(String, String, String, boolean, boolean, boolean)insteadintXWiki. countAttachments(String parametrizedSqlClause, List<?> parameterValues, XWikiContext context)Count attachments returned by a given parameterized queryprotected ObjectXWiki. createClassFromConfig(String param, String defClass, XWikiContext context)booleanXWiki. 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 trustedintXWiki. createUser(boolean withValidation, String userRights, XWikiContext context)intXWiki. createUser(XWikiContext context)intXWiki. createUser(String userName, Map<String,?> map, XWikiContext context)Create a new user.intXWiki. createUser(String userName, Map<String,?> map, String userRights, XWikiContext context)Create a new user.intXWiki. createUser(String xwikiname, Map<String,?> map, String parent, String content, String userRights, XWikiContext context)Deprecated.starting with XE 1.8.1 useXWiki.createUser(String, Map, String, String, String, String, XWikiContext)insteadintXWiki. createUser(String userName, Map<String,?> map, String parent, String content, String syntaxId, String userRights, XWikiContext context)Deprecated.since 2.4RC1 useXWiki.createUser(String, Map, EntityReference, String, Syntax, String, XWikiContext)insteadintXWiki. createUser(String userName, Map<String,?> map, EntityReference parentReference, String content, org.xwiki.rendering.syntax.Syntax syntax, String userRights, XWikiContext context)Create a new user.voidXWiki. deleteAllDocuments(XWikiDocument doc, boolean toTrash, XWikiContext context)voidXWiki. deleteAllDocuments(XWikiDocument doc, XWikiContext context)voidXWiki. deleteDocument(XWikiDocument doc, boolean totrash, XWikiContext context)voidXWiki. deleteDocument(XWikiDocument doc, XWikiContext context)voidXWiki. deleteDocumentVersions(XWikiDocument document, String version1, String version2, boolean triggeredByUser, XWikiContext context)Delete a range of versions from a document history.voidXWiki. deleteDocumentVersions(XWikiDocument document, String version1, String version2, XWikiContext context)Delete a range of versions from a document history.StringXWiki. evaluateTemplate(String template, XWikiContext context)Deprecated.since 7.0M1, useTemplateManager.render(String)insteadbooleanXWiki. exists(String fullname, XWikiContext context)Deprecated.since 2.2.1 useXWiki.exists(DocumentReference, XWikiContext)booleanXWiki. exists(DocumentReference documentReference, XWikiContext context)Check if a document exist.booleanXWiki. exists(PageReference reference, XWikiContext context)Returns whether a page exists or not.voidXWiki. flushCache(XWikiContext context)StringXWiki. formatDate(Date date, String format, XWikiContext context)StringXWiki. getAdClientId(XWikiContext context)StringXWiki. getAdType(XWikiContext context)StringXWiki. getAttachmentRevisionURL(AttachmentReference attachmentReference, String revision, String queryString, XWikiContext context)StringXWiki. getAttachmentURL(String fullname, String filename, XWikiContext context)StringXWiki. getAttachmentURL(String fullname, String filename, String queryString, XWikiContext context)StringXWiki. getAttachmentURL(AttachmentReference attachmentReference, String queryString, XWikiContext context)StringXWiki. getAttachmentURL(AttachmentReference attachmentReference, String action, String queryString, XWikiContext context)List<Locale>XWiki. getAvailableLocales(XWikiContext xcontext)Get the available locales according to the preferences.StringXWiki. getBaseSkin(XWikiContext context)Deprecated.since 7.0M1StringXWiki. getBaseSkin(XWikiContext context, boolean fromRenderSkin)Deprecated.since 7.0M1StringXWiki. getBaseSkin(String skin, XWikiContext context)Deprecated.since 7.0M1, useSkinManager.getCurrentSkin(boolean)andSkin.getParent()insteadBaseClassXWiki. getClass(String fullName, XWikiContext context)Deprecated.since 2.2M2 useXWiki.getXClass(DocumentReference, XWikiContext)List<String>XWiki. getClassList(XWikiContext context)BaseClassXWiki. getCommentsClass(XWikiContext context)StringXWiki. getConvertingUserNameType(XWikiContext context)XWikiCriteriaServiceXWiki. getCriteriaService(XWikiContext context)StringXWiki. getCurrentContentSyntaxId(XWikiContext context)Get the syntax of the content currently being executed.StringXWiki. getCurrentContentSyntaxId(String defaultSyntaxId, XWikiContext context)Get the syntax of the content currently being executed.StringXWiki. getDefaultBaseSkin(XWikiContext context)Deprecated.since 7.0M1, useSkinManager.getDefaultParentSkin()insteadStringXWiki. getDefaultLanguage(XWikiContext xcontext)Deprecated.since 5.1M2 useXWiki.getDefaultLocale(XWikiContext)insteadLocaleXWiki. getDefaultLocale(XWikiContext xcontext)The default locale in the preferences.StringXWiki. getDefaultPage(XWikiContext context)StringXWiki. getDefaultSpace(XWikiContext context)DeletedAttachmentXWiki. getDeletedAttachment(String id, XWikiContext context)Retrieve a specific attachment from the trash.List<DeletedAttachment>XWiki. getDeletedAttachments(String docName, XWikiContext context)Retrieve all the deleted attachments that belonged to a certain document.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.XWikiDeletedDocumentXWiki. getDeletedDocument(long index, XWikiContext context)XWikiDeletedDocumentXWiki. getDeletedDocument(String fullname, String locale, int index, XWikiContext context)Deprecated.since 9.4RC1.XWikiDeletedDocument[]XWiki. getDeletedDocuments(String batchId, XWikiContext context)XWikiDeletedDocument[]XWiki. getDeletedDocuments(String fullname, String locale, XWikiContext context)StringXWiki. getDocLanguagePreferenceNew(XWikiContext context)Deprecated.since 8.0M1, useXWiki.getDocLocalePreferenceNew(XWikiContext)insteadLocaleXWiki. getDocLocalePreferenceNew(XWikiContext context)XWikiDocumentXWiki. getDocument(XWikiDocument doc, XWikiContext context)XWikiDocumentXWiki. getDocument(XWikiDocument document, String revision, XWikiContext context)Deprecated.sine 9.10RC1, useDocumentRevisionProvider.getRevision(XWikiDocument, String)insteadXWikiDocumentXWiki. getDocument(String fullname, XWikiContext context)Deprecated.since 2.2M1 useXWiki.getDocument(DocumentReference, XWikiContext)insteadXWikiDocumentXWiki. getDocument(String spaces, String fullname, XWikiContext context)Deprecated.since 2.2M1 useXWiki.getDocument(DocumentReference, XWikiContext)insteadXWikiDocumentXWiki. getDocument(String reference, EntityType type, XWikiContext xcontext)Loads a XWikiDocument from the store.XWikiDocumentXWiki. getDocument(DocumentReference reference, XWikiContext context)XWikiDocumentXWiki. getDocument(DocumentReference reference, String revision, XWikiContext context)Deprecated.sine 9.10RC1, useDocumentRevisionProvider.getRevision(DocumentReference, String)insteadXWikiDocumentXWiki. getDocument(EntityReference reference, XWikiContext context)Loads a XWikiDocument from the store.XWikiDocumentXWiki. getDocument(PageReference reference, XWikiContext context)DocumentReferenceXWiki. getDocumentReference(XWikiRequest request, XWikiContext context)DocumentReferenceXWiki. 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).BaseClassXWiki. getEditModeClass(XWikiContext context)Verify if theXWiki.EditModeClasspage exists and that it contains all the required configuration properties to make the edit mode feature work properly.StringXWiki. getEditorPreference(XWikiContext context)StringXWiki. getExternalAttachmentURL(String fullName, String filename, XWikiContext context)StringXWiki. getExternalURL(String fullname, String action, XWikiContext context)StringXWiki. getExternalURL(String fullname, String action, String querystring, XWikiContext context)StringXWiki. getExternalURL(DocumentReference documentReference, String action, String querystring, String anchor, XWikiContext context)Get the full URL of the givenDocumentReference.BaseClassXWiki. getGlobalRightsClass(XWikiContext context)BaseClassXWiki. getGroupClass(XWikiContext context)XWikiGroupServiceXWiki. getGroupService(XWikiContext context)intXWiki. getHttpTimeout(XWikiContext context)StringXWiki. getHttpUserAgent(XWikiContext context)StringXWiki. getIconURL(String iconName, XWikiContext context)List<String>XWiki. getIncludedMacros(String defaultSpace, String content, XWikiContext context)StringXWiki. getInterfaceLanguagePreference(XWikiContext context)Deprecated.since 8.0M1, useXWiki.getInterfaceLocalePreference(XWikiContext)insteadLocaleXWiki. getInterfaceLocalePreference(XWikiContext context)StringXWiki. getLanguagePreference(XWikiContext context)Deprecated.since 8.0M1, useXWiki.getLocalePreference(XWikiContext)insteadLocaleXWiki. 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_languagexproperty inXWikiPreferencesxobject or English if not found) If the wiki is multilingual Try to get the locale passed in the request (looking for alanguagequery string parameter).StringXWiki. getLocalUserName(String user, XWikiContext context)StringXWiki. getLocalUserName(String user, String format, boolean link, XWikiContext context)StringXWiki. getLocalUserName(String user, String format, XWikiContext context)StringXWiki. getMacroList(XWikiContext context)static XWikiXWiki. getMainXWiki(boolean wait, XWikiContext context)static XWikiXWiki. getMainXWiki(XWikiContext context)intXWiki. getMaxRecursiveSpaceChecks(XWikiContext context)BaseObjectXWiki. getObjectFromRequest(String className, XWikiContext context)StringXWiki. getPlainUserName(DocumentReference userReference, XWikiContext context)Generate and return an unescaped user display name.XWikiPluginInterfaceXWiki. getPlugin(String name, XWikiContext context)Deprecated.ApiXWiki. getPluginApi(String name, XWikiContext context)Deprecated.BaseClassXWiki. getPrefsClass(XWikiContext context)Verify if theXWiki.XWikiPreferencespage exists and that it contains all the required configuration properties to make XWiki work properly.PropertyClassXWiki. getPropertyClassFromName(String propPath, XWikiContext context)BaseClassXWiki. getRedirectClass(XWikiContext context)Verify if theXWiki.GlobalRedirectpage exists and that it contains all the required configuration properties to make the redirection feature work properly.StringXWiki. getRefererText(String referer, XWikiContext context)BaseClassXWiki. getRightsClass(XWikiContext context)BaseClassXWiki. getRightsClass(String pagename, XWikiContext context)URLXWiki. getServerURL(String wikiId, XWikiContext xcontext)StringXWiki. getServletPath(String wikiName, XWikiContext context)BaseClassXWiki. getSheetClass(XWikiContext context)Deprecated.since 3.1M2 edit mode class should be used for this purpose, not the sheet classStringXWiki. getSkin(XWikiContext context)Deprecated.since 7.0M1, useSkinManager.getCurrentSkin(boolean)insteadBaseClassXWiki. getSkinClass(XWikiContext context)StringXWiki. getSkinFile(String filename, boolean forceSkinAction, XWikiContext context)Build and return a skin file url based on the given parameters.StringXWiki. getSkinFile(String filename, XWikiContext context)StringXWiki. getSkinFile(String fileName, String skinId, boolean forceSkinAction, XWikiContext context)StringXWiki. getSkinFile(String filename, String skin, XWikiContext context)StringXWiki. getSkinPreference(String prefname, XWikiContext context)StringXWiki. getSkinPreference(String prefname, String defaultValue, XWikiContext context)StringXWiki. getSpaceCopyright(XWikiContext context)List<String>XWiki. getSpaceDocsName(String spaceReference, XWikiContext context)Deprecated.use query service insteadStringXWiki. getSpacePreference(String preference, XWikiContext context)StringXWiki. getSpacePreference(String preference, String defaultValue, XWikiContext context)StringXWiki. 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.StringXWiki. 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.intXWiki. getSpacePreferenceAsInt(String preference, int defaultValue, XWikiContext context)intXWiki. getSpacePreferenceAsInt(String preference, XWikiContext context)longXWiki. getSpacePreferenceAsLong(String preference, long defaultValue, XWikiContext context)longXWiki. getSpacePreferenceAsLong(String preference, XWikiContext context)List<String>XWiki. getSpaces(XWikiContext context)Deprecated.use query service insteadXWikiStatsServiceXWiki. getStatsService(XWikiContext context)BaseClassXWiki. getTagClass(XWikiContext context)Verify if theXWiki.TagClasspage exists and that it contains all the required configuration properties to make the tag feature work properly.static StringXWiki. getTextArea(String content, XWikiContext context)StringXWiki. getUniquePageName(String space, XWikiContext context)Generates a unique page name based on initial page name and already existing pages.StringXWiki. getUniquePageName(String space, String name, XWikiContext context)Generates a unique page name based on initial page name and already existing pages.StringXWiki. getURL(String fullname, String action, XWikiContext context)Deprecated.since 2.3M2 useXWiki.getURL(DocumentReference, String, XWikiContext)StringXWiki. getURL(String fullname, String action, String querystring, XWikiContext context)StringXWiki. getURL(String fullname, String action, String queryString, String anchor, XWikiContext context)Deprecated.StringXWiki. getURL(DocumentReference reference, String action, XWikiContext context)StringXWiki. getURL(DocumentReference documentReference, String action, String queryString, String anchor, XWikiContext context)StringXWiki. getURL(EntityReference reference, XWikiContext context)StringXWiki. getURL(EntityReference reference, String action, XWikiContext context)StringXWiki. getURL(EntityReference entityReference, String action, String queryString, String anchor, XWikiContext context)StringXWiki. getURLContent(String surl, XWikiContext context)StringXWiki. getURLContent(String surl, String username, String password, XWikiContext context)byte[]XWiki. getURLContentAsBytes(String surl, XWikiContext context)byte[]XWiki. getURLContentAsBytes(String surl, String username, String password, XWikiContext context)UserXWiki. getUser(XWikiContext context)UserXWiki. getUser(String username, XWikiContext context)Deprecated.since 11.8RC1 prefer usingXWiki.getUser(DocumentReference, XWikiContext).UserXWiki. getUser(DocumentReference userReference, XWikiContext context)Retrieve a user from its document reference.BaseClassXWiki. getUserClass(XWikiContext context)Verify if theXWiki.XWikiUserspage exists and that it contains all the required configuration properties to make the user feature work properly.StringXWiki. getUserName(String user, XWikiContext context)StringXWiki. getUserName(String user, String format, boolean link, XWikiContext context)StringXWiki. getUserName(String user, String format, XWikiContext context)StringXWiki. getUserName(DocumentReference userReference, String format, boolean link, boolean escapeXML, XWikiContext context)Generate a display user name and return it.StringXWiki. getUserPreference(String prefname, boolean useCookie, XWikiContext context)StringXWiki. getUserPreference(String prefname, XWikiContext context)intXWiki. getUserPreferenceAsInt(String prefname, XWikiContext context)longXWiki. getUserPreferenceAsLong(String preference, XWikiContext context)StringXWiki. getUserPreferenceFromCookie(String prefname, XWikiContext context)StringXWiki. getUserTimeZone(XWikiContext context)List<String>XWiki. getVirtualWikisDatabaseNames(XWikiContext context)Deprecated.since 5.3, useWikiDescriptorManager.getAllIds()insteadStringXWiki. getWebAppPath(XWikiContext context)StringXWiki. getWikiOwner(String wikiName, XWikiContext context)Get the reference of the owner for the provider wiki.StringXWiki. getWysiwygToolbars(XWikiContext context)BaseClassXWiki. getXClass(DocumentReference documentReference, XWikiContext context)static XWikiXWiki. getXWiki(boolean wait, XWikiContext xcontext)Return the XWiki object (as in "the Wiki API") corresponding to the requested wiki.static XWikiXWiki. getXWiki(XWikiContext context)Return the XWiki object (as in "the Wiki API") corresponding to the requested wiki.StringXWiki. getXWikiPreference(String prefname, XWikiContext context)StringXWiki. getXWikiPreference(String prefname, String defaultValue, XWikiContext context)StringXWiki. 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.StringXWiki. 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.intXWiki. getXWikiPreferenceAsInt(String preference, int defaultValue, XWikiContext context)intXWiki. getXWikiPreferenceAsInt(String preference, XWikiContext context)intXWiki. getXWikiPreferenceAsInt(String preference, String fallbackParameter, int defaultValue, XWikiContext context)longXWiki. getXWikiPreferenceAsLong(String preference, long defaultValue, XWikiContext context)longXWiki. getXWikiPreferenceAsLong(String preference, XWikiContext context)longXWiki. getXWikiPreferenceAsLong(String preference, String fallbackParameter, long defaultValue, XWikiContext context)ZipOutputStreamXWiki. getZipOutputStream(XWikiContext context)booleanXWiki. hasAttachmentRecycleBin(XWikiContext context)Indicates whether deleted attachments are stored in a recycle bin or not.booleanXWiki. hasAttachmentVersioning(XWikiContext context)booleanXWiki. hasBacklinks(XWikiContext context)booleanXWiki. hasCentralizedAuthentication(XWikiContext context)booleanXWiki. hasEditComment(XWikiContext context)booleanXWiki. hasMinorEdit(XWikiContext context)booleanXWiki. hasRecycleBin(XWikiContext context)booleanXWiki. hasSectionEdit(XWikiContext context)booleanXWiki. hasTags(XWikiContext context)booleanXWiki. hasVersioning(XWikiContext context)StringXWiki. include(String topic, boolean isForm, XWikiContext context)voidXWiki. initializeMandatoryDocuments(XWikiContext context)Ensure that mandatory classes (ie classes XWiki needs to work properly) exist and create them if they don't exist.booleanXWiki. initializeWiki(String wikiId, boolean wait, XWikiContext xcontext)Make sure the wiki is initializing or wait for it.voidXWiki. initXWiki(XWikiConfig config, XWikiContext context, XWikiEngineContext engineContext, boolean noupdate)Deprecated.since 6.1M2, useXWiki.initXWiki(XWikiContext, XWikiEngineContext, boolean)insteadvoidXWiki. initXWiki(XWikiContext context, XWikiEngineContext engineContext, boolean noupdate)Initialize all xwiki subsystems.booleanXWiki. isEditCommentFieldHidden(XWikiContext context)booleanXWiki. isEditCommentMandatory(XWikiContext context)booleanXWiki. isEditCommentSuggested(XWikiContext context)static booleanXWiki. isInitializing(XWikiContext xcontext)booleanXWiki. isMultiLingual(XWikiContext context)StringXWiki. ParamAsRealPath(String key, XWikiContext context)StringXWiki. parseContent(String content, XWikiContext context)Deprecated.Since 7.2M1.ObjectXWiki. parseGroovyFromPage(String fullName, XWikiContext context)ObjectXWiki. parseGroovyFromPage(String fullName, String jarWikiPage, XWikiContext context)ObjectXWiki. parseGroovyFromString(String script, XWikiContext xcontext)Privileged API to retrieve an object instantiated from groovy code in a String.ObjectXWiki. 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.StringXWiki. parseTemplate(String template, XWikiContext context)Deprecated.useXWiki.evaluateTemplate(String, XWikiContext)insteadStringXWiki. parseTemplate(String template, String skinId, XWikiContext context)Deprecated.since 7.0M1, useTemplateManager.renderFromSkin(java.lang.String, org.xwiki.skin.Skin)insteadbooleanXWiki. prepareDocuments(XWikiRequest request, XWikiContext context, org.apache.velocity.VelocityContext vcontext)voidXWiki. prepareResources(XWikiContext context)Prepares the localized resources, according to the selected locale.voidXWiki. protectUserPage(String userName, String userRights, XWikiDocument doc, XWikiContext context)voidXWiki. refreshLinks(XWikiContext context)voidXWiki. renameByCopyAndDelete(XWikiDocument sourceDoc, DocumentReference newDocumentReference, List<DocumentReference> backlinkDocumentReferences, List<DocumentReference> childDocumentReferences, XWikiContext context)Deprecated.Old implementation of the rename by copy and delete.booleanXWiki. renameDocument(DocumentReference sourceDocumentReference, DocumentReference targetDocumentReference, boolean overwrite, List<DocumentReference> backlinkDocumentReferences, List<DocumentReference> childDocumentReferences, XWikiContext context)API to rename a document to another document.StringXWiki. renderTemplate(String template, XWikiContext context)StringXWiki. renderTemplate(String template, String skin, XWikiContext context)voidXWiki. restoreFromRecycleBin(long index, String comment, XWikiContext context)Restore a document with passed index from recycle bin.voidXWiki. restoreFromRecycleBin(XWikiDocument doc, long index, String comment, XWikiContext context)Deprecated.since 9.4RC1.voidXWiki. restoreFromRecycleBin(XWikiDocument doc, String comment, XWikiContext context)Restore a document with passed index from recycle bin.XWikiDocumentXWiki. rollback(XWikiDocument tdoc, String rev, boolean addRevision, boolean triggeredByUser, XWikiContext xcontext)XWikiDocumentXWiki. rollback(XWikiDocument tdoc, String rev, boolean addRevision, XWikiContext xcontext)XWikiDocumentXWiki. rollback(XWikiDocument tdoc, String rev, XWikiContext context)voidXWiki. saveDocument(XWikiDocument doc, XWikiContext context)voidXWiki. saveDocument(XWikiDocument document, String comment, boolean isMinorEdit, XWikiContext context)Save the passed document in the store.voidXWiki. saveDocument(XWikiDocument doc, String comment, XWikiContext context)<T> List<T>XWiki. search(String sql, int nb, int start, XWikiContext context)<T> List<T>XWiki. search(String sql, int nb, int start, Object[][] whereParams, XWikiContext context)<T> List<T>XWiki. search(String sql, XWikiContext context)<T> List<T>XWiki. search(String sql, Object[][] whereParams, 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 filtervoidXWiki. sendConfirmationEmail(String xwikiname, String password, String email, String message, String contentfield, XWikiContext context)voidXWiki. sendValidationEmail(String xwikiname, String password, String email, String validkey, String contentfield, XWikiContext context)voidXWiki. sendValidationEmail(String xwikiname, String password, String email, String addfieldname, String addfieldvalue, String contentfield, XWikiContext context)voidXWiki. setPhonyDocument(String docName, XWikiContext context, org.apache.velocity.VelocityContext vcontext)Deprecated.voidXWiki. setPhonyDocument(DocumentReference reference, XWikiContext context)voidXWiki. setPhonyDocument(DocumentReference reference, XWikiContext context, org.apache.velocity.VelocityContext vcontext)Deprecated.since 8.3M1, useXWiki.setPhonyDocument(DocumentReference, XWikiContext)insteadvoidXWiki. setUserDefaultGroup(String fullwikiname, XWikiContext context)booleanXWiki. showViewAction(XWikiContext context)voidXWiki. updateDatabase(String wikiId, boolean force, boolean initDocuments, XWikiContext context)Deprecated.since 8.4RC1, useXWiki.initializeWiki(String, boolean, XWikiContext)insteadvoidXWiki. updateDatabase(String wikiId, boolean force, XWikiContext context)Deprecated.since 8.4RC1, useXWiki.initializeWiki(String, boolean, XWikiContext)insteadvoidXWiki. updateDatabase(String wikiId, XWikiContext context)Deprecated.since 8.4RC1, useXWiki.initializeWiki(String, boolean, XWikiContext)insteadbooleanXWiki. useDefaultAction(XWikiContext context)booleanXWiki. validateDocument(XWikiDocument doc, XWikiContext context)intXWiki. validateUser(boolean withConfirmEmail, XWikiContext context)Constructors in com.xpn.xwiki with parameters of type XWikiContext Constructor Description XWiki(XWikiConfig config, XWikiContext context)Deprecated.since 6.1M3, useXWiki(XWikiContext)insteadXWiki(XWikiConfig config, XWikiContext context, XWikiEngineContext engine_context, boolean noupdate)Deprecated.since 6.1M3, useXWiki(XWikiContext, XWikiEngineContext, boolean)insteadXWiki(XWikiContext context)Initialize all xwiki subsystems.XWiki(XWikiContext context, XWikiEngineContext engineContext, boolean noupdate)Initialize all xwiki subsystems.XWiki(InputStream is, XWikiContext context, XWikiEngineContext engine_context)Deprecated.useXWiki(XWikiContext, XWikiEngineContext, boolean)insteadXWiki(String xwikicfgpath, XWikiContext context)Deprecated.useXWiki(XWikiContext)insteadXWiki(String xwikicfgpath, XWikiContext context, XWikiEngineContext engine_context, boolean noupdate)Deprecated.useXWiki(XWikiContext, XWikiEngineContext, boolean)instead -
Uses of XWikiContext in com.xpn.xwiki.api
Fields in com.xpn.xwiki.api declared as XWikiContext Modifier and Type Field Description protected XWikiContextApi. contextThe current context, needed by the underlying protected object.Methods in com.xpn.xwiki.api that return XWikiContext Modifier and Type Method Description XWikiContextContext. getContext()Returns the XWiki context.protected XWikiContextApi. 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.Constructors in com.xpn.xwiki.api with parameters of type XWikiContext Constructor 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 currentcontextand the specified protecteddeleted attachmentobject.DeletedDocument(XWikiDeletedDocument deletedDoc, XWikiContext context)Simple constructor, initializes a new API object with the currentcontextand the specified protecteddeleted documentobject.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 aPropertyClass, given acontext.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 -
Uses of XWikiContext in com.xpn.xwiki.criteria.impl
Constructors in com.xpn.xwiki.criteria.impl with parameters of type XWikiContext Constructor Description XWikiCriteriaServiceImpl(XWikiContext context) -
Uses of XWikiContext in com.xpn.xwiki.doc
Methods in com.xpn.xwiki.doc with parameters of type XWikiContext Modifier and Type Method Description XWikiAttachmentXWikiDocument. addAttachment(String fileName, byte[] content, XWikiContext context)Deprecated.XWikiAttachmentXWikiDocument. addAttachment(String fileName, InputStream content, XWikiContext context)Deprecated.BaseObjectXWikiDocument. addObjectFromRequest(String className, int num, XWikiContext context)Deprecated.BaseObjectXWikiDocument. addObjectFromRequest(String className, XWikiContext context)Deprecated.BaseObjectXWikiDocument. addObjectFromRequest(String className, String prefix, int num, XWikiContext context)Deprecated.BaseObjectXWikiDocument. addObjectFromRequest(String className, String prefix, XWikiContext context)Deprecated.List<BaseObject>XWikiDocument. addObjectsFromRequest(String className, XWikiContext context)Deprecated.List<BaseObject>XWikiDocument. addObjectsFromRequest(String className, String pref, XWikiContext context)Deprecated.voidXWikiDocument. addToZip(ZipOutputStream zos, boolean withVersions, XWikiContext context)Deprecated.voidXWikiDocument. addToZip(ZipOutputStream zos, XWikiContext context)Deprecated.voidXWikiDocument. addToZip(ZipOutputStream zos, String zipname, boolean withVersions, XWikiContext context)Deprecated.BaseObjectXWikiDocument. addXObjectFromRequest(XWikiContext context)Adds an object from an new object creation form.BaseObjectXWikiDocument. addXObjectFromRequest(DocumentReference classReference, int num, XWikiContext context)Adds object from an new object creation form.BaseObjectXWikiDocument. addXObjectFromRequest(DocumentReference classReference, String prefix, XWikiContext context)Adds an object from an new object creation form.BaseObjectXWikiDocument. addXObjectFromRequest(EntityReference classReference, XWikiContext context)Adds an object from an new object creation form.BaseObjectXWikiDocument. addXObjectFromRequest(EntityReference classReference, String prefix, int num, XWikiContext context)Adds object from an new object creation form.List<BaseObject>XWikiDocument. addXObjectsFromRequest(DocumentReference classReference, XWikiContext context)Adds multiple objects from an new objects creation form.List<BaseObject>XWikiDocument. addXObjectsFromRequest(DocumentReference classReference, String pref, XWikiContext context)Adds multiple objects from an new objects creation form.static voidXWikiDocument. backupContext(Map<String,Object> backup, XWikiContext context)XWikiAttachmentXWikiAttachment. clone(String name, XWikiContext context)Clone the attachment and its history to a new name, and attach it to a new document.XWikiAttachmentArchiveXWikiAttachmentArchive. clone(XWikiAttachment attachment, XWikiContext context)Clone the attachment archive while replacing the name and the document of the revisions to the one of the attachment passed in parameter.XWikiDocumentArchiveXWikiDocumentArchive. clone(long docId, XWikiContext context)XWikiDocumentXWikiDocument. cloneRename(DocumentReference newDocumentReference, XWikiContext context)Clone a document and change its reference.booleanXWikiAttachment. contentExists(XWikiContext xcontext)voidXWikiDocument. convertSyntax(String targetSyntaxId, XWikiContext context)Convert the current document content from its current syntax to the new syntax passed as parameter.voidXWikiDocument. 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.XWikiDocumentXWikiDocument. copyDocument(String newDocumentName, XWikiContext context)Deprecated.XWikiDocumentXWikiDocument. copyDocument(DocumentReference newDocumentReference, boolean cloneArchive, XWikiContext context)XWikiDocumentXWikiDocument. copyDocument(DocumentReference newDocumentReference, XWikiContext context)intXWikiDocument. createNewObject(String className, XWikiContext context)Deprecated.intXWikiDocument. createXObject(EntityReference classReference, XWikiContext context)Create and add a new object to the document with the provided class.StringXWikiDocument. display(String fieldname, BaseObject obj, XWikiContext context)StringXWikiDocument. display(String fieldname, XWikiContext context)StringXWikiDocument. display(String fieldname, String type, BaseObject obj, boolean isolated, XWikiContext context)StringXWikiDocument. display(String fieldname, String type, BaseObject obj, XWikiContext context)StringXWikiDocument. display(String fieldname, String type, BaseObject obj, String wrappingSyntaxId, XWikiContext context)StringXWikiDocument. display(String fieldname, String mode, XWikiContext context)StringXWikiDocument. display(String fieldname, String type, String pref, BaseObject obj, boolean isolated, XWikiContext context)StringXWikiDocument. display(String fieldname, String type, String pref, BaseObject obj, XWikiContext context)StringXWikiDocument. display(String fieldname, String type, String pref, BaseObject obj, String wrappingSyntaxId, boolean isolated, XWikiContext context)StringXWikiDocument. display(String fieldname, String type, String pref, BaseObject obj, String wrappingSyntaxId, XWikiContext context)StringXWikiDocument. display(String fieldname, String mode, String prefix, XWikiContext context)StringXWikiDocument. displayDocument(boolean restricted, XWikiContext context)Execute and render the current document in the current context.StringXWikiDocument. displayDocument(XWikiContext context)Execute and render the current document in the current context.StringXWikiDocument. displayDocument(org.xwiki.rendering.syntax.Syntax targetSyntax, boolean restricted, XWikiContext context)Execute and render the current document in the current context.StringXWikiDocument. displayDocument(org.xwiki.rendering.syntax.Syntax targetSyntax, XWikiContext context)Execute and render the current document in the current context.StringXWikiDocument. displayEdit(PropertyClass pclass, String prefix, BaseCollection object, XWikiContext context)StringXWikiDocument. displayForm(String className, XWikiContext context)Deprecated.StringXWikiDocument. displayForm(String className, String header, String format, boolean linebreak, XWikiContext context)Deprecated.StringXWikiDocument. displayForm(String className, String header, String format, XWikiContext context)Deprecated.StringXWikiDocument. displayForm(DocumentReference classReference, XWikiContext context)StringXWikiDocument. displayForm(DocumentReference classReference, String header, String format, boolean linebreak, XWikiContext context)StringXWikiDocument. displayForm(DocumentReference classReference, String header, String format, XWikiContext context)StringXWikiDocument. displayHidden(PropertyClass pclass, String prefix, BaseCollection object, XWikiContext context)StringXWikiDocument. displayPrettyName(String fieldname, boolean showMandatory, boolean before, BaseObject obj, XWikiContext context)StringXWikiDocument. displayPrettyName(String fieldname, boolean showMandatory, boolean before, XWikiContext context)StringXWikiDocument. displayPrettyName(String fieldname, boolean showMandatory, BaseObject obj, XWikiContext context)StringXWikiDocument. displayPrettyName(String fieldname, boolean showMandatory, XWikiContext context)StringXWikiDocument. displayPrettyName(String fieldname, BaseObject obj, XWikiContext context)StringXWikiDocument. displayPrettyName(String fieldname, XWikiContext context)StringXWikiDocument. displayRendered(PropertyClass pclass, String prefix, BaseCollection object, XWikiContext context)StringXWikiDocument. displayTooltip(String fieldname, BaseObject obj, XWikiContext context)StringXWikiDocument. displayTooltip(String fieldname, XWikiContext context)StringXWikiDocument. displayView(PropertyClass pclass, String prefix, BaseCollection object, XWikiContext context)booleanXWikiAttachment. equalsData(XWikiAttachment otherAttachment, XWikiContext xcontext)byte[]XWikiAttachmentArchive. getArchive(XWikiContext context)Get the archive, loading it from the database if necessary.StringXWikiDocumentArchive. getArchive(XWikiContext context)StringXWikiAttachmentArchive. getArchiveAsString(XWikiContext context)Get the archive, loading it from the database if necessary.XWikiAttachmentArchiveXWikiAttachment. getAttachmentArchive(XWikiContext xcontext)XWikiAttachmentContentXWikiAttachment. getAttachmentContent(XWikiContext xcontext)List<AttachmentDiff>XWikiDocument. getAttachmentDiff(XWikiDocument fromDoc, XWikiDocument toDoc, XWikiContext context)XWikiAttachmentXWikiAttachment. getAttachmentRevision(String rev, XWikiContext context)StringXWikiDocument. getAttachmentRevisionURL(String filename, String revision, XWikiContext context)StringXWikiDocument. getAttachmentRevisionURL(String filename, String revision, String querystring, XWikiContext context)XWikiAttachmentStoreInterfaceXWikiDocument. getAttachmentStore(XWikiContext context)Deprecated.useXWiki.getDefaultAttachmentContentStore()insteadStringXWikiDocument. getAttachmentURL(String filename, XWikiContext context)StringXWikiDocument. getAttachmentURL(String filename, String action, XWikiContext context)StringXWikiDocument. getAttachmentURL(String filename, String action, String querystring, XWikiContext context)List<String>XWikiDocument. getBackLinkedPages(XWikiContext context)Deprecated.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.List<String>XWikiDocument. getChildren(XWikiContext context)Deprecated.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(XWikiDocument fromDoc, XWikiDocument toDoc, XWikiContext context)List<org.suigeneris.jrcs.diff.delta.Delta>XWikiDocument. getContentDiff(String fromRev, XWikiContext context)List<org.suigeneris.jrcs.diff.delta.Delta>XWikiDocument. getContentDiff(String fromRev, String toRev, XWikiContext context)InputStreamXWikiAttachment. getContentInputStream(XWikiContext xcontext)Retrieve the content of this attachment as an input stream.longXWikiAttachment. getContentLongSize(XWikiContext context)intXWikiAttachment. getContentSize(XWikiContext context)Deprecated.since 9.0RC1, useXWikiAttachment.getContentLongSize(XWikiContext)insteadStringXWikiDocument. getDefaultEditMode(XWikiContext context)Gets the default edit mode for this document.StringXWikiDocument. getDefaultEditURL(XWikiContext context)XWikiDocumentArchiveLazyXWikiDocument. getDocumentArchive(XWikiContext context)XWikiDocumentArchiveXWikiDocument. getDocumentArchive(XWikiContext context)StringXWikiDocument. getEditURL(String action, String mode, XWikiContext context)StringXWikiDocument. getEditURL(String action, String mode, String language, XWikiContext context)StringXWikiDocument. getEscapedContent(XWikiContext context)StringXWikiDocument. getExternalAttachmentURL(String filename, String action, XWikiContext context)StringXWikiDocument. getExternalURL(String action, XWikiContext context)StringXWikiDocument. getExternalURL(String action, String querystring, XWikiContext context)BaseObjectXWikiDocument. getFirstObject(String fieldname, XWikiContext context)List<String>XWikiDocument. getIncludedMacros(XWikiContext context)List<String>XWikiDocument. getIncludedPages(XWikiContext context)static StringXWikiDocument. getInternalPropertyName(String propname, XWikiContext context)List<org.suigeneris.jrcs.diff.delta.Delta>XWikiDocument. getLastChanges(XWikiContext context)XWikiLockXWikiDocument. getLock(XWikiContext context)List<MetaDataDiff>XWikiDocument. getMetaDataDiff(XWikiDocument fromDoc, XWikiDocument toDoc, XWikiContext context)List<MetaDataDiff>XWikiDocument. getMetaDataDiff(String fromRev, XWikiContext context)List<MetaDataDiff>XWikiDocument. getMetaDataDiff(String fromRev, String toRev, XWikiContext context)StringXWikiAttachment. getMimeType(XWikiContext xcontext)Return the stored media type.BaseObjectXWikiDocument. getObject(String className, boolean create, XWikiContext context)Deprecated.List<List<ObjectDiff>>XWikiDocument. getObjectDiff(XWikiDocument fromDoc, XWikiDocument toDoc, XWikiContext context)Return the object differences between two document versions.List<List<ObjectDiff>>XWikiDocument. getObjectDiff(String fromRev, XWikiContext context)List<List<ObjectDiff>>XWikiDocument. getObjectDiff(String fromRev, String toRev, XWikiContext context)StringXWikiDocument. getParentURL(XWikiContext context)StringXWikiDocument. getRealLanguage(XWikiContext context)Deprecated.useXWikiDocument.getRealLocale()insteadString[]XWikiDocument. getRecentRevisions(int nb, XWikiContext context)StringXWikiDocument. getRenderedContent(boolean transformationContextIsolated, XWikiContext context)StringXWikiDocument. getRenderedContent(XWikiContext context)StringXWikiDocument. getRenderedContent(String text, String syntaxId, boolean restrictedTransformationContext, XWikiDocument sDocument, XWikiContext context)StringXWikiDocument. getRenderedContent(String text, String syntaxId, boolean restrictedTransformationContext, XWikiContext context)StringXWikiDocument. getRenderedContent(String text, String syntaxId, XWikiContext context)StringXWikiDocument. getRenderedContent(String text, String sourceSyntaxId, String targetSyntaxId, boolean restrictedTransformationContext, XWikiDocument sDocument, XWikiContext context)StringXWikiDocument. getRenderedContent(String text, String sourceSyntaxId, String targetSyntaxId, boolean restrictedTransformationContext, XWikiContext context)StringXWikiDocument. getRenderedContent(String text, String sourceSyntaxId, String targetSyntaxId, XWikiContext context)StringXWikiDocument. getRenderedContent(String text, org.xwiki.rendering.syntax.Syntax sourceSyntaxId, boolean restrictedTransformationContext, XWikiDocument sDocument, boolean isolated, XWikiContext context)StringXWikiDocument. getRenderedContent(String text, org.xwiki.rendering.syntax.Syntax sourceSyntaxId, XWikiDocument sDocument, boolean isolated, XWikiContext context)StringXWikiDocument. getRenderedContent(String text, org.xwiki.rendering.syntax.Syntax sourceSyntaxId, org.xwiki.rendering.syntax.Syntax targetSyntaxId, boolean restrictedTransformationContext, XWikiDocument sDocument, boolean isolated, XWikiContext context)StringXWikiDocument. getRenderedContent(org.xwiki.rendering.syntax.Syntax targetSyntax, boolean transformationContextIsolated, XWikiContext context)Execute and render the document or its translation in the current context.StringXWikiDocument. getRenderedContent(org.xwiki.rendering.syntax.Syntax targetSyntax, XWikiContext context)List<org.suigeneris.jrcs.diff.delta.Delta>XWikiDocument. getRenderedContentDiff(XWikiDocument fromDoc, XWikiDocument toDoc, XWikiContext context)List<org.suigeneris.jrcs.diff.delta.Delta>XWikiDocument. getRenderedContentDiff(String fromRev, XWikiContext context)List<org.suigeneris.jrcs.diff.delta.Delta>XWikiDocument. getRenderedContentDiff(String fromRev, String toRev, XWikiContext context)StringXWikiDocument. getRenderedTitle(XWikiContext context)Similar toXWikiDocument.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.StringXWikiDocument. getRenderedTitle(org.xwiki.rendering.syntax.Syntax outputSyntax, XWikiContext context)Get the rendered version of the document title.XWikiAttachmentXWikiAttachmentArchive. getRevision(XWikiAttachment attachment, String rev, XWikiContext context)Get an old revision of the attachment which this is an archive of.XWikiRCSNodeInfoXWikiDocument. 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)XWikiStoreInterfaceLazyXWikiDocument. getStore(XWikiContext context)XWikiStoreInterfaceXWikiDocument. getStore(XWikiContext context)StringLazyXWikiDocument. getTags(XWikiContext context)StringXWikiDocument. getTags(XWikiContext context)List<String>XWikiDocument. getTagsList(XWikiContext context)List<String>LazyXWikiDocument. getTagsPossibleValues(XWikiContext context)List<String>XWikiDocument. getTagsPossibleValues(XWikiContext context)StringXWikiDocument. getTranslatedContent(XWikiContext context)StringXWikiDocument. getTranslatedContent(String locale, XWikiContext context)XWikiDocumentXWikiDocument. getTranslatedDocument(XWikiContext context)XWikiDocumentXWikiDocument. getTranslatedDocument(String language, XWikiContext context)Deprecated.XWikiDocumentXWikiDocument. getTranslatedDocument(Locale locale, XWikiContext context)Return the document in the provided language.List<String>XWikiDocument. getTranslationList(XWikiContext context)Deprecated.List<Locale>XWikiDocument. getTranslationLocales(XWikiContext context)The locales of the translation of this document (the default locale is not included).Set<EntityReference>XWikiDocument. getUniqueLinkedEntities(XWikiContext context)Extract all the unique static (i.e.Set<String>XWikiDocument. getUniqueLinkedPages(XWikiContext context)Extract all the unique entity references found in the current document (they can be wiki links, macro parameters, etc) and pointing to documents (either using a Document Reference or a Page Reference).Set<XWikiLink>XWikiDocument. getUniqueWikiLinkedPages(XWikiContext context)Get a list of unique links from this document to others documents.StringXWikiDocument. getURL(String action, boolean redirect, XWikiContext context)StringXWikiDocument. getURL(String action, XWikiContext context)StringXWikiDocument. getURL(String action, String params, boolean redirect, XWikiContext context)StringXWikiDocument. getURL(String action, String querystring, XWikiContext context)StringXWikiDocument. getURL(String action, String querystring, String anchor, XWikiContext context)StringXWikiDocument. getVersionHashCode(XWikiContext context)Computes a document hash, taking into account all document data: content, objects, attachments, metadata...XWikiVersioningStoreInterfaceXWikiDocument. getVersioningStore(XWikiContext context)StringXWikiDocumentArchive. getVersionXml(org.suigeneris.jrcs.rcs.Version version, XWikiContext context)Return the XML corresponding to a version.List<BaseClass>XWikiDocument. getXClasses(XWikiContext context)StringXWikiDocument. 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)BaseObjectXWikiDocument. getXObject(DocumentReference classReference, boolean create, XWikiContext context)BaseObjectXWikiDocument. getXObject(EntityReference classReference, boolean create, XWikiContext context)BaseObjectXWikiDocument. getXObject(EntityReference classReference, int number, boolean create, XWikiContext xcontext)Get an xobject with the passed xclass at the passed location.BaseObjectXWikiDocument. getXObject(ObjectReference objectReference, boolean create, XWikiContext context)Get or create an object of this document based on its reference.voidXWikiDocument. insertText(String text, String marker, XWikiContext context)booleanXWikiDocument. isCurrentLocalUserPage(XWikiContext context)booleanXWikiDocument. isCurrentUserCreator(XWikiContext context)booleanXWikiDocument. isCurrentUserPage(XWikiContext context)booleanXWikiAttachment. isImage(XWikiContext context)voidLazyXWikiDocument. loadArchive(XWikiContext context)XWikiAttachmentArchiveXWikiAttachment. loadArchive(XWikiContext xcontext)voidXWikiDocument. loadArchive(XWikiContext context)voidXWikiAttachment. loadAttachmentContent(XWikiContext xcontext)voidXWikiDocument. loadAttachmentContent(XWikiAttachment attachment, XWikiContext context)Deprecated.voidXWikiDocument. loadAttachments(XWikiContext context)voidXWikiDocument. loadAttachmentsContent(XWikiContext context)Load attachment content from database.voidXWikiDocument. loadAttachmentsContentSafe(XWikiContext context)Same asXWikiDocument.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).voidXWikiAttachment. loadContent(XWikiContext xcontext)Deprecated.since 9.11RC1, useXWikiAttachment.loadAttachmentContent(XWikiContext)insteadXWikiDocumentXWikiDocumentArchive. loadDocument(org.suigeneris.jrcs.rcs.Version version, XWikiContext context)protected XWikiRCSNodeContentXWikiDocumentArchive. makePatch(XWikiRCSNodeInfo newnode, XWikiDocument doc, XWikiContext context)Make a patch.voidXWikiAttachment. merge(XWikiAttachment previousAttachment, XWikiAttachment nextAttachment, MergeConfiguration configuration, XWikiContext xcontext, MergeResult mergeResult)MergeResultXWikiDocument. merge(XWikiDocument previousDocument, XWikiDocument newDocument, MergeConfiguration configuration, XWikiContext context)DocumentXWikiDocument. newDocument(XWikiContext context)DocumentXWikiDocument. newDocument(Class<?> customClass, XWikiContext context)Create a new protectedDocumentpublic API to access page information and actions from scripting.DocumentXWikiDocument. newDocument(String customClassName, XWikiContext context)Create a new protectedDocumentpublic API to access page information and actions from scripting.BaseObjectXWikiDocument. newObject(String className, XWikiContext context)Deprecated.BaseObjectXWikiDocument. newXObject(EntityReference classReference, XWikiContext context)Create, add and return a new object with the provided class.voidXWikiDocument. readAddedUpdatedAndRemovedObjectsFromForm(EditForm eform, XWikiContext context)Adds objects, applies property updates and removes objects as specified in the form.voidXWikiDocument. readDocMetaFromForm(EditForm eform, XWikiContext context)voidXWikiDocument. readFromForm(EditForm eform, XWikiContext context)voidXWikiDocument. readFromTemplate(DocumentReference templateDocumentReference, XWikiContext context)voidXWikiDocument. readObjectsFromForm(EditForm eform, XWikiContext context)Updates properties of existing objects with the values from the given form.voidXWikiDocument. 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>.voidXWikiDocument. readTranslationMetaFromForm(EditForm eform, XWikiContext context)voidXWikiDocument. removeLock(XWikiContext context)voidXWikiDocumentArchive. removeVersions(org.suigeneris.jrcs.rcs.Version newerVersion, org.suigeneris.jrcs.rcs.Version olderVersion, XWikiContext context)Remove document versions from vfrom to vto, inclusive.voidXWikiDocument. rename(DocumentReference newDocumentReference, XWikiContext context)Deprecated.voidXWikiDocument. rename(DocumentReference newDocumentReference, List<DocumentReference> backlinkDocumentReferences, XWikiContext context)Deprecated.voidXWikiDocument. rename(DocumentReference newDocumentReference, List<DocumentReference> backlinkDocumentReferences, List<DocumentReference> childDocumentReferences, XWikiContext context)Deprecated.voidXWikiDocument. resetArchive(XWikiContext context)voidXWikiAttachment. resetMimeType(XWikiContext xcontext)Extract the mime type from the file name and content and remember it to be stored.XWikiAttachmentDeletedAttachment. restoreAttachment(XWikiAttachment attachment, XWikiContext context)Deprecated.since 9.9RC1, useDeletedAttachment.restoreAttachment(XWikiAttachment)insteadstatic voidXWikiDocument. restoreContext(Map<String,Object> backup, XWikiContext context)XWikiDocumentXWikiDeletedDocument. restoreDocument(XWikiDocument doc, XWikiContext context)XWikiDocumentXWikiDeletedDocument. restoreDocument(XWikiContext context)voidXWikiDocument. saveAllAttachments(boolean updateParent, boolean transaction, XWikiContext context)Deprecated.should not be used, save the document insteadvoidXWikiDocument. saveAllAttachments(XWikiContext context)Deprecated.should not be used, save the document insteadvoidXWikiDocument. saveAttachmentContent(XWikiAttachment attachment, boolean updateParent, boolean transaction, XWikiContext context)Deprecated.should not be used, save the document insteadvoidXWikiDocument. saveAttachmentContent(XWikiAttachment attachment, XWikiContext context)Deprecated.should not be used, save the document insteadvoidXWikiDocument. saveAttachmentsContent(List<XWikiAttachment> attachments, XWikiContext context)Deprecated.should not be used, save the document insteadvoidXWikiDocument. setAsContextDoc(XWikiContext context)protected voidDeletedAttachment. setAttachment(XWikiAttachment attachment, XWikiContext context)Deprecated.since 9.9RC1, useDeletedAttachment(long, String, String, String, String, Date, DeletedAttachmentContent)insteadXWikiAttachmentXWikiDocument. setAttachment(String fileName, InputStream content, XWikiContext context)Create or update attachment with the passed name with the passed content.protected voidXWikiDeletedDocument. setDocument(XWikiDocument doc, XWikiContext context)Deprecated.since 9.0RC1, useinsteadvoidXWikiDocument. setFullName(String fullName, XWikiContext context)Deprecated.voidXWikiDocument. setLock(String userName, XWikiContext context)voidXWikiDocument. setTags(String tagsStr, XWikiContext context)add tags to the document.StringXWikiDocument. toFullXML(XWikiContext context)Retrieve the document as an XML string.StringXWikiAttachment. toStringXML(boolean bWithAttachmentContent, boolean bWithVersions, XWikiContext context)Retrieve an attachment as an XML string.org.dom4j.ElementXWikiAttachment. toXML(boolean bWithAttachmentContent, boolean bWithVersions, XWikiContext context)Retrieve XML representation of attachment's metadata into anElement.voidXWikiAttachment. toXML(com.xpn.xwiki.internal.xml.XMLWriter wr, boolean bWithAttachmentContent, boolean bWithVersions, XWikiContext context)Write an XML representation of the attachment into anXMLWriterorg.dom4j.ElementXWikiAttachment. toXML(XWikiContext context)Retrieve XML representation of attachment's metadata into anElement.voidXWikiAttachment. toXML(org.xwiki.filter.output.OutputTarget out, boolean bWithAttachmentContent, boolean bWithVersions, boolean format, XWikiContext context)Write an XML representation of the attachment into anXMLWriterStringXWikiDocument. toXML(boolean bWithObjects, boolean bWithRendering, boolean bWithAttachmentContent, boolean bWithVersions, XWikiContext context)Serialize the document to an XML string.voidXWikiDocument. toXML(com.xpn.xwiki.internal.xml.XMLWriter wr, boolean bWithObjects, boolean bWithRendering, boolean bWithAttachmentContent, boolean bWithVersions, XWikiContext context)Deprecated.StringXWikiDocument. toXML(XWikiContext context)Retrieve the document as an XML string.voidXWikiDocument. toXML(OutputStream out, boolean bWithObjects, boolean bWithRendering, boolean bWithAttachmentContent, boolean bWithVersions, XWikiContext context)Serialize the document to an OutputStream.org.dom4j.DocumentLazyXWikiDocument. toXMLDocument(boolean bWithObjects, boolean bWithRendering, boolean bWithAttachmentContent, boolean bWithVersions, XWikiContext context)org.dom4j.DocumentXWikiDocument. toXMLDocument(boolean bWithObjects, boolean bWithRendering, boolean bWithAttachmentContent, boolean bWithVersions, XWikiContext context)Deprecated.org.dom4j.DocumentXWikiDocument. toXMLDocument(XWikiContext context)Deprecated.voidXWikiAttachmentArchive. updateArchive(byte[] data, XWikiContext context)Deprecated.since 7.1M1, useXWikiAttachmentArchive.updateArchive(XWikiContext)insteadvoidXWikiAttachmentArchive. updateArchive(XWikiContext context)Update the archive.voidXWikiDocumentArchive. updateArchive(XWikiDocument doc, String author, Date date, String comment, org.suigeneris.jrcs.rcs.Version version, XWikiContext context)Update history with new document version.voidXWikiAttachment. updateContentArchive(XWikiContext context)BaseObjectXWikiDocument. updateObjectFromRequest(String className, XWikiContext context)Deprecated.BaseObjectXWikiDocument. updateObjectFromRequest(String className, String prefix, int num, XWikiContext context)Deprecated.BaseObjectXWikiDocument. updateObjectFromRequest(String className, String prefix, XWikiContext context)Deprecated.List<BaseObject>XWikiDocument. updateObjectsFromRequest(String className, XWikiContext context)Deprecated.List<BaseObject>XWikiDocument. updateObjectsFromRequest(String className, String pref, XWikiContext context)Deprecated.BaseObjectXWikiDocument. updateXObjectFromRequest(EntityReference classReference, XWikiContext context)Adds an object from an new object creation form.BaseObjectXWikiDocument. updateXObjectFromRequest(EntityReference classReference, String prefix, int num, XWikiContext context)Adds an object from an new object creation form.BaseObjectXWikiDocument. updateXObjectFromRequest(EntityReference classReference, String prefix, XWikiContext context)Adds an object from an new object creation form.List<BaseObject>XWikiDocument. updateXObjectsFromRequest(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.booleanXWikiDocument. validate(XWikiContext context)booleanXWikiDocument. validate(String[] classNames, XWikiContext context)Constructors in com.xpn.xwiki.doc with parameters of type XWikiContext Constructor 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) -
Uses of XWikiContext in com.xpn.xwiki.doc.rcs
Methods in com.xpn.xwiki.doc.rcs with parameters of type XWikiContext Modifier and Type Method Description XWikiRCSNodeContentXWikiRCSNodeInfo. getContent(XWikiContext context)XWikiPatchXWikiPatch. setDiffVersion(XWikiDocument originalVersion, XWikiDocument newVersion, XWikiContext context)Create history patch between originalVersion and newVersion as difference on the XML export of the two versions.XWikiPatchXWikiPatch. setDiffVersion(String originalVersionXml, XWikiDocument newVersion, XWikiContext context)Create history patch between originalVersion and newVersion as difference on the XML export of the two versions.XWikiPatchXWikiPatch. setFullVersion(XWikiDocument version, XWikiContext context)Store the XML export of the document as the history patch; this will be a history milestone.Constructors in com.xpn.xwiki.doc.rcs with parameters of type XWikiContext Constructor Description XWikiRCSArchive(Collection<XWikiRCSNodeInfo> nodeInfos, XWikiContext context)Used to serializeXWikiDocumentArchive. -
Uses of XWikiContext in com.xpn.xwiki.export.html
Methods in com.xpn.xwiki.export.html with parameters of type XWikiContext Modifier and Type Method Description voidHtmlPackager. export(XWikiContext context)Apply export and create the ZIP package. -
Uses of XWikiContext in com.xpn.xwiki.job
Methods in com.xpn.xwiki.job with parameters of type XWikiContext Modifier and Type Method Description static voidJobRequestContext. set(org.xwiki.job.AbstractRequest request, XWikiContext xcontext)Deprecated.Register part of theXWikiContextin the job request.Constructors in com.xpn.xwiki.job with parameters of type XWikiContext Constructor Description JobRequestContext(XWikiContext xcontext)Deprecated. -
Uses of XWikiContext in com.xpn.xwiki.monitor.api
Methods in com.xpn.xwiki.monitor.api with parameters of type XWikiContext Modifier and Type Method Description voidMonitorPlugin. init(XWikiContext context)voidMonitorPlugin. reset(XWikiContext context)Constructors in com.xpn.xwiki.monitor.api with parameters of type XWikiContext Constructor Description MonitorPlugin(String name, String className, XWikiContext context) -
Uses of XWikiContext in com.xpn.xwiki.objects
Methods in com.xpn.xwiki.objects that return XWikiContext Modifier and Type Method Description protected XWikiContextBaseElement. getXWikiContext()Get XWiki context from execution context.Methods in com.xpn.xwiki.objects with parameters of type XWikiContext Modifier and Type Method Description voidBaseObject. displayEdit(StringBuffer buffer, String name, String prefix, XWikiContext context)StringBaseObject. displayEdit(String name, XWikiContext context)StringBaseObject. displayEdit(String name, String prefix, XWikiContext context)voidBaseObject. displayHidden(StringBuffer buffer, String name, String prefix, XWikiContext context)StringBaseObject. displayHidden(String name, XWikiContext context)StringBaseObject. displayHidden(String name, String prefix, XWikiContext context)voidBaseObject. displayView(StringBuffer buffer, String name, String prefix, XWikiContext context)StringBaseObject. displayView(String name, XWikiContext context)StringBaseObject. displayView(String name, String prefix, XWikiContext context)List<ObjectDiff>BaseCollection. getDiff(Object oldObject, XWikiContext context)List<ObjectDiff>BaseObject. getDiff(Object oldEntity, XWikiContext context)PropertyClassBaseProperty. getPropertyClass(XWikiContext xcontext)BaseClassBaseCollection. getXClass(XWikiContext context)BaseClassObjectInterface. getXClass(XWikiContext context)MergeManagerResult<ElementInterface,Object>BaseCollection. merge(ElementInterface previousElement, ElementInterface newElement, MergeConfiguration configuration, XWikiContext context)MergeManagerResult<ElementInterface,Object>BaseElement. merge(ElementInterface previousElement, ElementInterface newElement, MergeConfiguration configuration, XWikiContext context)voidBaseElement. merge(ElementInterface previousElement, ElementInterface newElement, MergeConfiguration configuration, XWikiContext context, MergeResult mergeResult)MergeManagerResult<ElementInterface,Object>BaseProperty. merge(ElementInterface previousElement, ElementInterface newElement, MergeConfiguration configuration, XWikiContext context)voidBaseProperty. merge(ElementInterface previousElement, ElementInterface newElement, MergeConfiguration configuration, XWikiContext context, MergeResult mergeResult)MergeManagerResult<ElementInterface,Object>ElementInterface. merge(ElementInterface previousElement, ElementInterface newElement, MergeConfiguration configuration, XWikiContext context)Apply a 3 ways merge on the current element based on provided previous and new version of the element.voidElementInterface. merge(ElementInterface previousElement, ElementInterface newElement, MergeConfiguration configuration, XWikiContext context, MergeResult mergeResult)protected voidBaseCollection. mergeField(PropertyInterface currentElement, ElementInterface previousElement, ElementInterface newElement, MergeConfiguration configuration, XWikiContext context, MergeResult mergeResult)protected voidBaseObject. mergeField(PropertyInterface currentElement, ElementInterface previousElement, ElementInterface newElement, MergeConfiguration configuration, XWikiContext context, MergeResult mergeResult)ObjectBaseObject. newObjectApi(BaseObject obj, XWikiContext context)voidBaseObject. set(String fieldname, Object value, XWikiContext context) -
Uses of XWikiContext in com.xpn.xwiki.objects.classes
Methods in com.xpn.xwiki.objects.classes with parameters of type XWikiContext Modifier and Type Method Description protected voidDBTreeListClass. 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 voidDBTreeListClass. addToTreeList(List<ListItem> treelist, Map<String,List<ListItem>> treemap, Map<String,ListItem> map, String parent, XWikiContext context)voidBooleanClass. displayCheckboxEdit(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)voidPropertyClass. displayCustom(StringBuffer buffer, String fieldName, String prefix, String type, BaseObject object, XWikiContext context)voidBooleanClass. displayEdit(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)voidComputedFieldClass. displayEdit(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)voidDBListClass. displayEdit(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)voidDBTreeListClass. displayEdit(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)voidLevelsClass. displayEdit(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)voidListClass. displayEdit(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)voidNumberClass. displayEdit(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)voidPasswordClass. displayEdit(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)voidPropertyClass. displayEdit(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)StringPropertyClass. displayEdit(String name, BaseCollection object, XWikiContext context)StringPropertyClass. displayEdit(String name, String prefix, BaseCollection object, XWikiContext context)voidPropertyClassInterface. displayEdit(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)voidStaticListClass. displayEdit(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)voidStringClass. displayEdit(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)voidTextAreaClass. displayEdit(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)voidComputedFieldClass. displayHidden(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)voidListClass. displayHidden(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)voidPasswordClass. displayHidden(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)voidPropertyClass. displayHidden(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)StringPropertyClass. displayHidden(String name, BaseCollection object, XWikiContext context)StringPropertyClass. displayHidden(String name, String prefix, BaseCollection object, XWikiContext context)voidPropertyClassInterface. displayHidden(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)voidBooleanClass. displayRadioEdit(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)protected voidListClass. displayRadioEdit(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)voidBooleanClass. displaySelectEdit(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)protected voidListClass. displaySelectEdit(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)protected voidDBTreeListClass. displayTreeSelectEdit(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)voidBooleanClass. displayView(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)voidComputedFieldClass. displayView(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)voidDBListClass. displayView(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)voidDBTreeListClass. displayView(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)voidListClass. displayView(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)voidPasswordClass. displayView(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)voidPropertyClass. displayView(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)StringPropertyClass. displayView(String name, BaseCollection object, XWikiContext context)StringPropertyClass. displayView(String name, String prefix, BaseCollection object, XWikiContext context)default voidPropertyClassInterface. displayView(StringBuffer buffer, String name, String prefix, BaseCollection object, boolean isolated, XWikiContext context)voidPropertyClassInterface. displayView(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)voidStringClass. displayView(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)voidTextAreaClass. displayView(StringBuffer buffer, String name, String prefix, BaseCollection object, boolean isolated, XWikiContext context)voidTextAreaClass. displayView(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)BaseCollectionBaseClass. 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 StringPropertyClass. getCachedDefaultCustomDisplayer(XWikiContext context)Returns the current cached default custom displayer for the PropertyClass.StringComputedFieldClass. 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 StringPropertyClass. 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 StringListClass. getDisplayValue(Object rawvalue, String name, Map<String,ListItem> map, XWikiContext context)Search for an internationalizable display text for the current value.StringListClass. 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>GroupsClass. getList(XWikiContext context)List<String>LevelsClass. getList(XWikiContext context)abstract List<String>ListClass. getList(XWikiContext context)List<String>StaticListClass. getList(XWikiContext context)List<String>UsersClass. getList(XWikiContext context)Map<String,ListItem>DBListClass. getMap(XWikiContext context)Map<String,ListItem>GroupsClass. getMap(XWikiContext context)Map<String,ListItem>LevelsClass. getMap(XWikiContext context)abstract Map<String,ListItem>ListClass. getMap(XWikiContext context)Map<String,ListItem>StaticListClass. getMap(XWikiContext context)Map<String,ListItem>UsersClass. getMap(XWikiContext context)StringPropertyClass. getPrettyName(XWikiContext context)StringDBListClass. getQuery(XWikiContext context)Deprecated.since 9.8RC1, use theQueryBuilder<DBListClass>component insteadStringDBTreeListClass. getQuery(XWikiContext context)Computes the query corresponding to the current XProperty.StringGroupsClass. getText(String value, XWikiContext context)StringLevelsClass. getText(String value, XWikiContext context)StringUsersClass. getText(String value, XWikiContext context)StringPropertyClass. getTooltip(XWikiContext context)Gets international tooltipStringPropertyClass. 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)StringDBListClass. getValue(String val, String sql, XWikiContext context)BaseClassPropertyClass. getXClass(XWikiContext context)booleanPropertyClass. isCustomDisplayed(XWikiContext context)booleanBaseClass. isCustomMappingValid(XWikiContext context)booleanBaseClass. isCustomMappingValid(String custommapping, XWikiContext context)booleanTextAreaClass. isWysiwyg(XWikiContext context)MergeManagerResult<ElementInterface,Object>BaseClass. merge(ElementInterface previousElement, ElementInterface newElement, MergeConfiguration configuration, XWikiContext context)protected <T extends EntityReference>
voidListClass. mergeNotOrderedListProperty(BaseProperty<T> currentProperty, BaseProperty<T> previousProperty, BaseProperty<T> newProperty, MergeConfiguration configuration, XWikiContext context, MergeResult mergeResult)<T extends EntityReference>
voidGroupsClass. mergeProperty(BaseProperty<T> currentProperty, BaseProperty<T> previousProperty, BaseProperty<T> newProperty, MergeConfiguration configuration, XWikiContext xcontext, MergeResult mergeResult)<T extends EntityReference>
voidLevelsClass. mergeProperty(BaseProperty<T> currentProperty, BaseProperty<T> previousProperty, BaseProperty<T> newProperty, MergeConfiguration configuration, XWikiContext xcontext, MergeResult mergeResult)<T extends EntityReference>
voidListClass. mergeProperty(BaseProperty<T> currentProperty, BaseProperty<T> previousProperty, BaseProperty<T> newProperty, MergeConfiguration configuration, XWikiContext context, MergeResult mergeResult)<T extends EntityReference>
voidPropertyClass. 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>
voidUsersClass. mergeProperty(BaseProperty<T> currentProperty, BaseProperty<T> previousProperty, BaseProperty<T> newProperty, MergeConfiguration configuration, XWikiContext xcontext, MergeResult mergeResult)BaseObjectBaseClass. newCustomClassInstance(XWikiContext context)static BaseObjectBaseClass. newCustomClassInstance(String className, XWikiContext context)Deprecated.static BaseObjectBaseClass. newCustomClassInstance(DocumentReference classReference, boolean fallback, XWikiContext context)static BaseObjectBaseClass. newCustomClassInstance(DocumentReference classReference, XWikiContext context)BaseCollectionBaseClass. newObject(XWikiContext context)Deprecated.protected StringPropertyClass. renderContentInContext(String content, String syntax, DocumentReference authorReference, XWikiContext context)Deprecated.since 10.11RC1, usePropertyClass.renderContentInContext(String, String, DocumentReference, DocumentReference, XWikiContext)insteadprotected StringPropertyClass. 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.voidDBListClass. setCachedDBList(List<ListItem> cachedDBList, XWikiContext context)protected voidDBTreeListClass. setCachedDBTreeList(List<ListItem> cachedDBTreeList, XWikiContext context)Store the ordered list of tree nodes in a cache.booleanBaseClass. validateObject(BaseObject obj, XWikiContext context)booleanPropertyClass. validateProperty(BaseProperty property, XWikiContext context) -
Uses of XWikiContext in com.xpn.xwiki.objects.meta
Methods in com.xpn.xwiki.objects.meta with parameters of type XWikiContext Modifier and Type Method Description BaseCollectionMetaClass. newObject(XWikiContext context)BaseCollectionPropertyMetaClass. newObject(XWikiContext context) -
Uses of XWikiContext in com.xpn.xwiki.pdf.api
Methods in com.xpn.xwiki.pdf.api with parameters of type XWikiContext Modifier and Type Method Description voidPdfExport. export(XWikiDocument doc, OutputStream out, PdfExport.ExportType type, XWikiContext context)Export a wiki Document into PDF or RTF.voidPdfExport. exportHtml(String html, OutputStream out, PdfExport.ExportType type, XWikiContext context)Convert an HTML document to PDF.voidPdfExport. exportToPDF(XWikiDocument doc, OutputStream out, XWikiContext context)Export a wiki Document into PDF. -
Uses of XWikiContext in com.xpn.xwiki.pdf.impl
Methods in com.xpn.xwiki.pdf.impl with parameters of type XWikiContext Modifier and Type Method Description URLFileSystemURLFactory. createAttachmentRevisionURL(String filename, String spaces, String name, String revision, String wiki, XWikiContext context)URLPdfURLFactory. createAttachmentRevisionURL(String filename, String spaces, String name, String revision, long recycleId, String querystring, String xwikidb, XWikiContext context)Deprecated.URLPdfURLFactory. createAttachmentRevisionURL(String filename, String spaces, String name, String revision, String wiki, XWikiContext context)Deprecated.URLPdfURLFactory. createAttachmentRevisionURL(String filename, String spaces, String name, String revision, String querystring, String xwikidb, XWikiContext context)Deprecated.URLFileSystemURLFactory. createAttachmentURL(String filename, String spaces, String name, String action, String querystring, String wiki, XWikiContext context)URLPdfURLFactory. createAttachmentURL(String filename, String spaces, String name, String action, String querystring, String wiki, XWikiContext context)Deprecated.URLFileSystemURLFactory. createResourceURL(String filename, boolean forceSkinAction, XWikiContext context)URLFileSystemURLFactory. createSkinURL(String filename, String skin, XWikiContext context)voidPdfExportImpl. export(XWikiDocument doc, OutputStream out, PdfExport.ExportType type, XWikiContext context)voidPdfExportImpl. exportHtml(String html, OutputStream out, PdfExport.ExportType type, XWikiContext context)voidPdfExportImpl. exportToPDF(XWikiDocument doc, OutputStream out, XWikiContext context)protected voidPdfExportImpl. exportXHTML(String xhtml, OutputStream out, PdfExport.ExportType type, XWikiContext context)Convert a valid XHTML document into PDF.StringFileSystemURLFactory. getURL(URL url, XWikiContext context)protected InputStreamPdfExportImpl. getXslt(String propertyName, String fallbackFile, XWikiContext context)Get an XSLT file.voidPdfURLFactory. init(XWikiContext context)Deprecated. -
Uses of XWikiContext in com.xpn.xwiki.plugin
Methods in com.xpn.xwiki.plugin with parameters of type XWikiContext Modifier and Type Method Description voidXWikiPluginManager. addPlugin(String name, String className, XWikiContext context)voidXWikiPluginManager. addPlugins(String[] classNames, XWikiContext context)voidXWikiDefaultPlugin. beginParsing(XWikiContext context)Deprecated.voidXWikiPluginInterface. beginParsing(XWikiContext context)Deprecated.Hook method called at the start of the response generation process, before the parsing of the root template begins.voidXWikiPluginManager. beginParsing(XWikiContext context)voidXWikiDefaultPlugin. beginRendering(XWikiContext context)Deprecated.voidXWikiPluginInterface. beginRendering(XWikiContext context)Deprecated.Hook method, called before the 1.0 rendering engine starts processing a wiki document, afterXWikiPluginInterface.beginParsing(XWikiContext)and beforeXWikiPluginInterface.commonTagsHandler(String, XWikiContext).voidXWikiPluginManager. beginRendering(XWikiContext context)StringXWikiDefaultPlugin. commonTagsHandler(String content, XWikiContext context)Deprecated.StringXWikiPluginInterface. commonTagsHandler(String content, XWikiContext context)Deprecated.Hook method called during the 1.0 rendering process, afterXWikiPluginInterface.beginRendering(XWikiContext)and right beforeXWikiPluginInterface.startRenderingHandler(String, XWikiContext).StringXWikiPluginManager. commonTagsHandler(String text, XWikiContext context)XWikiAttachmentXWikiDefaultPlugin. downloadAttachment(XWikiAttachment attachment, XWikiContext context)Deprecated.XWikiAttachmentXWikiPluginInterface. 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.XWikiAttachmentXWikiPluginManager. downloadAttachment(XWikiAttachment attachment, XWikiContext context)StringXWikiDefaultPlugin. endParsing(String content, XWikiContext context)Deprecated.StringXWikiPluginInterface. 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.StringXWikiPluginManager. endParsing(String content, XWikiContext context)voidXWikiDefaultPlugin. endRendering(XWikiContext context)Deprecated.voidXWikiPluginInterface. endRendering(XWikiContext context)Deprecated.Hook method, called after the 1.0 rendering engine finished processing a wiki document.voidXWikiPluginManager. endRendering(XWikiContext context)StringXWikiDefaultPlugin. endRenderingHandler(String content, XWikiContext context)Deprecated.StringXWikiPluginInterface. endRenderingHandler(String content, XWikiContext context)Deprecated.Hook method called during the 1.0 rendering process, afterXWikiPluginInterface.outsidePREHandler(String, XWikiContext)and right beforeXWikiPluginInterface.endRendering(XWikiContext).StringXWikiPluginManager. endRenderingHandler(String text, XWikiContext context)voidXWikiDefaultPlugin. flushCache(XWikiContext context)Deprecated.voidXWikiPluginInterface. flushCache(XWikiContext context)Deprecated.A "flush cache" method usually called by the globalXWiki.flushCache(XWikiContext), requesting plugins to clear their cached data.voidXWikiPluginManager. flushCache(XWikiContext context)ApiXWikiDefaultPlugin. getPluginApi(XWikiPluginInterface plugin, XWikiContext context)Deprecated.ApiXWikiPluginInterface. getPluginApi(XWikiPluginInterface plugin, XWikiContext context)Deprecated.Get a public scriptable API that can be used to call methods of the (privileged) plugin.voidXWikiDefaultPlugin. init(XWikiContext context)Deprecated.voidXWikiPluginInterface. init(XWikiContext context)Deprecated.Global initialization, called when the platform is started and the plugin list is initialized.voidXWikiPluginManager. initPlugin(Object plugin, Class<XWikiPluginInterface> pluginClass, XWikiContext context)StringXWikiDefaultPlugin. insidePREHandler(String line, XWikiContext context)Deprecated.StringXWikiPluginInterface. insidePREHandler(String line, XWikiContext context)Deprecated.Hook method called during the 1.0 rendering process, once for each line of content insidepreblocks, afterXWikiPluginInterface.startRenderingHandler(String, XWikiContext)and beforeXWikiPluginInterface.endRenderingHandler(String, XWikiContext).StringXWikiPluginManager. insidePREHandler(String text, XWikiContext context)StringXWikiDefaultPlugin. outsidePREHandler(String line, XWikiContext context)Deprecated.StringXWikiPluginInterface. outsidePREHandler(String line, XWikiContext context)Deprecated.Hook method called during the 1.0 rendering process, once for each line of content outsidepreblocks, afterXWikiPluginInterface.startRenderingHandler(String, XWikiContext)and beforeXWikiPluginInterface.endRenderingHandler(String, XWikiContext).StringXWikiPluginManager. outsidePREHandler(String text, XWikiContext context)StringXWikiDefaultPlugin. startRenderingHandler(String content, XWikiContext context)Deprecated.StringXWikiPluginInterface. startRenderingHandler(String content, XWikiContext context)Deprecated.Hook method called during the 1.0 rendering process, afterXWikiPluginInterface.commonTagsHandler(String, XWikiContext)and beforeXWikiPluginInterface.outsidePREHandler(String, XWikiContext).StringXWikiPluginManager. startRenderingHandler(String text, XWikiContext context)voidXWikiDefaultPlugin. virtualInit(XWikiContext context)Deprecated.voidXWikiPluginInterface. virtualInit(XWikiContext context)Deprecated.Initialization method called each time a virtual wiki is started, allowing plugins to perform initialization tasks needed in each wiki.voidXWikiPluginManager. virtualInit(XWikiContext context)Constructors in com.xpn.xwiki.plugin with parameters of type XWikiContext Constructor 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) -
Uses of XWikiContext in com.xpn.xwiki.plugin.fileupload
Methods in com.xpn.xwiki.plugin.fileupload with parameters of type XWikiContext Modifier and Type Method Description voidFileUploadPlugin. cleanFileList(XWikiContext context)Deletes all temporary files of the upload.voidFileUploadPlugin. endRendering(XWikiContext context)Hook method, called after the 1.0 rendering engine finished processing a wiki document.org.apache.commons.fileupload.FileItemFileUploadPlugin. getFile(String formfieldName, XWikiContext context)Return the FileItem corresponding to the file uploaded for a form field.StringFileUploadPlugin. getFileItem(String formfieldName, XWikiContext context)Deprecated.not well named, useFileUploadPlugin.getFileItemAsString(String, com.xpn.xwiki.XWikiContext)StringFileUploadPlugin. 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.InputStreamFileUploadPlugin. 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 ofFileItems.intFileUploadPlugin. getFileItemSize(String formfieldName, XWikiContext context)Retrieve the size of a file content in byte.StringFileUploadPlugin. getFileName(String formfieldName, XWikiContext context)Get the name of the file uploaded for a form field.ApiFileUploadPlugin. getPluginApi(XWikiPluginInterface plugin, XWikiContext context)voidFileUploadPlugin. init(XWikiContext context)voidFileUploadPlugin. loadFileList(long uploadMaxSize, int uploadSizeThreshold, String tempdir, XWikiContext context)Loads the list of uploaded files in the context if there are any uploaded files.voidFileUploadPlugin. loadFileList(XWikiContext context)Loads the list of uploaded files in the context if there are any uploaded files.voidFileUploadPlugin. virtualInit(XWikiContext context)Constructors in com.xpn.xwiki.plugin.fileupload with parameters of type XWikiContext Constructor Description FileUploadPlugin(String name, String className, XWikiContext context)FileUploadPluginApi(FileUploadPlugin plugin, XWikiContext context)API constructor. -
Uses of XWikiContext in com.xpn.xwiki.plugin.mail
Methods in com.xpn.xwiki.plugin.mail with parameters of type XWikiContext Modifier and Type Method Description ApiMailPlugin. getPluginApi(XWikiPluginInterface plugin, XWikiContext context)voidMailPlugin. init(XWikiContext context)Constructors in com.xpn.xwiki.plugin.mail with parameters of type XWikiContext Constructor Description MailPlugin(String name, String className, XWikiContext context)MailPluginApi(MailPlugin plugin, XWikiContext context) -
Uses of XWikiContext in com.xpn.xwiki.plugin.packaging
Methods in com.xpn.xwiki.plugin.packaging with parameters of type XWikiContext Modifier and Type Method Description booleanPackage. add(XWikiDocument doc, int defaultAction, XWikiContext context)Deprecated.booleanPackage. add(XWikiDocument doc, XWikiContext context)Deprecated.booleanPackage. add(String docFullName, int DefaultAction, XWikiContext context)Deprecated.booleanPackage. add(String docFullName, XWikiContext context)Deprecated.booleanPackage. add(String docFullName, String language, int DefaultAction, XWikiContext context)Deprecated.booleanPackage. add(String docFullName, String language, XWikiContext context)Deprecated.voidPackage. addAllWikiDocuments(XWikiContext context)Deprecated.voidPackage. addToDir(XWikiDocument doc, File dir, boolean withVersions, XWikiContext context)Deprecated.voidPackage. addToZip(XWikiDocument doc, ZipOutputStream zos, boolean withVersions, XWikiContext context)Deprecated.since 4.1M2voidPackage. deleteAllWikiDocuments(XWikiContext context)Deprecated.StringPackage. export(OutputStream os, XWikiContext context)Deprecated.StringPackage. exportToDir(File dir, XWikiContext context)Deprecated.voidDocumentFilter. filter(XWikiDocument doc, XWikiContext context)Deprecated.Do actions at the import or export on a document.voidPackage. filter(XWikiDocument doc, XWikiContext context)Deprecated.List<String>Package. getErrors(XWikiContext context)Deprecated.StringPackage. getFileNameFromDocument(XWikiDocument doc, XWikiContext context)Deprecated.Generate a file name based on provided document.List<String>Package. getInstalled(XWikiContext context)Deprecated.StringPackage. getPathFromDocument(XWikiDocument doc, XWikiContext context)Deprecated.Generate a relative path based on provided document.ApiPackagePlugin. getPluginApi(XWikiPluginInterface plugin, XWikiContext context)Deprecated.List<String>Package. getSkipped(XWikiContext context)Deprecated.intPackage. getStatus(XWikiContext context)Deprecated.booleanPackage. hasBackupPackImportRights(XWikiContext context)Deprecated.StringPackage. Import(byte[] file, XWikiContext context)Deprecated.Load this package in memory from a byte array.StringPackage. Import(InputStream file, XWikiContext context)Deprecated.Load this package in memory from an InputStream.voidPackagePlugin. init(XWikiContext context)Deprecated.intPackage. install(XWikiContext context)Deprecated.StringPackage. readFromDir(File dir, XWikiContext context)Deprecated.Load document files from provided directory and sub-directories into packager.intPackage. readFromDir(File dir, XWikiContext context, org.dom4j.Document description)Deprecated.Load document files from provided directory and sub-directories into packager.intDocumentInfo. testInstall(boolean isAdmin, XWikiContext context)Deprecated.intDocumentInfoAPI. testInstall(boolean isAdmin, XWikiContext context)Deprecated.intDocumentInfoAPI. testInstall(XWikiContext context)Deprecated.intPackage. testInstall(boolean isAdmin, XWikiContext context)Deprecated.net.sf.json.JSONObjectPackage. toJSON(XWikiContext wikiContext)Deprecated.Outputs the content of this package in the JSON formatStringPackage. toXml(XWikiContext context)Deprecated.You should preferPackage.toXML(com.xpn.xwiki.internal.xml.XMLWriter).voidPackage. toXML(OutputStream out, XWikiContext context)Deprecated.Write the package.xml file to an OutputStreambooleanPackage. updateDoc(String docFullName, int action, XWikiContext context)Deprecated.Constructors in com.xpn.xwiki.plugin.packaging with parameters of type XWikiContext Constructor Description DocumentInfoAPI(DocumentInfo doc, XWikiContext context)Deprecated.PackageAPI(Package plugin, XWikiContext context)Deprecated.PackagePlugin(String name, String className, XWikiContext context)Deprecated. -
Uses of XWikiContext in com.xpn.xwiki.plugin.rightsmanager
Methods in com.xpn.xwiki.plugin.rightsmanager with parameters of type XWikiContext Modifier and Type Method Description intRightsManager. countAllGlobalUsersOrGroups(boolean user, Object[][] matchFields, XWikiContext context)Get the number of users or groups in the main wiki.intRightsManager. countAllGroupsNamesForMember(String member, XWikiContext context)Deprecated.since 10.8RC1, use org.xwiki.user.group.GroupManager component insteadintRightsManager. countAllLocalUsersOrGroups(boolean user, Object[][] matchFields, XWikiContext context)Get the number of users or groups in the current wiki.intRightsManager. countAllMatchedMembersNamesForGroup(String group, String filter, XWikiContext xcontext)Filters the members of the specified group using the given text and counts the results.intRightsManager. countAllMembersNamesForGroup(String group, XWikiContext context)Deprecated.since 10.8RC1, use org.xwiki.user.group.GroupManager component insteadintRightsManager. countAllUsersOrGroups(boolean user, Object[][] matchFields, XWikiContext context)Get the number of users or groups in the main wiki and the current wiki.intRightsManager. 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 insteadList<?>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 insteadMap<String,LevelTree>RightsManager. getLevelTreeMap(String spaceOrPage, List<String> levelsToMatch, XWikiContext context)XWikiDocumentRightsManager. getParentPreference(XWikiDocument currentPreference, boolean currentGlobal, XWikiContext context)Get the document containing inherited rights of provided document.XWikiDocumentRightsManager. getParentPreference(String spaceOrPage, XWikiContext context)Get the document containing inherited rights of provided document.ApiRightsManagerPlugin. getPluginApi(XWikiPluginInterface plugin, XWikiContext context)LevelTreeRightsManager. getTreeLevel(String spaceOrPage, String levelName, XWikiContext context)Get level right tree.booleanRightsManager. 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).voidRightsManagerPlugin. init(XWikiContext context)voidRightsManager. removeDirectRights(String spaceOrPage, List<String> levelNames, String comment, XWikiContext context)Remove "direct" rights for wiki, space or document.booleanRightsManager. 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.voidRightsManager. removeUserOrGroupFromAllRights(String userOrGroupWiki, String userOrGroupSpace, String userOrGroupName, boolean user, XWikiContext context)Remove all references to provided user or group from all rights documents.voidRightsManager. 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.booleanRightsManager. 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.booleanRightsManager. 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.voidRightsManager. 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(String 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(DocumentReference userOrGroup, XWikiContext context)Resolve passed user or group into users references list.Constructors in com.xpn.xwiki.plugin.rightsmanager with parameters of type XWikiContext Constructor 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. -
Uses of XWikiContext in com.xpn.xwiki.plugin.svg
Methods in com.xpn.xwiki.plugin.svg with parameters of type XWikiContext Modifier and Type Method Description ApiSVGPlugin. getPluginApi(XWikiPluginInterface plugin, XWikiContext context)StringSVGPlugin. getSVGImageURL(String content, int height, int width, XWikiContext context)voidSVGPlugin. init(XWikiContext context)voidSVGPlugin. outputSVGImage(String content, int height, int width, XWikiContext context)voidSVGPlugin. outputSVGImage(String content, String extension, int height, int width, XWikiContext context)voidSVGPlugin. outputSVGImageFromFile(String filename, XWikiContext context)Constructors in com.xpn.xwiki.plugin.svg with parameters of type XWikiContext Constructor Description SVGPlugin(String name, String className, XWikiContext context)SVGPluginApi(SVGPlugin plugin, XWikiContext context) -
Uses of XWikiContext in com.xpn.xwiki.redirection
Methods in com.xpn.xwiki.redirection with parameters of type XWikiContext Modifier and Type Method Description booleanRedirectionFilter. redirect(XWikiContext context)Possibly perform a redirection according to the context. -
Uses of XWikiContext in com.xpn.xwiki.render.groovy
Constructors in com.xpn.xwiki.render.groovy with parameters of type XWikiContext Constructor Description XWikiPageClassLoader(String jarWikiPage, XWikiContext context)XWikiPageClassLoader(String jarWikiPage, ClassLoader parent, XWikiContext context) -
Uses of XWikiContext in com.xpn.xwiki.stats.api
Methods in com.xpn.xwiki.stats.api with parameters of type XWikiContext Modifier and Type Method 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.DocumentStatsXWikiStatsService. getDocDayStats(String docname, String action, Date day, XWikiContext context)Deprecated.DocumentStatsXWikiStatsService. getDocMonthStats(String docname, String action, Date month, XWikiContext context)Deprecated.DocumentStatsXWikiStatsService. 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.ListXWikiStatsService. getRefMonthStats(String docName, Date month, XWikiContext context)Deprecated.List<VisitStats>XWikiStatsService. getVisitStatistics(String action, Period period, Range range, XWikiContext context)Retrieves visit statistics.voidXWikiStatsService. init(XWikiContext context)Methods called just one time at XWiki initialization. -
Uses of XWikiContext in com.xpn.xwiki.stats.impl
Methods in com.xpn.xwiki.stats.impl with parameters of type XWikiContext Modifier and Type Method Description protected static javax.servlet.http.CookieStatsUtil. addCookie(XWikiContext context)Create a new visit cookie and return it.static booleanStatsUtil. findCookie(XWikiContext context)Try to find the cookie of the current request or create it.static VisitStatsStatsUtil. 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 VisitStatsStatsUtil. findVisitByCookie(String cookie, XWikiContext context)Search visit statistics object in the database based on cookie name.protected static VisitStatsStatsUtil. findVisitByField(String fieldName, String fieldValue, XWikiContext context)Search visit statistics object in the database based on cookie name.protected static VisitStatsStatsUtil. 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)DocumentStatsXWikiStatsServiceImpl. getDocDayStats(String docname, String action, Date day, XWikiContext context)DocumentStatsXWikiStatsServiceImpl. getDocMonthStats(String docname, String action, Date month, XWikiContext context)DocumentStatsXWikiStatsServiceImpl. 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 intStatsUtil. getRecentVisitSize(XWikiContext context)static StringStatsUtil. 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)voidXWikiStatsServiceImpl. init(XWikiContext context)static booleanStatsUtil. isStatsEnabled(XWikiContext context)static booleanStatsUtil. isWikiStatsEnabled(XWikiContext context)static voidStatsUtil. setRecentActionsFromSession(XWikiContext context, String action, Collection<?> actions)Store the recent statistics actions in the session. -
Uses of XWikiContext in com.xpn.xwiki.stats.impl.xwiki
Fields in com.xpn.xwiki.stats.impl.xwiki declared as XWikiContext Modifier and Type Field Description protected XWikiContextAbstractStatsStoreItem. contextThe XWiki context clone made when this statistics event occurred.Methods in com.xpn.xwiki.stats.impl.xwiki with parameters of type XWikiContext Modifier and Type Method Description voidXWikiStatsStoreService. 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.DocumentStatsXWikiStatsReader. 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.Constructors in com.xpn.xwiki.stats.impl.xwiki with parameters of type XWikiContext Constructor 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 ofDocumentStatsStoreItem.RefererStatsStoreItem(String name, Date periodDate, StatsUtil.PeriodType periodType, String referer, XWikiContext context)Create new instance ofRefererStatsStoreItem.VisitStatsStoreItem(VisitStats visitStats, XWikiContext context)Create new instance ofVisitStatsStoreItem.XWikiStatsStoreService(XWikiContext context)Create new instance of XWikiStatsRegister and init statistics queue. -
Uses of XWikiContext in com.xpn.xwiki.store
Methods in com.xpn.xwiki.store with parameters of type XWikiContext Modifier and Type Method Description default booleanXWikiAttachmentStoreInterface. attachmentContentExists(XWikiAttachment attachment, XWikiContext context, boolean bTransaction)booleanXWikiHibernateAttachmentStore. attachmentContentExists(XWikiAttachment attachment, XWikiContext inputxcontext, boolean bTransaction)booleanXWikiHibernateBaseStore. beginTransaction(boolean withTransaction, XWikiContext context)Deprecated.booleanXWikiHibernateBaseStore. beginTransaction(XWikiContext context)Begins a transaction if the context does not contains any.booleanXWikiHibernateBaseStore. beginTransaction(org.hibernate.SessionFactory sfactory, boolean withTransaction, XWikiContext context)Deprecated.booleanXWikiHibernateBaseStore. beginTransaction(org.hibernate.SessionFactory sfactory, XWikiContext inputxcontext)Begins a transaction with a specific SessionFactory.voidXWikiHibernateBaseStore. checkHibernate(XWikiContext context)Initializes Hibernate.voidXWikiAttachmentStoreInterface. cleanUp(XWikiContext context)voidXWikiCacheStore. cleanUp(XWikiContext context)voidXWikiHibernateBaseStore. cleanUp(XWikiContext inputxcontext)Cleanup all sessions Used at the shutdown timevoidXWikiStoreInterface. cleanUp(XWikiContext context)intXWikiCacheStore. countDocuments(String wheresql, XWikiContext context)intXWikiCacheStore. countDocuments(String parametrizedSqlClause, List<?> parameterValues, XWikiContext context)intXWikiHibernateStore. countDocuments(String wheresql, XWikiContext context)intXWikiHibernateStore. countDocuments(String parametrizedSqlClause, List<?> parameterValues, XWikiContext context)intXWikiStoreInterface. countDocuments(String wheresql, XWikiContext context)API allowing to count the total number of documents that would be returned by a query.intXWikiStoreInterface. countDocuments(String parametrizedSqlClause, List<?> parameterValues, XWikiContext context)API allowing to count the total number of documents that would be returned by a parameterized query.voidXWikiCacheStore. createWiki(String wikiName, XWikiContext context)voidXWikiHibernateStore. createWiki(String wikiName, XWikiContext inputxcontext)voidXWikiStoreInterface. createWiki(String wikiName, XWikiContext context)Allows to create a new wiki database and initialize the default tables.voidAttachmentVersioningStore. deleteArchive(XWikiAttachment attachment, XWikiContext context, boolean bTransaction)Permanently delete attachment archive.voidVoidAttachmentVersioningStore. deleteArchive(XWikiAttachment attachment, XWikiContext context, boolean transaction)voidXWikiHibernateVersioningStore. deleteArchive(XWikiDocument doc, boolean bTransaction, XWikiContext context)voidXWikiVersioningStoreInterface. deleteArchive(XWikiDocument doc, boolean bTransaction, XWikiContext context)Delete all history for a document.voidAttachmentRecycleBinStore. deleteFromRecycleBin(long index, XWikiContext context, boolean bTransaction)Permanently delete attachment from recycle bin.voidXWikiHibernateRecycleBinStore. deleteFromRecycleBin(long index, XWikiContext context, boolean bTransaction)voidXWikiHibernateRecycleBinStore. deleteFromRecycleBin(XWikiDocument doc, long index, XWikiContext context, boolean bTransaction)default voidXWikiRecycleBinStoreInterface. deleteFromRecycleBin(long index, XWikiContext context, boolean bTransaction)Permanently delete document from recycle bin.voidXWikiRecycleBinStoreInterface. deleteFromRecycleBin(XWikiDocument doc, long index, XWikiContext context, boolean bTransaction)Deprecated.since 9.4RC1.voidXWikiCacheStore. deleteLinks(long docId, XWikiContext context, boolean bTransaction)Deprecated.voidXWikiHibernateStore. deleteLinks(long docId, XWikiContext inputxcontext, boolean bTransaction)Deprecated.voidXWikiStoreInterface. deleteLinks(long docId, XWikiContext context, boolean bTransaction)Deprecated.link storage and indexing moved to Solr (implemented in xwiki-platform-search-solr-api)voidXWikiCacheStore. deleteLock(XWikiLock lock, XWikiContext context, boolean bTransaction)voidXWikiHibernateStore. deleteLock(XWikiLock lock, XWikiContext inputxcontext, boolean bTransaction)voidXWikiStoreInterface. deleteLock(XWikiLock lock, XWikiContext context, boolean bTransaction)voidXWikiCacheStore. deleteWiki(String wikiName, XWikiContext context)voidXWikiHibernateStore. deleteWiki(String wikiName, XWikiContext inputxcontext)voidXWikiStoreInterface. deleteWiki(String wikiName, XWikiContext context)Delete a wiki database.voidXWikiAttachmentStoreInterface. deleteXWikiAttachment(XWikiAttachment attachment, boolean parentUpdate, XWikiContext context, boolean bTransaction)voidXWikiAttachmentStoreInterface. deleteXWikiAttachment(XWikiAttachment attachment, XWikiContext context, boolean bTransaction)voidXWikiHibernateAttachmentStore. deleteXWikiAttachment(XWikiAttachment attachment, boolean parentUpdate, XWikiContext inputxcontext, boolean bTransaction)voidXWikiHibernateAttachmentStore. deleteXWikiAttachment(XWikiAttachment attachment, XWikiContext context, boolean bTransaction)voidXWikiHibernateStore. deleteXWikiCollection(BaseCollection object, XWikiContext inputxcontext, boolean bTransaction, boolean evict)Deprecated.This is internal to XWikiHibernateStore and may be removed in the future.voidXWikiCacheStore. deleteXWikiDoc(XWikiDocument doc, XWikiContext inputxcontext)voidXWikiHibernateStore. deleteXWikiDoc(XWikiDocument doc, XWikiContext inputxcontext)voidXWikiStoreInterface. deleteXWikiDoc(XWikiDocument doc, XWikiContext context)voidXWikiHibernateBaseStore. endTransaction(XWikiContext inputxcontext, boolean commit)Ends a transaction and close the session.voidXWikiHibernateBaseStore. endTransaction(XWikiContext context, boolean commit, boolean withTransaction)Deprecated.since 4.0M1, useXWikiHibernateBaseStore.endTransaction(XWikiContext, boolean)protected StringXWikiHibernateBaseStore. escapeSchema(String schema, XWikiContext context)Escape schema name depending of the database engine.<T> TXWikiHibernateBaseStore. execute(XWikiContext context, boolean bTransaction, boolean doCommit, XWikiHibernateBaseStore.HibernateCallback<T> cb)<T> TXWikiHibernateBaseStore. execute(XWikiContext inputxcontext, boolean doCommit, XWikiHibernateBaseStore.HibernateCallback<T> cb)Execute method for operations in Hibernate.<T> TXWikiHibernateBaseStore. executeRead(XWikiContext context, boolean bTransaction, XWikiHibernateBaseStore.HibernateCallback<T> cb)<T> TXWikiHibernateBaseStore. executeRead(XWikiContext context, XWikiHibernateBaseStore.HibernateCallback<T> cb)Execute method for read-only operations in hibernate.<T> TXWikiHibernateBaseStore. executeWrite(XWikiContext context, boolean bTransaction, XWikiHibernateBaseStore.HibernateCallback<T> cb)<T> TXWikiHibernateBaseStore. executeWrite(XWikiContext context, XWikiHibernateBaseStore.HibernateCallback<T> cb)Execute method for read-write operations in Hibernate.booleanXWikiCacheStore. exists(XWikiDocument doc, XWikiContext inputxcontext)booleanXWikiHibernateStore. exists(XWikiDocument doc, XWikiContext inputxcontext)Verifies if a wiki document existsbooleanXWikiStoreInterface. exists(XWikiDocument doc, XWikiContext context)<T> TXWikiHibernateBaseStore. 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> TXWikiHibernateBaseStore. 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> TXWikiHibernateBaseStore. 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(XWikiDocument doc, XWikiContext context, boolean bTransaction)XWikiDeletedDocument[]XWikiHibernateRecycleBinStore. getAllDeletedDocuments(String batchId, boolean withContent, XWikiContext context, boolean bTransaction)XWikiDeletedDocument[]XWikiHibernateRecycleBinStore. getAllDeletedDocuments(String batchId, XWikiContext context, boolean bTransaction)XWikiDeletedDocument[]XWikiRecycleBinStoreInterface. getAllDeletedDocuments(XWikiDocument doc, XWikiContext context, boolean bTransaction)default XWikiDeletedDocument[]XWikiRecycleBinStoreInterface. getAllDeletedDocuments(String batchId, boolean withContent, XWikiContext context, boolean bTransaction)default XWikiDeletedDocument[]XWikiRecycleBinStoreInterface. getAllDeletedDocuments(String batchId, 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>XWikiCacheStore. getClassList(XWikiContext context)List<String>XWikiHibernateStore. getClassList(XWikiContext inputxcontext)List<String>XWikiStoreInterface. getClassList(XWikiContext context)DatabaseProductXWikiHibernateBaseStore. getDatabaseProductName(XWikiContext context)Deprecated.since 4.0M1 useXWikiHibernateBaseStore.getDatabaseProductName()DeletedAttachmentAttachmentRecycleBinStore. getDeletedAttachment(long index, XWikiContext context, boolean bTransaction)Returns ahandlerfor a deleted attachment.XWikiDeletedDocumentXWikiHibernateRecycleBinStore. getDeletedDocument(long index, XWikiContext context, boolean bTransaction)XWikiDeletedDocumentXWikiHibernateRecycleBinStore. getDeletedDocument(XWikiDocument doc, long index, XWikiContext context, boolean bTransaction)default XWikiDeletedDocumentXWikiRecycleBinStoreInterface. getDeletedDocument(long index, XWikiContext context, boolean bTransaction)XWikiDeletedDocumentXWikiRecycleBinStoreInterface. getDeletedDocument(XWikiDocument doc, long index, XWikiContext context, boolean bTransaction)Deprecated.since 9.4RC1.StringXWikiCacheStore. getKey(XWikiDocument doc, XWikiContext context)StringXWikiCacheStore. getKey(String fullName, String language, XWikiContext context)Deprecated.since 4.0M1, useXWikiDocument.getKey()intXWikiCacheStore. getLimitSize(XWikiContext context, Class<?> entityType, String propertyName)intXWikiHibernateStore. getLimitSize(XWikiContext context, Class<?> entityType, String propertyName)intXWikiStoreInterface. getLimitSize(XWikiContext context, Class<?> entityType, String property)Get the limit size of a property.LongXWikiHibernateRecycleBinStore. getNumberOfDeletedDocuments(XWikiContext context)default LongXWikiRecycleBinStoreInterface. getNumberOfDeletedDocuments(XWikiContext context)XWikiAttachmentVoidAttachmentVersioningStore.VoidAttachmentArchive. getRevision(XWikiAttachment attachment, String rev, XWikiContext context)StringXWikiHibernateBaseStore. getSchemaFromWikiName(XWikiContext context)Convert context's database in real database/schema name.protected StringXWikiHibernateBaseStore. getSchemaFromWikiName(String wikiName, DatabaseProduct databaseProduct, XWikiContext inputxcontext)Convert wiki name in database/schema name.protected StringXWikiHibernateBaseStore. getSchemaFromWikiName(String wikiId, XWikiContext inputxcontext)Convert wiki name in database/schema name.String[]XWikiHibernateBaseStore. getSchemaUpdateScript(org.hibernate.cfg.Configuration config, XWikiContext inputxcontext)Deprecated.do nothing since 11.5RC1org.hibernate.SessionXWikiHibernateBaseStore. getSession(XWikiContext inputxcontext)This get's the current session.org.hibernate.TransactionXWikiHibernateBaseStore. getTransaction(XWikiContext inputxcontext)Allows to get the current transaction from the context This is set in beginTransactionList<String>XWikiCacheStore. getTranslationList(XWikiDocument doc, XWikiContext context)List<String>XWikiHibernateStore. getTranslationList(XWikiDocument doc, XWikiContext context)List<String>XWikiStoreInterface. getTranslationList(XWikiDocument doc, XWikiContext context)XWikiDocumentArchiveXWikiHibernateVersioningStore. getXWikiDocumentArchive(XWikiDocument doc, XWikiContext inputxcontext)XWikiDocumentArchiveXWikiVersioningStoreInterface. 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)voidXWikiCacheStore. initCache(int capacity, int pageExistCacheCapacity, XWikiContext context)Deprecated.voidXWikiCacheStore. initCache(XWikiContext context)Deprecated.voidXWikiCacheStoreInterface. initCache(int capacity, int pageExistCapacity, XWikiContext context)Deprecated.since 8.3.booleanXWikiCacheStore. injectCustomMapping(BaseClass doc1class, XWikiContext context)booleanXWikiDefaultStore. injectCustomMapping(BaseClass doc1class, XWikiContext xWikiContext)booleanXWikiHibernateStore. injectCustomMapping(BaseClass doc1class, XWikiContext inputxcontext)booleanXWikiHibernateStore. injectCustomMapping(String className, String customMapping, XWikiContext inputxcontext)booleanXWikiStoreInterface. injectCustomMapping(BaseClass doc1class, XWikiContext xWikiContext)Deprecated.booleanXWikiCacheStore. injectCustomMappings(XWikiDocument doc, XWikiContext context)voidXWikiCacheStore. injectCustomMappings(XWikiContext context)booleanXWikiDefaultStore. injectCustomMappings(XWikiDocument doc, XWikiContext xWikiContext)voidXWikiDefaultStore. injectCustomMappings(XWikiContext context)booleanXWikiHibernateStore. injectCustomMappings(XWikiDocument doc, XWikiContext inputxcontext)voidXWikiHibernateStore. injectCustomMappings(XWikiContext context)booleanXWikiStoreInterface. injectCustomMappings(XWikiDocument doc, XWikiContext context)voidXWikiStoreInterface. injectCustomMappings(XWikiContext context)org.hibernate.SessionFactoryXWikiHibernateStore. injectCustomMappingsInSessionFactory(BaseClass bclass, XWikiContext context)org.hibernate.SessionFactoryXWikiHibernateStore. injectCustomMappingsInSessionFactory(XWikiContext inputxcontext)voidXWikiCacheStore. injectUpdatedCustomMappings(XWikiContext context)voidXWikiDefaultStore. injectUpdatedCustomMappings(XWikiContext context)voidXWikiHibernateStore. injectUpdatedCustomMappings(XWikiContext context)voidXWikiStoreInterface. injectUpdatedCustomMappings(XWikiContext context)booleanXWikiCacheStore. isCustomMappingValid(BaseClass bclass, String custommapping1, XWikiContext context)booleanXWikiHibernateStore. isCustomMappingValid(BaseClass bclass, String custommapping1, XWikiContext context)Deprecated.booleanXWikiStoreInterface. isCustomMappingValid(BaseClass bclass, String custommapping1, XWikiContext context)Deprecated.protected booleanXWikiHibernateBaseStore. isVirtual(XWikiContext context)Deprecated.Virtual mode is on by default, starting with XWiki 5.0M2.booleanXWikiCacheStore. isWikiNameAvailable(String wikiName, XWikiContext context)booleanXWikiHibernateStore. isWikiNameAvailable(String wikiName, XWikiContext inputxcontext)booleanXWikiStoreInterface. isWikiNameAvailable(String wikiName, XWikiContext context)Indicate if the provided wiki name could be used to create a new wiki.protected List<XWikiRCSNodeInfo>XWikiHibernateVersioningStore. loadAllRCSNodeInfo(XWikiContext context, long id, boolean bTransaction)XWikiAttachmentArchiveAttachmentVersioningStore. loadArchive(XWikiAttachment attachment, XWikiContext context, boolean bTransaction)Load attachment archive from store.XWikiAttachmentArchiveVoidAttachmentVersioningStore. loadArchive(XWikiAttachment attachment, XWikiContext context, boolean transaction)voidXWikiAttachmentStoreInterface. loadAttachmentContent(XWikiAttachment attachment, XWikiContext context, boolean bTransaction)voidXWikiHibernateAttachmentStore. loadAttachmentContent(XWikiAttachment attachment, XWikiContext inputxcontext, boolean bTransaction)List<String>XWikiCacheStore. loadBacklinks(String fullName, XWikiContext context, boolean bTransaction)Deprecated.List<DocumentReference>XWikiCacheStore. loadBacklinks(AttachmentReference attachmentReference, boolean bTransaction, XWikiContext context)Deprecated.List<DocumentReference>XWikiCacheStore. loadBacklinks(DocumentReference documentReference, boolean bTransaction, XWikiContext context)Deprecated.List<String>XWikiHibernateStore. loadBacklinks(String fullName, XWikiContext inputxcontext, boolean bTransaction)Deprecated.List<DocumentReference>XWikiHibernateStore. loadBacklinks(AttachmentReference attachmentReference, boolean bTransaction, XWikiContext inputxcontext)Deprecated.List<DocumentReference>XWikiHibernateStore. loadBacklinks(DocumentReference documentReference, boolean bTransaction, XWikiContext inputxcontext)Deprecated.List<String>XWikiStoreInterface. loadBacklinks(String fullName, XWikiContext context, boolean bTransaction)Deprecated.useLinkStoreAPIs insteaddefault List<DocumentReference>XWikiStoreInterface. loadBacklinks(AttachmentReference documentReference, boolean bTransaction, XWikiContext context)Deprecated.useLinkStoreAPIs insteadList<DocumentReference>XWikiStoreInterface. loadBacklinks(DocumentReference documentReference, boolean bTransaction, XWikiContext context)Deprecated.useLinkStoreAPIs insteadList<XWikiLink>XWikiCacheStore. loadLinks(long docId, XWikiContext context, boolean bTransaction)Deprecated.List<XWikiLink>XWikiHibernateStore. loadLinks(long docId, XWikiContext inputxcontext, boolean bTransaction)Deprecated.List<XWikiLink>XWikiStoreInterface. loadLinks(long docId, XWikiContext context, boolean bTransaction)Deprecated.useLinkStoreAPIs insteadXWikiLockXWikiCacheStore. loadLock(long docId, XWikiContext context, boolean bTransaction)XWikiLockXWikiHibernateStore. loadLock(long docId, XWikiContext inputxcontext, boolean bTransaction)XWikiLockXWikiStoreInterface. loadLock(long docId, XWikiContext context, boolean bTransaction)XWikiRCSNodeContentXWikiHibernateVersioningStore. loadRCSNodeContent(XWikiRCSNodeId id, boolean bTransaction, XWikiContext context)XWikiRCSNodeContentXWikiVersioningStoreInterface. loadRCSNodeContent(XWikiRCSNodeId id, boolean bTransaction, XWikiContext context)LoadXWikiRCSNodeContenton demand.voidXWikiHibernateStore. loadXWikiCollection(BaseCollection object, XWikiContext context, boolean bTransaction)Deprecated.This is internal to XWikiHibernateStore and may be removed in the future.XWikiDocumentXWikiCacheStore. loadXWikiDoc(XWikiDocument doc, XWikiContext inputxcontext)XWikiDocumentXWikiHibernateStore. loadXWikiDoc(XWikiDocument defaultDocument, XWikiContext inputxcontext)XWikiDocumentXWikiHibernateVersioningStore. loadXWikiDoc(XWikiDocument basedoc, String sversion, XWikiContext inputxcontext)XWikiDocumentXWikiStoreInterface. loadXWikiDoc(XWikiDocument doc, XWikiContext context)XWikiDocumentXWikiVersioningStoreInterface. loadXWikiDoc(XWikiDocument doc, String version, XWikiContext context)voidXWikiHibernateVersioningStore. loadXWikiDocArchive(XWikiDocumentArchive archivedoc, boolean bTransaction, XWikiContext context)voidXWikiVersioningStoreInterface. loadXWikiDocArchive(XWikiDocumentArchive archivedoc, boolean bTransaction, XWikiContext context)voidXWikiCacheStore. renameXWikiDoc(XWikiDocument doc, DocumentReference newReference, XWikiContext inputxcontext)voidXWikiHibernateStore. renameXWikiDoc(XWikiDocument doc, DocumentReference newReference, XWikiContext inputxcontext)Atomic operation for renaming a document.default voidXWikiStoreInterface. renameXWikiDoc(XWikiDocument doc, DocumentReference newReference, XWikiContext context)Atomic operation for renaming a document.voidXWikiHibernateVersioningStore. resetRCSArchive(XWikiDocument doc, boolean bTransaction, XWikiContext inputxcontext)voidXWikiVersioningStoreInterface. resetRCSArchive(XWikiDocument doc, boolean bTransaction, XWikiContext context)XWikiAttachmentAttachmentRecycleBinStore. restoreFromRecycleBin(XWikiAttachment attachment, long index, XWikiContext context, boolean bTransaction)Restore an attachment from the recycle bin (with full history).XWikiDocumentXWikiHibernateRecycleBinStore. restoreFromRecycleBin(long index, XWikiContext inputxcontext, boolean bTransaction)XWikiDocumentXWikiHibernateRecycleBinStore. restoreFromRecycleBin(XWikiDocument doc, long index, XWikiContext inputxcontext, boolean bTransaction)default XWikiDocumentXWikiRecycleBinStoreInterface. restoreFromRecycleBin(long index, XWikiContext context, boolean bTransaction)XWikiDocumentXWikiRecycleBinStoreInterface. restoreFromRecycleBin(XWikiDocument doc, long index, XWikiContext context, boolean bTransaction)Deprecated.since 9.4RC1.voidAttachmentVersioningStore. saveArchive(XWikiAttachmentArchive archive, XWikiContext context, boolean bTransaction)Save or update attachment archive.voidVoidAttachmentVersioningStore. saveArchive(XWikiAttachmentArchive archive, XWikiContext context, boolean transaction)voidXWikiAttachmentStoreInterface. saveAttachmentContent(XWikiAttachment attachment, boolean bParentUpdate, XWikiContext context, boolean bTransaction)voidXWikiAttachmentStoreInterface. saveAttachmentContent(XWikiAttachment attachment, XWikiContext context, boolean bTransaction)voidXWikiHibernateAttachmentStore. saveAttachmentContent(XWikiAttachment attachment, boolean parentUpdate, XWikiContext inputxcontext, boolean bTransaction)voidXWikiHibernateAttachmentStore. saveAttachmentContent(XWikiAttachment attachment, XWikiContext context, boolean bTransaction)voidXWikiAttachmentStoreInterface. saveAttachmentsContent(List<XWikiAttachment> attachments, XWikiDocument doc, boolean bParentUpdate, XWikiContext context, boolean bTransaction)voidXWikiHibernateAttachmentStore. saveAttachmentsContent(List<XWikiAttachment> attachments, XWikiDocument doc, boolean bParentUpdate, XWikiContext inputxcontext, boolean bTransaction)voidXWikiCacheStore. saveLinks(XWikiDocument doc, XWikiContext context, boolean bTransaction)Deprecated.voidXWikiHibernateStore. saveLinks(XWikiDocument doc, XWikiContext inputxcontext, boolean bTransaction)Deprecated.voidXWikiStoreInterface. saveLinks(XWikiDocument doc, XWikiContext context, boolean bTransaction)Deprecated.link storage and indexing moved to Solr (implemented in xwiki-platform-search-solr-api)voidXWikiCacheStore. saveLock(XWikiLock lock, XWikiContext context, boolean bTransaction)voidXWikiHibernateStore. saveLock(XWikiLock lock, XWikiContext inputxcontext, boolean bTransaction)voidXWikiStoreInterface. saveLock(XWikiLock lock, XWikiContext context, boolean bTransaction)voidAttachmentRecycleBinStore. saveToRecycleBin(XWikiAttachment attachment, String deleter, Date date, XWikiContext context, boolean bTransaction)Save attachment to recycle bin, with full history.voidXWikiHibernateRecycleBinStore. saveToRecycleBin(XWikiDocument doc, String deleter, Date date, XWikiContext inputxcontext, boolean bTransaction)voidXWikiHibernateRecycleBinStore. saveToRecycleBin(XWikiDocument doc, String deleter, Date date, String batchId, XWikiContext inputxcontext, boolean bTransaction)voidXWikiRecycleBinStoreInterface. saveToRecycleBin(XWikiDocument doc, String deleter, Date date, XWikiContext context, boolean bTransaction)Save document to recycle bin.default voidXWikiRecycleBinStoreInterface. saveToRecycleBin(XWikiDocument doc, String deleter, Date date, String batchId, XWikiContext context, boolean bTransaction)Save document to recycle bin.voidXWikiHibernateStore. saveXWikiCollection(BaseCollection object, XWikiContext inputxcontext, boolean bTransaction)Deprecated.This is internal to XWikiHibernateStore and may be removed in the future.voidXWikiCacheStore. saveXWikiDoc(XWikiDocument doc, XWikiContext context)voidXWikiCacheStore. saveXWikiDoc(XWikiDocument doc, XWikiContext inputxcontext, boolean bTransaction)voidXWikiHibernateStore. saveXWikiDoc(XWikiDocument doc, XWikiContext context)voidXWikiHibernateStore. saveXWikiDoc(XWikiDocument doc, XWikiContext inputxcontext, boolean bTransaction)voidXWikiStoreInterface. saveXWikiDoc(XWikiDocument doc, XWikiContext context)voidXWikiStoreInterface. saveXWikiDoc(XWikiDocument doc, XWikiContext context, boolean bTransaction)voidXWikiHibernateVersioningStore. saveXWikiDocArchive(XWikiDocumentArchive archivedoc, boolean bTransaction, XWikiContext context)voidXWikiVersioningStoreInterface. saveXWikiDocArchive(XWikiDocumentArchive archivedoc, boolean bTransaction, XWikiContext context)<T> List<T>XWikiCacheStore. search(String sql, int nb, int start, XWikiContext context)<T> List<T>XWikiCacheStore. search(String sql, int nb, int start, Object[][] whereParams, XWikiContext context)<T> List<T>XWikiCacheStore. search(String sql, int nb, int start, Object[][] whereParams, List<?> parameterValues, XWikiContext context)<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, XWikiContext context)<T> List<T>XWikiHibernateStore. search(String sql, int nb, int start, Object[][] whereParams, XWikiContext context)<T> List<T>XWikiHibernateStore. search(String sql, int nb, int start, Object[][] whereParams, List<?> parameterValues, XWikiContext inputxcontext)<T> List<T>XWikiHibernateStore. search(String sql, int nb, int start, List<?> parameterValues, XWikiContext context)ListXWikiHibernateStore. search(org.hibernate.query.Query query, int nb, int start, XWikiContext inputxcontext)<T> List<T>XWikiStoreInterface. search(String sql, int nb, int start, XWikiContext context)Execute a reading request and return result.<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>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>XWikiStoreInterface. search(String sql, int nb, int start, List<?> parameterValues, XWikiContext context)Execute a reading request with parameters and return result.List<DocumentReference>XWikiCacheStore. searchDocumentReferences(String wheresql, int nb, int start, XWikiContext context)List<DocumentReference>XWikiCacheStore. searchDocumentReferences(String wheresql, int nb, int start, String selectColumns, XWikiContext context)List<DocumentReference>XWikiCacheStore. searchDocumentReferences(String parametrizedSqlClause, int nb, int start, List<?> parameterValues, XWikiContext context)List<DocumentReference>XWikiCacheStore. searchDocumentReferences(String wheresql, XWikiContext context)List<DocumentReference>XWikiCacheStore. searchDocumentReferences(String parametrizedSqlClause, List<?> parameterValues, XWikiContext context)List<DocumentReference>XWikiHibernateStore. searchDocumentReferences(String wheresql, int nb, int start, XWikiContext context)List<DocumentReference>XWikiHibernateStore. searchDocumentReferences(String wheresql, int nb, int start, String selectColumns, XWikiContext context)List<DocumentReference>XWikiHibernateStore. searchDocumentReferences(String parametrizedSqlClause, int nb, int start, List<?> parameterValues, XWikiContext context)List<DocumentReference>XWikiHibernateStore. searchDocumentReferences(String wheresql, XWikiContext context)List<DocumentReference>XWikiHibernateStore. searchDocumentReferences(String parametrizedSqlClause, List<?> parameterValues, XWikiContext context)List<DocumentReference>XWikiStoreInterface. searchDocumentReferences(String wheresql, int nb, int start, XWikiContext context)List<DocumentReference>XWikiStoreInterface. searchDocumentReferences(String wheresql, int nb, int start, String selectColumns, 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>XWikiStoreInterface. searchDocumentReferences(String wheresql, XWikiContext context)List<DocumentReference>XWikiStoreInterface. searchDocumentReferences(String parametrizedSqlClause, List<?> parameterValues, XWikiContext context)Same asXWikiStoreInterface.searchDocumentReferences(String, int, int, List, XWikiContext)but returns all rows.List<XWikiDocument>XWikiCacheStore. searchDocuments(String wheresql, boolean distinctbyname, boolean customMapping, boolean checkRight, int nb, int start, XWikiContext context)List<XWikiDocument>XWikiCacheStore. searchDocuments(String wheresql, boolean distinctbylanguage, boolean customMapping, boolean checkRight, int nb, int start, List<?> parameterValues, XWikiContext context)List<XWikiDocument>XWikiCacheStore. searchDocuments(String wheresql, boolean distinctbyname, boolean customMapping, int nb, int start, XWikiContext context)List<XWikiDocument>XWikiCacheStore. searchDocuments(String wheresql, boolean distinctbylanguage, boolean customMapping, int nb, int start, List<?> parameterValues, XWikiContext context)List<XWikiDocument>XWikiCacheStore. searchDocuments(String wheresql, boolean distinctbyname, boolean customMapping, XWikiContext context)List<XWikiDocument>XWikiCacheStore. searchDocuments(String wheresql, boolean distinctbyname, int nb, int start, XWikiContext context)List<XWikiDocument>XWikiCacheStore. searchDocuments(String wheresql, boolean distinctbylanguage, int nb, int start, List<?> parameterValues, XWikiContext context)List<XWikiDocument>XWikiCacheStore. searchDocuments(String wheresql, boolean distinctbyname, XWikiContext context)List<XWikiDocument>XWikiCacheStore. searchDocuments(String wheresql, int nb, int start, XWikiContext context)List<XWikiDocument>XWikiCacheStore. searchDocuments(String wheresql, int nb, int start, List<?> parameterValues, XWikiContext context)List<XWikiDocument>XWikiCacheStore. searchDocuments(String wheresql, XWikiContext context)List<XWikiDocument>XWikiCacheStore. searchDocuments(String wheresql, List<?> parameterValues, XWikiContext context)List<XWikiDocument>XWikiDefaultStore. searchDocuments(String wheresql, boolean distinctbyname, boolean customMapping, int nb, int start, XWikiContext context)List<XWikiDocument>XWikiDefaultStore. searchDocuments(String wheresql, boolean distinctbylanguage, boolean customMapping, XWikiContext context)List<XWikiDocument>XWikiDefaultStore. searchDocuments(String wheresql, boolean distinctbyname, int nb, int start, XWikiContext context)List<XWikiDocument>XWikiDefaultStore. searchDocuments(String wheresql, boolean distinctbylanguage, XWikiContext context)List<XWikiDocument>XWikiDefaultStore. searchDocuments(String wheresql, int nb, int start, XWikiContext context)List<XWikiDocument>XWikiDefaultStore. searchDocuments(String wheresql, XWikiContext context)List<XWikiDocument>XWikiHibernateStore. searchDocuments(String wheresql, boolean distinctbylanguage, boolean customMapping, boolean checkRight, int nb, int start, XWikiContext context)List<XWikiDocument>XWikiHibernateStore. searchDocuments(String wheresql, boolean distinctbylanguage, boolean customMapping, boolean checkRight, int nb, int start, List<?> parameterValues, XWikiContext inputxcontext)List<XWikiDocument>XWikiHibernateStore. searchDocuments(String wheresql, boolean distinctbylanguage, boolean customMapping, int nb, int start, XWikiContext context)List<XWikiDocument>XWikiHibernateStore. searchDocuments(String wheresql, boolean distinctbylanguage, boolean customMapping, int nb, int start, List<?> parameterValues, XWikiContext context)List<XWikiDocument>XWikiHibernateStore. searchDocuments(String wheresql, boolean distinctbylanguage, boolean customMapping, XWikiContext context)List<XWikiDocument>XWikiHibernateStore. searchDocuments(String wheresql, boolean distinctbylanguage, int nb, int start, XWikiContext context)List<XWikiDocument>XWikiHibernateStore. searchDocuments(String wheresql, boolean distinctbylanguage, int nb, int start, List<?> parameterValues, XWikiContext context)List<XWikiDocument>XWikiHibernateStore. searchDocuments(String wheresql, boolean distinctbylanguage, XWikiContext context)List<XWikiDocument>XWikiHibernateStore. searchDocuments(String wheresql, int nb, int start, XWikiContext context)List<XWikiDocument>XWikiHibernateStore. searchDocuments(String wheresql, int nb, int start, List<?> parameterValues, XWikiContext context)List<XWikiDocument>XWikiHibernateStore. searchDocuments(String wheresql, XWikiContext context)List<XWikiDocument>XWikiHibernateStore. searchDocuments(String wheresql, List<?> parameterValues, XWikiContext context)List<XWikiDocument>XWikiStoreInterface. searchDocuments(String wheresql, boolean distinctbylanguage, boolean customMapping, boolean checkRight, int nb, int start, XWikiContext context)Search documents in the storing system.List<XWikiDocument>XWikiStoreInterface. searchDocuments(String wheresql, boolean distinctbylanguage, boolean customMapping, boolean checkRight, int nb, int start, List<?> parameterValues, XWikiContext context)Search documents in the storing system.List<XWikiDocument>XWikiStoreInterface. searchDocuments(String wheresql, boolean distinctbylanguage, boolean customMapping, int nb, int start, XWikiContext context)Search documents in the storing system.List<XWikiDocument>XWikiStoreInterface. searchDocuments(String wheresql, boolean distinctbylanguage, boolean customMapping, int nb, int start, List<?> parameterValues, XWikiContext context)Search documents in the storing system.List<XWikiDocument>XWikiStoreInterface. searchDocuments(String wheresql, boolean distinctbylanguage, boolean customMapping, XWikiContext context)Search documents in the storing system.List<XWikiDocument>XWikiStoreInterface. searchDocuments(String wheresql, boolean distinctbylanguage, int nb, int start, XWikiContext context)Search documents in the storing system.List<XWikiDocument>XWikiStoreInterface. searchDocuments(String wheresql, boolean distinctbylanguage, int nb, int start, List<?> parameterValues, XWikiContext context)Search documents in the storing system.List<XWikiDocument>XWikiStoreInterface. searchDocuments(String wheresql, boolean distinctbylanguage, XWikiContext context)Search documents in the storing system.List<XWikiDocument>XWikiStoreInterface. searchDocuments(String wheresql, int nb, int start, XWikiContext context)Search documents in the storing system.List<XWikiDocument>XWikiStoreInterface. searchDocuments(String wheresql, int nb, int start, List<?> parameterValues, XWikiContext context)Search documents in the storing system.List<XWikiDocument>XWikiStoreInterface. searchDocuments(String wheresql, XWikiContext context)Search documents in the storing system.List<XWikiDocument>XWikiStoreInterface. searchDocuments(String wheresql, List<?> parameterValues, XWikiContext context)Search documents in the storing system.List<String>XWikiCacheStore. searchDocumentsNames(String wheresql, int nb, int start, XWikiContext context)List<String>XWikiCacheStore. searchDocumentsNames(String wheresql, int nb, int start, String selectColumns, XWikiContext context)List<String>XWikiCacheStore. searchDocumentsNames(String parametrizedSqlClause, int nb, int start, List<?> parameterValues, XWikiContext context)List<String>XWikiCacheStore. searchDocumentsNames(String wheresql, XWikiContext context)List<String>XWikiCacheStore. searchDocumentsNames(String parametrizedSqlClause, List<?> parameterValues, XWikiContext context)ListXWikiDefaultStore. searchDocumentsNames(String wheresql, int nb, int start, XWikiContext context)ListXWikiDefaultStore. searchDocumentsNames(String wheresql, XWikiContext context)List<String>XWikiHibernateStore. searchDocumentsNames(String wheresql, int nb, int start, XWikiContext context)List<String>XWikiHibernateStore. searchDocumentsNames(String wheresql, int nb, int start, String selectColumns, XWikiContext context)List<String>XWikiHibernateStore. searchDocumentsNames(String parametrizedSqlClause, int nb, int start, List<?> parameterValues, XWikiContext context)List<String>XWikiHibernateStore. searchDocumentsNames(String wheresql, XWikiContext context)List<String>XWikiHibernateStore. searchDocumentsNames(String parametrizedSqlClause, List<?> parameterValues, XWikiContext context)List<String>XWikiStoreInterface. searchDocumentsNames(String wheresql, int nb, int start, XWikiContext context)List<String>XWikiStoreInterface. searchDocumentsNames(String wheresql, int nb, int start, String selectColumns, XWikiContext context)List<String>XWikiStoreInterface. searchDocumentsNames(String parametrizedSqlClause, int nb, int start, List<?> parameterValues, XWikiContext context)List<String>XWikiStoreInterface. searchDocumentsNames(String wheresql, XWikiContext context)List<String>XWikiStoreInterface. searchDocumentsNames(String parametrizedSqlClause, List<?> parameterValues, XWikiContext context)voidXWikiHibernateBaseStore. setDatabase(org.hibernate.Session session, XWikiContext inputxcontext)Virtual Wikis Allows to switch database connectionvoidXWikiHibernateBaseStore. setSession(org.hibernate.Session session, XWikiContext inputxcontext)Allows to set the current session in the context This is set in beginTransactionvoidXWikiHibernateBaseStore. setTransaction(org.hibernate.Transaction transaction, XWikiContext inputxcontext)Allows to set the current transaction This is set in beginTransactionvoidXWikiHibernateBaseStore. shutdownHibernate(XWikiContext inputxcontext)Deprecated.automatically done when theHibernateSessionFactorycomponent is disposedvoidVoidAttachmentVersioningStore.VoidAttachmentArchive. updateArchive(byte[] data, XWikiContext context)voidVoidAttachmentVersioningStore.VoidAttachmentArchive. updateArchive(XWikiContext context)voidXWikiHibernateBaseStore. updateSchema(BaseClass bclass, XWikiContext inputxcontext)Custom Mapping This function update the schema based on the dynamic custom mapping provided by the classvoidXWikiHibernateBaseStore. updateSchema(XWikiContext inputxcontext)Allows to update the schema to match the hibernate mappingvoidXWikiHibernateBaseStore. updateSchema(XWikiContext inputxcontext, boolean force)Allows to update the schema to match the hibernate mappingvoidXWikiHibernateBaseStore. updateSchema(String[] createSQL, XWikiContext inputxcontext)Deprecated.since 11.5RC1voidXWikiHibernateVersioningStore. updateXWikiDocArchive(XWikiDocument doc, boolean bTransaction, XWikiContext inputxcontext)voidXWikiVersioningStoreInterface. updateXWikiDocArchive(XWikiDocument doc, boolean bTransaction, XWikiContext context)Constructors in com.xpn.xwiki.store with parameters of type XWikiContext Constructor Description VoidAttachmentVersioningStore(XWikiContext context)Deprecated.1.6M1.XWikiCacheStore(XWikiStoreInterface store, XWikiContext context)Deprecated.since 10.2 and 9.11.4, should be used as a component insteadXWikiHibernateAttachmentStore(XWikiContext context)Deprecated.1.6M1.XWikiHibernateAttachmentStore(XWiki xwiki, XWikiContext context)Deprecated.1.6M1.XWikiHibernateBaseStore(XWiki xwiki, XWikiContext context)Deprecated.1.6M1.XWikiHibernateRecycleBinStore(XWikiContext context)Deprecated.1.6M1.XWikiHibernateStore(XWikiContext context)Deprecated.1.6M1.XWikiHibernateStore(XWiki xwiki, XWikiContext context)Deprecated.1.6M1.XWikiHibernateVersioningStore(XWikiContext context)Deprecated.1.6M1.XWikiHibernateVersioningStore(XWiki xwiki, XWikiContext context)Deprecated.1.6M1. -
Uses of XWikiContext in com.xpn.xwiki.store.hibernate
Methods in com.xpn.xwiki.store.hibernate with parameters of type XWikiContext Modifier and Type Method Description voidHibernateAttachmentVersioningStore. deleteArchive(XWikiAttachment attachment, XWikiContext context, boolean bTransaction)voidHibernateAttachmentRecycleBinStore. deleteFromRecycleBin(long index, XWikiContext inputxcontext, boolean bTransaction)List<DeletedAttachment>HibernateAttachmentRecycleBinStore. getAllDeletedAttachments(XWikiAttachment attachment, XWikiContext context, boolean bTransaction)List<DeletedAttachment>HibernateAttachmentRecycleBinStore. getAllDeletedAttachments(XWikiDocument doc, XWikiContext context, boolean bTransaction)DeletedAttachmentHibernateAttachmentRecycleBinStore. getDeletedAttachment(long index, XWikiContext context, boolean bTransaction)XWikiAttachmentArchiveHibernateAttachmentVersioningStore. loadArchive(XWikiAttachment attachment, XWikiContext context, boolean bTransaction)XWikiAttachmentHibernateAttachmentRecycleBinStore. restoreFromRecycleBin(XWikiAttachment attachment, long index, XWikiContext inputxcontext, boolean bTransaction)voidHibernateAttachmentVersioningStore. saveArchive(XWikiAttachmentArchive archive, XWikiContext context, boolean bTransaction)voidHibernateAttachmentRecycleBinStore. saveToRecycleBin(XWikiAttachment attachment, String deleter, Date date, XWikiContext inputxcontext, boolean bTransaction)Constructors in com.xpn.xwiki.store.hibernate with parameters of type XWikiContext Constructor Description HibernateAttachmentRecycleBinStore(XWikiContext context)Deprecated.1.6M1.HibernateAttachmentVersioningStore(XWikiContext context)Deprecated.1.6M1. -
Uses of XWikiContext in com.xpn.xwiki.store.hibernate.query
Methods in com.xpn.xwiki.store.hibernate.query that return XWikiContext Modifier and Type Method Description protected XWikiContextHqlQueryExecutor. getContext() -
Uses of XWikiContext in com.xpn.xwiki.store.migration
Methods in com.xpn.xwiki.store.migration that return XWikiContext Modifier and Type Method Description protected XWikiContextAbstractDataMigrationManager. getXWikiContext() -
Uses of XWikiContext in com.xpn.xwiki.store.migration.hibernate
Methods in com.xpn.xwiki.store.migration.hibernate that return XWikiContext Modifier and Type Method Description protected XWikiContextAbstractHibernateDataMigration. getXWikiContext() -
Uses of XWikiContext in com.xpn.xwiki.user.api
Methods in com.xpn.xwiki.user.api with parameters of type XWikiContext Modifier and Type Method Description voidXWikiGroupService. addUserToGroup(String user, String database, String group, XWikiContext context)Deprecated.should never be used ! There is a listener taking care of that automatically.PrincipalXWikiAuthService. authenticate(String username, String password, XWikiContext context)booleanXWikiRightService. checkAccess(String action, XWikiDocument doc, XWikiContext context)Checks if the wiki current user has the right to execute (@code action} on the documentdoc, along with redirecting to the login if it's not the case and there is no logged in user (the user is the guest user).XWikiUserXWikiAuthService. checkAuth(XWikiContext context)XWikiUserXWikiAuthService. checkAuth(String username, String password, String rememberme, XWikiContext context)Authenticates the user.intXWikiGroupService. countAllGroupsNamesForMember(String member, XWikiContext context)Return the number of groups containing provided member.intXWikiGroupService. countAllMatchedGroups(Object[][] matchFields, XWikiContext context)Return number of groups with provided constraints.default intXWikiGroupService. countAllMatchedMembersNamesForGroup(String group, String filter, XWikiContext xcontext)Filters the members of the specified group using the given text and counts the results.intXWikiGroupService. countAllMatchedUsers(Object[][] matchFields, XWikiContext context)Return number of users with provided constraints.intXWikiGroupService. countAllMembersNamesForGroup(String group, XWikiContext context)Return the number of members provided group contains.booleanXWikiUser. exists(XWikiContext context)Collection<String>XWikiGroupService. getAllGroupsNamesForMember(String member, int nb, int start, XWikiContext context)Get all groups containing provided member in the provided member wiki.Collection<DocumentReference>XWikiGroupService. getAllGroupsReferencesForMember(DocumentReference memberReference, int limit, int offset, XWikiContext context)Get all groups containing provided member in the current wiki.List<?>XWikiGroupService. getAllMatchedGroups(Object[][] matchFields, boolean withdetails, int nb, int start, Object[][] order, XWikiContext context)Search for all groups with provided constraints and in a provided order.Collection<String>XWikiGroupService. getAllMatchedMembersNamesForGroup(String group, String matchField, int nb, int start, Boolean orderAsc, XWikiContext context)Get members of provided group.List<?>XWikiGroupService. getAllMatchedUsers(Object[][] matchFields, boolean withdetails, int nb, int start, Object[][] order, XWikiContext context)Search for all users with provided constraints and in a provided order.Collection<String>XWikiGroupService. getAllMembersNamesForGroup(String group, int nb, int start, XWikiContext context)Get all members provided group contains.booleanXWikiRightService. hasAccessLevel(String right, String username, String docname, XWikiContext context)booleanXWikiRightService. hasAdminRights(XWikiContext context)Deprecated.since 6.1RC1, useContextualAuthorizationManager.hasAccess(org.xwiki.security.authorization.Right)insteadbooleanXWikiRightService. hasProgrammingRights(XWikiDocument doc, XWikiContext context)Deprecated.booleanXWikiRightService. hasProgrammingRights(XWikiContext context)Deprecated.since 6.1RC1, useContextualAuthorizationManager.hasAccess(org.xwiki.security.authorization.Right)insteadbooleanXWikiRightService. hasWikiAdminRights(XWikiContext context)Deprecated.voidXWikiGroupService. init(XWiki xwiki, XWikiContext context)voidXWikiGroupService. initCache(int iCapacity, XWikiContext context)Deprecated.since 10.8RC1, use GroupManager component insteadvoidXWikiGroupService. initCache(XWikiContext context)Deprecated.since 10.8RC1, use GroupManager component insteadbooleanXWikiUser. isDisabled(XWikiContext context)booleanXWikiUser. isEmailChecked(XWikiContext context)booleanXWikiUser. isUserInGroup(String groupName, XWikiContext context)Check if the user belongs to a group or not.List<String>XWikiGroupService. listAllGroups(XWikiContext context)List<String>XWikiRightService. listAllLevels(XWikiContext context)Collection<String>XWikiGroupService. listGroupsForUser(String username, XWikiContext context)List<String>XWikiGroupService. listMemberForGroup(String s, XWikiContext context)voidXWikiGroupService. removeUserOrGroupFromAllGroups(String userOrGroupWiki, String userOrGroupSpace, String userOrGroupName, XWikiContext context)Remove user or group name from all groups.default voidXWikiGroupService. replaceMemberInAllGroups(DocumentReference memberSource, DocumentReference memberTarget, XWikiContext context)Replace a given member reference by another one in all groups of the wiki.voidXWikiUser. setDisabled(boolean disable, XWikiContext context)voidXWikiUser. setEmailChecked(boolean checked, XWikiContext context)voidXWikiAuthService. showLogin(XWikiContext context) -
Uses of XWikiContext in com.xpn.xwiki.user.impl.xwiki
Methods in com.xpn.xwiki.user.impl.xwiki with parameters of type XWikiContext Modifier and Type Method Description voidXWikiGroupServiceImpl. addUserToGroup(String username, String database, String group, XWikiContext context)Deprecated.PrincipalGroovyAuthServiceImpl. authenticate(String username, String password, XWikiContext context)static PrincipalMyBasicAuthenticator. authenticate(String username, String password, XWikiContext context)static PrincipalMyFormAuthenticator. authenticate(String username, String password, XWikiContext context)PrincipalXWikiAuthServiceImpl. authenticate(String username, String password, XWikiContext context)protected PrincipalAbstractXWikiAuthService. authenticateSuperAdmin(String password, XWikiContext context)booleanXWikiRightServiceImpl. checkAccess(String action, XWikiDocument doc, XWikiContext context)Deprecated.XWikiUserAppServerTrustedAuthServiceImpl. checkAuth(XWikiContext context)XWikiUserAppServerTrustedAuthServiceImpl. checkAuth(String username, String password, String rememberme, XWikiContext context)We cannot authenticate locally since we need to trust the app server for authentication.XWikiUserAppServerTrustedKerberosAuthServiceImpl. checkAuth(XWikiContext context)XWikiUserAppServerTrustedKerberosAuthServiceImpl. checkAuth(String username, String password, String rememberme, XWikiContext context)XWikiUserGroovyAuthServiceImpl. checkAuth(XWikiContext context)XWikiUserGroovyAuthServiceImpl. checkAuth(String username, String password, String rememberme, XWikiContext context)XWikiUserXWikiAuthServiceImpl. checkAuth(XWikiContext context)XWikiUserXWikiAuthServiceImpl. checkAuth(String username, String password, String rememberme, XWikiContext context)Method to authenticate and set the cookie from a username and password passed as parametersstatic PrincipalMyBasicAuthenticator. checkLogin(org.securityfilter.filter.SecurityRequestWrapper request, javax.servlet.http.HttpServletResponse response, XWikiContext context)protected booleanXWikiAuthServiceImpl. checkPassword(String username, String password, XWikiContext context)booleanXWikiRightServiceImpl. checkRight(String userOrGroupName, XWikiDocument doc, String accessLevel, boolean user, boolean allow, boolean global, XWikiContext context)Deprecated.intXWikiGroupServiceImpl. countAllGroupsNamesForMember(String member, XWikiContext context)intXWikiGroupServiceImpl. countAllMatchedGroups(Object[][] matchFields, XWikiContext context)intXWikiGroupServiceImpl. countAllMatchedMembersNamesForGroup(String group, String filter, XWikiContext xcontext)intXWikiGroupServiceImpl. countAllMatchedUsers(Object[][] matchFields, XWikiContext context)protected intXWikiGroupServiceImpl. countAllMatchedUsersOrGroups(boolean user, Object[][] matchFields, XWikiContext context)Return number of users or groups with provided constraints.intXWikiGroupServiceImpl. countAllMembersNamesForGroup(String group, XWikiContext context)protected StringXWikiAuthServiceImpl. createUser(String user, XWikiContext context)protected StringXWikiAuthServiceImpl. findUser(String username, XWikiContext context)Collection<String>XWikiGroupServiceImpl. getAllGroupsNamesForMember(String member, int nb, int start, XWikiContext context)Collection<DocumentReference>XWikiGroupServiceImpl. getAllGroupsReferencesForMember(DocumentReference memberReference, int limit, int offset, XWikiContext context)List<?>XWikiGroupServiceImpl. getAllMatchedGroups(Object[][] matchFields, boolean withdetails, int nb, int start, Object[][] order, XWikiContext context)Collection<String>XWikiGroupServiceImpl. getAllMatchedMembersNamesForGroup(String group, String matchField, int nb, int start, Boolean orderAsc, XWikiContext context)List<?>XWikiGroupServiceImpl. getAllMatchedUsers(Object[][] matchFields, boolean withdetails, int nb, int start, Object[][] order, XWikiContext context)protected List<?>XWikiGroupServiceImpl. getAllMatchedUsersOrGroups(boolean user, Object[][] matchFields, boolean withdetails, int nb, int start, Object[][] order, XWikiContext context)Search for all users or group with provided constraints and in a provided order.Collection<String>XWikiGroupServiceImpl. getAllMembersNamesForGroup(String group, int nb, int start, XWikiContext context)protected XWikiAuthenticatorXWikiAuthServiceImpl. getAuthenticator(XWikiContext context)XWikiAuthServiceGroovyAuthServiceImpl. getAuthService(XWikiContext context)protected StringGroovyAuthServiceImpl. getParam(String name, XWikiContext context)protected StringXWikiAuthServiceImpl. getParam(String name, XWikiContext context)booleanXWikiRightServiceImpl. hasAccessLevel(String accessLevel, String userOrGroupName, String entityReference, boolean user, XWikiContext context)Deprecated.booleanXWikiRightServiceImpl. hasAccessLevel(String right, String username, String docname, XWikiContext context)Deprecated.booleanXWikiRightServiceImpl. hasAdminRights(XWikiContext context)Deprecated.booleanXWikiRightServiceImpl. hasProgrammingRights(XWikiDocument doc, XWikiContext context)Deprecated.booleanXWikiRightServiceImpl. hasProgrammingRights(XWikiContext context)Deprecated.booleanXWikiRightServiceImpl. hasWikiAdminRights(XWikiContext context)Deprecated.voidXWikiGroupServiceImpl. init(XWiki xwiki, XWikiContext context)voidXWikiGroupServiceImpl. initCache(int iCapacity, XWikiContext context)voidXWikiGroupServiceImpl. initCache(XWikiContext context)protected booleanXWikiGroupServiceImpl. isAllGroupImplicit(XWikiContext context)Check whether the configuration specifies that every user is implicitly in XWikiAllGroup.List<String>XWikiGroupServiceImpl. listAllGroups(XWikiContext context)Deprecated.List<String>XWikiRightServiceImpl. listAllLevels(XWikiContext context)Deprecated.Collection<String>XWikiGroupServiceImpl. listGroupsForUser(String member, XWikiContext context)Deprecated.List<String>XWikiGroupServiceImpl. listMemberForGroup(String group, XWikiContext context)Deprecated.booleanMyBasicAuthenticator. processLogin(String username, String password, String rememberme, org.securityfilter.filter.SecurityRequestWrapper request, javax.servlet.http.HttpServletResponse response, XWikiContext context)booleanMyBasicAuthenticator. processLogin(org.securityfilter.filter.SecurityRequestWrapper request, javax.servlet.http.HttpServletResponse response, XWikiContext context)booleanMyFormAuthenticator. processLogin(String username, String password, String rememberme, org.securityfilter.filter.SecurityRequestWrapper request, javax.servlet.http.HttpServletResponse response, XWikiContext context)Process any login information passed in parameter (username, password).booleanMyFormAuthenticator. processLogin(org.securityfilter.filter.SecurityRequestWrapper request, javax.servlet.http.HttpServletResponse response, XWikiContext context)Process any login information that was included in the request, if any.booleanXWikiAuthenticator. processLogin(String username, String password, String rememberme, org.securityfilter.filter.SecurityRequestWrapper request, javax.servlet.http.HttpServletResponse response, XWikiContext context)booleanXWikiAuthenticator. processLogin(org.securityfilter.filter.SecurityRequestWrapper request, javax.servlet.http.HttpServletResponse response, XWikiContext context)voidXWikiGroupServiceImpl. removeUserOrGroupFromAllGroups(String memberWiki, String memberSpace, String memberName, XWikiContext context)voidXWikiGroupServiceImpl. replaceMemberInAllGroups(DocumentReference memberSourceReference, DocumentReference memberTargetReference, XWikiContext context)voidGroovyAuthServiceImpl. showLogin(XWikiContext context)voidMyBasicAuthenticator. showLogin(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, XWikiContext context)voidMyFormAuthenticator. showLogin(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, XWikiContext context)Show the login page.voidXWikiAuthenticator. showLogin(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, XWikiContext context)voidXWikiAuthServiceImpl. showLogin(XWikiContext context)protected StringXWikiAuthServiceImpl. stripContextPathFromURL(URL url, XWikiContext context)The authentication library we are using (SecurityFilter) requires that its URLs do not contain the context path, in order to be usable withRequestDispatcher.forward. -
Uses of XWikiContext in com.xpn.xwiki.util
Methods in com.xpn.xwiki.util that return XWikiContext Modifier and Type Method Description XWikiContextXWikiStubContextProvider. createStubContext()Methods in com.xpn.xwiki.util with parameters of type XWikiContext Modifier and Type Method Description static StringUtil. decodeURI(String text, XWikiContext context)Decodes aapplication/x-www-form-urlencodedstring, the reverse ofUtil.encodeURI(String, XWikiContext).static StringUtil. encodeURI(String text, XWikiContext context)Translates a string intoapplication/x-www-form-urlencodedformat, so that it can be safely used in URIs, as a parameter value in a query string or as a segment in the URI path.static Map<String,Map<String,Object>>TOCGenerator. generateTOC(String content, int init, int max, boolean numbered, XWikiContext context)static javax.servlet.http.CookieUtil. getCookie(String cookieName, XWikiContext context)static StringUtil. getHTMLExceptionMessage(XWikiException xe, XWikiContext context)static MonitorPluginUtil. getMonitorPlugin(XWikiContext context)static StringUtil. getName(String name, XWikiContext context)voidXWikiStubContextProvider. initialize(XWikiContext context)Initialize a stub context from a real context.static StringTOCGenerator. makeHeadingID(String text, int occurence, XWikiContext context)Deprecated.useIdGeneratorinstead -
Uses of XWikiContext in com.xpn.xwiki.validation
Methods in com.xpn.xwiki.validation with parameters of type XWikiContext Modifier and Type Method Description voidXWikiValidationStatus. addError(String className, String propName, String propPrettyName, String validationMessage, XWikiContext context)static voidXWikiValidationStatus. addErrorToContext(String className, String propName, String propPrettyName, String validationMessage, XWikiContext context)voidXWikiValidationStatus. addException(String className, String propName, Throwable e, XWikiContext context)static voidXWikiValidationStatus. addExceptionToContext(String className, String propName, Throwable e, XWikiContext context)booleanXWikiDefaultValidation. validateDocument(XWikiDocument doc, XWikiContext context)booleanXWikiValidationInterface. validateDocument(XWikiDocument doc, XWikiContext context)booleanXWikiDefaultValidation. validateObject(BaseObject object, XWikiContext context)booleanXWikiValidationInterface. validateObject(BaseObject object, XWikiContext context) -
Uses of XWikiContext in com.xpn.xwiki.web
Fields in com.xpn.xwiki.web declared as XWikiContext Modifier and Type Field Description protected XWikiContextXWikiMessageTool. contextDeprecated.Methods in com.xpn.xwiki.web that return XWikiContext Modifier and Type Method Description static XWikiContextUtils. getContext()Helper method for obtaining a valid xcontext from the execution context.protected XWikiContextXWikiMessageTool. getXWikiContext()Deprecated.protected XWikiContextXWikiAction. initializeXWikiContext(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse)protected XWikiContextXWikiAction. initializeXWikiContext(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse, XWikiForm form)static XWikiContextUtils. prepareContext(String action, XWikiRequest request, XWikiResponse response, XWikiEngineContext engine_context)Methods in com.xpn.xwiki.web with parameters of type XWikiContext Modifier and Type Method Description booleanAbstractPropChangeAction. action(XWikiContext context)Tries to change the specified property, and redirect back to the class editor (or the specifiedxredirectlocation).booleanCancelAction. action(XWikiContext context)booleanCommentAddAction. action(XWikiContext context)booleanCommentSaveAction. action(XWikiContext context)booleanDeleteAction. action(XWikiContext context)booleanDeleteAttachmentAction. action(XWikiContext context)booleanDeleteVersionsAction. action(XWikiContext context)booleanGetAction. action(XWikiContext context)booleanLockAction. action(XWikiContext context)booleanLoginAction. action(XWikiContext context)booleanLoginErrorAction. action(XWikiContext context)booleanLoginSubmitAction. action(XWikiContext context)booleanLogoutAction. action(XWikiContext context)booleanObjectAddAction. action(XWikiContext context)booleanObjectRemoveAction. action(XWikiContext context)booleanObjectsSynchronizeAction. action(XWikiContext context)booleanPreviewAction. action(XWikiContext context)booleanPropAddAction. action(XWikiContext context)booleanPropUpdateAction. action(XWikiContext context)booleanRedirectAction. action(XWikiContext context)booleanRegisterAction. action(XWikiContext context)booleanResetVersionsAction. action(XWikiContext context)booleanRollbackAction. action(XWikiContext context)booleanSaveAction. action(XWikiContext context)booleanSaveAndContinueAction. action(XWikiContext context)booleanSkinAction. action(XWikiContext context)booleanUndeleteAction. action(XWikiContext context)booleanUploadAction. action(XWikiContext context)booleanXWikiAction. action(XWikiContext context)protected voidXWikiServletURLFactory. addFileName(StringBuilder path, String fileName, boolean encode, XWikiContext context)protected voidXWikiServletURLFactory. addFileName(StringBuilder path, String fileName, XWikiContext context)protected voidXWikiAction. answerJSON(XWikiContext context, int status, Map<String,String> answer)Answer to a request with a JSON content.static booleanUtils. arePlaceholdersEnabled(XWikiContext context)Check if placeholders are enabled in the current context.abstract voidAbstractPropChangeAction. changePropertyDefinition(BaseClass xclass, String propertyName, XWikiContext context)The method which does the actual modification of the property definition.voidPropDeleteAction. changePropertyDefinition(BaseClass xclass, String propertyName, XWikiContext context)voidPropDisableAction. changePropertyDefinition(BaseClass xclass, String propertyName, XWikiContext context)voidPropEnableAction. changePropertyDefinition(BaseClass xclass, String propertyName, XWikiContext context)URLExportURLFactory. createAttachmentRevisionURL(String filename, String spaces, String name, String revision, String xwikidb, XWikiContext context)URLXWikiDefaultURLFactory. createAttachmentRevisionURL(String filename, String spaces, String name, String revision, XWikiContext context)URLXWikiDefaultURLFactory. createAttachmentRevisionURL(String filename, String spaces, String name, String revision, String querystring, XWikiContext context)URLXWikiServletURLFactory. createAttachmentRevisionURL(String filename, String spaces, String name, String revision, long recycleId, String querystring, String xwikidb, XWikiContext context)URLXWikiServletURLFactory. createAttachmentRevisionURL(String filename, String spaces, String name, String revision, String querystring, String xwikidb, XWikiContext context)URLXWikiURLFactory. createAttachmentRevisionURL(String filename, String spaces, String name, String revision, String querystring, XWikiContext context)URLXWikiURLFactory. createAttachmentRevisionURL(String filename, String spaces, String name, String revision, String querystring, String xwikidb, XWikiContext context)URLExportURLFactory. createAttachmentURL(String filename, String spaces, String name, String action, String querystring, String xwikidb, XWikiContext context)URLXWikiDefaultURLFactory. createAttachmentURL(String filename, String spaces, String name, String action, String querystring, XWikiContext context)URLXWikiServletURLFactory. createAttachmentURL(String filename, String spaces, String name, String action, String querystring, String xwikidb, XWikiContext context)URLXWikiURLFactory. createAttachmentURL(String filename, String spaces, String name, String action, String querystring, XWikiContext context)URLXWikiURLFactory. createAttachmentURL(String filename, String spaces, String name, String action, String querystring, String xwikidb, XWikiContext context)URLXWikiDefaultURLFactory. createExternalURL(String spaces, String name, String action, String querystring, String anchor, XWikiContext context)URLXWikiServletURLFactory. createExternalURL(String spaces, String name, String action, String querystring, String anchor, String xwikidb, XWikiContext context)URLXWikiURLFactory. createExternalURL(String spaces, String name, String action, String querystring, String anchor, XWikiContext context)URLXWikiURLFactory. createExternalURL(String spaces, String name, String action, String querystring, String anchor, String xwikidb, XWikiContext context)static StringUtils. createPlaceholder(String value, XWikiContext context)Create a placeholder key for a string that should be protected from further processing.URLExportURLFactory. createResourceURL(String filename, boolean forceSkinAction, XWikiContext context)URLExportURLFactory. createResourceURL(String filename, boolean forceSkinAction, XWikiContext context, Map<String,Object> queryParameters)URLXWikiDefaultURLFactory. createResourceURL(String filename, boolean forceSkinAction, XWikiContext context)URLXWikiServletURLFactory. createResourceURL(String filename, boolean forceSkinAction, XWikiContext context, Map<String,Object> queryParameters)URLXWikiURLFactory. createResourceURL(String filename, boolean forceSkinAction, XWikiContext context)Create an URL for the file resource.URLXWikiURLFactory. createResourceURL(String filename, boolean forceSkinAction, XWikiContext context, Map<String,Object> queryParameters)Create an URL for the file resource.URLExportURLFactory. createSkinURL(String filename, String skin, XWikiContext context)URLExportURLFactory. createSkinURL(String filename, String skin, XWikiContext context, Map<String,Object> queryParameters)URLExportURLFactory. createSkinURL(String filename, String spaces, String name, XWikiContext context)URLExportURLFactory. createSkinURL(String filename, String spaces, String name, XWikiContext context, boolean skipSkinDirectory)URLExportURLFactory. createSkinURL(String fileName, String spaces, String name, String wikiId, XWikiContext context)URLExportURLFactory. createSkinURL(String fileName, String spaces, String name, String wikiId, XWikiContext context, boolean skipSkinDirectory)URLExportURLFactory. createSkinURL(String filename, String spaces, String name, String xwikidb, XWikiContext context, Map<String,Object> queryParameters)URLXWikiDefaultURLFactory. createSkinURL(String filename, String skin, XWikiContext context)URLXWikiDefaultURLFactory. createSkinURL(String filename, String spaces, String name, XWikiContext context)URLXWikiDefaultURLFactory. createSkinURL(String filename, String spaces, String name, XWikiContext context, Map<String,Object> queryParameters)URLXWikiDefaultURLFactory. createSkinURL(String filename, String spaces, String name, String xwikidb, XWikiContext context)URLXWikiServletURLFactory. createSkinURL(String filename, String skin, XWikiContext context, Map<String,Object> queryParameters)URLXWikiServletURLFactory. createSkinURL(String filename, String spaces, String name, String xwikidb, XWikiContext context, Map<String,Object> queryParameters)URLXWikiURLFactory. createSkinURL(String filename, String skin, XWikiContext context)Create a skin URL for the given filename and skin directory.URLXWikiURLFactory. createSkinURL(String filename, String skin, XWikiContext context, Map<String,Object> queryParameters)Create an URL for the given filename in the given skin directory.URLXWikiURLFactory. createSkinURL(String filename, String spaces, String name, XWikiContext context)Create an URL for the filename located in the spaces and with given repository.URLXWikiURLFactory. createSkinURL(String filename, String spaces, String name, XWikiContext context, Map<String,Object> queryParameters)Create an URL for the filename located in the spaces and with given repository.URLXWikiURLFactory. createSkinURL(String filename, String spaces, String name, String xwikidb, XWikiContext context)Create an URL for the filename located in the spaces and with given repository.URLXWikiURLFactory. createSkinURL(String filename, String spaces, String name, String xwikidb, XWikiContext context, Map<String,Object> queryParameters)Create an URL for the filename located in the spaces and with given repository.URLXWikiServletURLFactory. createTemplateURL(String fileName, XWikiContext context)URLExportURLFactory. createURL(String spaces, String name, String action, String querystring, String anchor, String xwikidb, XWikiContext context)URLExportURLFactoryActionHandler. createURL(String spaces, String name, String queryString, String anchor, String wikiId, XWikiContext context, FilesystemExportContext exportContext)URLXWikiDefaultURLFactory. createURL(String spaces, String name, XWikiContext context)URLXWikiDefaultURLFactory. createURL(String spaces, String name, String action, XWikiContext context)URLXWikiDefaultURLFactory. createURL(String spaces, String name, String action, String querystring, String anchor, XWikiContext context)URLXWikiServletURLFactory. createURL(String spaces, String name, String action, boolean redirect, XWikiContext context)URLXWikiServletURLFactory. createURL(String spaces, String name, String action, String querystring, String anchor, String xwikidb, XWikiContext context)URLXWikiURLFactory. createURL(String spaces, String name, XWikiContext context)URLXWikiURLFactory. createURL(String spaces, String name, String action, boolean redirect, XWikiContext context)URLXWikiURLFactory. createURL(String spaces, String name, String action, XWikiContext context)URLXWikiURLFactory. createURL(String spaces, String name, String action, String querystring, String anchor, XWikiContext context)URLXWikiURLFactory. createURL(String spaces, String name, String action, String querystring, String anchor, String xwikidb, XWikiContext context)XWikiURLFactoryXWikiURLFactoryService. createURLFactory(int mode, XWikiContext context)XWikiURLFactoryXWikiURLFactoryServiceImpl. createURLFactory(int mode, XWikiContext context)protected booleanXWikiAction. csrfTokenCheck(XWikiContext context)Perform CSRF check and redirect to the resubmission page if needed.protected booleanXWikiAction. csrfTokenCheck(XWikiContext context, boolean jsonAnswer)Perform CSRF check and redirect to the resubmission page if needed.static StringUtils. decode(String text, XWikiContext context)Deprecated.replaced byUtil.decodeURI(String, XWikiContext)since 1.3M2protected booleanDeleteAction. delete(XWikiContext context)protected booleanDeleteSpaceAction. delete(XWikiContext context)protected booleanDeleteAction. deleteDocument(EntityReference entityReference, XWikiContext context, boolean shouldSkipRecycleBin, DocumentReference newBacklinkTarget, boolean updateLinks, boolean autoRedirect)Create a job to delete an entity.static voidUtils. disablePlaceholders(XWikiContext context)Disable placeholder support in the current request context.static voidUtils. enablePlaceholders(XWikiContext context)Enable placeholder support in the current request context.static StringUtils. encode(String text, XWikiContext context)Deprecated.replaced byUtil.encodeURI(String, XWikiContext)since 1.3M2voidXWikiAction. execute(XWikiContext context)XWikiAttachmentXWikiServletURLFactory. findAttachmentForDocRevision(XWikiDocument doc, String docRevision, String filename, XWikiContext context)longXWikiServletURLFactory. findDeletedAttachmentForDocRevision(XWikiDocument doc, String docRevision, String filename, XWikiContext context)protected URLXWikiServletURLFactory. getDefaultURL(String wikiId, XWikiContext xcontext)protected StringUploadAction. getFileName(String fieldName, FileUploadPlugin fileupload, XWikiContext context)Extract the corresponding attachment name for a given file field.protected BaseObjectObjectRemoveAction. getObject(XWikiDocument doc, XWikiContext context)static StringUtils. getRedirect(String action, XWikiContext context)Retrieve the URL to which the client should be redirected after the successful completion of the requested action.static StringUtils. getRedirect(String action, String queryString, XWikiContext context)Retrieve the URL to which the client should be redirected after the successful completion of the requested action.URLXWikiDefaultURLFactory. getRequestURL(XWikiContext context)URLXWikiServletURLFactory. getRequestURL(XWikiContext context)URLXWikiURLFactory. getRequestURL(XWikiContext context)URLXWikiServletURLFactory. getServerURL(XWikiContext context)URLXWikiServletURLFactory. getServerURL(String wikiId, XWikiContext context)Get the url of the server EG: http://www.xwiki.org/ This function sometimes will return a URL with a trailing / and other times not.URLXWikiURLFactory. getServerURL(XWikiContext context)Generate the base external URL to access this server.protected XWikiDocumentXWikiAction. getTranslatedDocument(XWikiDocument doc, String language, XWikiContext context)Gets the translated version of a document, in the specified language.StringExportURLFactory. getURL(URL url, XWikiContext context)StringExternalServletURLFactory. getURL(URL url, XWikiContext context)StringXWikiDefaultURLFactory. getURL(URL url, XWikiContext context)StringXWikiServletURLFactory. getURL(URL url, XWikiContext context)Converts a URL to a relative URL if it's a XWiki URL (keeping only the path + query string + anchor) and leave the URL unchanged if it's an external URL.StringXWikiURLFactory. getURL(URL url, XWikiContext context)Converts a URL to a string representation.static FileUploadPluginUtils. handleMultipart(javax.servlet.http.HttpServletRequest request, XWikiContext context)Process a multi-part request, extracting all the uploaded files.protected voidXWikiAction. handleRevision(XWikiContext context)voidExportURLFactory. init(Collection<String> exportedPages, File exportDir, XWikiContext context)Deprecated.starting with 8.4.5/9.0, useExportURLFactory.init(Collection, File, FilesystemExportContext, XWikiContext)voidExportURLFactory. init(Collection<DocumentReference> exportedPages, File exportDir, FilesystemExportContext exportContext, XWikiContext context)Init the url factory.voidXWikiServletURLFactory. init(XWikiContext context)voidXWikiURLFactory. init(XWikiContext context)protected voidXWikiAction. initializeContainerComponent(XWikiContext context)protected voidXWikiContextInitializationFilter. initializeContainerComponent(XWikiContext context)static BooleanUtils. isAjaxRequest(XWikiContext context)Verify if the current request is an AJAX request.protected booleanXWikiServletURLFactory. isContextDoc(String wiki, String spaces, String name, XWikiContext context)Check if a document is the original context document.protected static URLXWikiServletURLFactory. normalizeURL(String url, XWikiContext context)Encodes the passed URL and offers the possibility for Servlet Filter to perform URL rewriting (this is used for example by Tuckey's URLRewriteFilter for rewriting outbound URLs, see http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs).protected static URLXWikiServletURLFactory. normalizeURL(URL url, XWikiContext context)Encodes the passed URL and offers the possibility for Servlet Filter to perform URL rewriting (this is used for example by Tuckey's URLRewriteFilter for rewriting outbound URLs, see http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs).static voidUtils. parseTemplate(String template, boolean write, XWikiContext context)Generate the response by parsing a velocity template and (optionally) printing the result to theResponse.static voidUtils. parseTemplate(String template, XWikiContext context)Generate the response by parsing a velocity template and printing the result to theResponse.protected XWikiDocumentEditAction. prepareEditedDocument(XWikiContext context)Determines the edited document (translation) and updates it based on the template specified on the request and any additional request parameters that overwrite the default values from the template.booleanPropUpdateAction. propUpdate(XWikiContext context)protected booleanXWikiAction. readFromTemplate(XWikiDocument document, String template, XWikiContext context)Helper used by various actions to initialize a document by copying a template to it.StringAbstractPropChangeAction. render(XWikiContext context)StringAdminAction. render(XWikiContext context)StringAttachAction. render(XWikiContext context)StringCommentAddAction. render(XWikiContext context)StringCreateAction. render(XWikiContext context)StringDeleteAction. render(XWikiContext context)StringDeleteAttachmentAction. render(XWikiContext context)StringDeleteSpaceAction. render(XWikiContext context)StringDeleteVersionsAction. render(XWikiContext context)StringDownloadAction. render(XWikiContext context)StringDownloadRevAction. render(XWikiContext context)StringEditAction. render(XWikiContext context)StringExportAction. render(XWikiContext context)StringGetAction. render(XWikiContext context)StringImportAction. render(XWikiContext context)StringLoginAction. render(XWikiContext context)StringLoginErrorAction. render(XWikiContext context)StringLoginSubmitAction. render(XWikiContext context)StringObjectRemoveAction. render(XWikiContext context)StringObjectsSynchronizeAction. render(XWikiContext context)StringPreviewAction. render(XWikiContext context)StringPropAddAction. render(XWikiContext context)StringPropUpdateAction. render(XWikiContext context)StringRegisterAction. render(XWikiContext context)StringResetVersionsAction. render(XWikiContext context)StringRollbackAction. render(XWikiContext context)StringSaveAction. render(XWikiContext context)StringSaveAndContinueAction. render(XWikiContext context)StringSkinAction. render(XWikiContext context)StringSkinAction. render(String path, XWikiContext context)StringSVGAction. render(XWikiContext context)StringUndeleteAction. render(XWikiContext context)StringUnknownAction. render(XWikiContext context)StringUploadAction. render(XWikiContext context)StringViewAction. render(XWikiContext context)StringViewAttachRevAction. render(XWikiContext context)StringXWikiAction. render(XWikiContext context)booleanSkinAction. renderFileFromAttachment(String filename, XWikiDocument doc, XWikiContext context)Tries to serve the content of an attachment as a skin file.booleanSkinAction. renderFileFromObjectField(String filename, XWikiDocument doc, XWikiContext context)Tries to serve the content of an XWikiSkins object field as a skin file.static StringUtils. replacePlaceholders(String content, XWikiContext context)Insert back the replaced strings.booleanSaveAction. save(XWikiContext context)Saves the current document, updated according to the parameters sent in the request.protected voidDownloadAction. sendContent(XWikiAttachment attachment, XWikiRequest request, XWikiResponse response, XWikiContext context)Send the attachment content in the response.protected booleanXWikiAction. sendGlobalRedirect(XWikiResponse response, String url, XWikiContext context)Send redirection based on a regexp pattern (if any) set at the main wiki level.booleanUploadAction. uploadAttachment(String fieldName, String filename, FileUploadPlugin fileupload, XWikiDocument doc, XWikiContext context)Attach a file to the current document.protected voidXWikiAction. writeAjaxErrorResponse(int httpStatusCode, String message, XWikiContext context)Write an error response to an ajax request.Constructors in com.xpn.xwiki.web with parameters of type XWikiContext Constructor Description CreateActionRequestHandler(XWikiContext context)ExternalServletURLFactory(XWikiContext context)Old-school constructor using the XWikiContext to initialize the factory.XWikiMessageTool(ResourceBundle bundle, XWikiContext context)Deprecated.XWikiServletURLFactory(XWikiContext context)Creates a new URL factory that uses the server URL and context path specified by the given XWiki context.
-