Uses of Class
com.xpn.xwiki.XWikiException
-
-
Uses of XWikiException in com.xpn.xwiki
Methods in com.xpn.xwiki that throw XWikiException Modifier and Type Method Description 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.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, XWikiContext context)Delete a range of versions from a document history.booleanXWiki. 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.StringXWiki. getAttachmentURL(String fullname, String filename, XWikiContext context)StringXWiki. getAttachmentURL(String fullname, String filename, String queryString, XWikiContext context)BaseClassXWiki. getClass(String fullName, XWikiContext context)Deprecated.since 2.2M2 useXWiki.getXClass(DocumentReference, XWikiContext)List<String>XWiki. getClassList(XWikiContext context)BaseClassXWiki. getCommentsClass(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)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)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. getExternalURL(String fullname, String action, XWikiContext context)StringXWiki. getExternalURL(String fullname, String action, String querystring, XWikiContext context)BaseClassXWiki. getGlobalRightsClass(XWikiContext context)BaseClassXWiki. getGroupClass(XWikiContext context)XWikiGroupServiceXWiki. getGroupService(XWikiContext context)static XWikiXWiki. getMainXWiki(boolean wait, XWikiContext context)static XWikiXWiki. getMainXWiki(XWikiContext context)BaseObjectXWiki. getObjectFromRequest(String className, XWikiContext context)BaseClassXWiki. getPrefsClass(XWikiContext context)Verify if theXWiki.XWikiPreferencespage exists and that it contains all the required configuration properties to make XWiki work properly.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.static URLXWiki. getRequestURL(XWikiRequest request)BaseClassXWiki. getRightsClass(XWikiContext context)BaseClassXWiki. getRightsClass(String pagename, XWikiContext context)BaseClassXWiki. getSheetClass(XWikiContext context)Deprecated.since 3.1M2 edit mode class should be used for this purpose, not the sheet classBaseClassXWiki. getSkinClass(XWikiContext context)List<String>XWiki. getSpaceDocsName(String spaceReference, XWikiContext context)Deprecated.use query service insteadList<String>XWiki. getSpaces(XWikiContext context)Deprecated.use query service insteadBaseClassXWiki. getTagClass(XWikiContext context)Verify if theXWiki.TagClasspage exists and that it contains all the required configuration properties to make the tag feature work properly.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.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.List<String>XWiki. getVirtualWikisDatabaseNames(XWikiContext context)Deprecated.since 5.3, useWikiDescriptorManager.getAllIds()insteadStringXWiki. getWikiOwner(String wikiName, XWikiContext context)Get the reference of the owner for the provider wiki.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. include(String topic, boolean isForm, XWikiContext context)XWikiContextXWikiContextInitializer. initialize(org.xwiki.context.ExecutionContext econtext)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.voidXWikiConfig. loadConfig(InputStream is, String path)Deprecated.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.booleanXWiki. prepareDocuments(XWikiRequest request, XWikiContext context, org.apache.velocity.VelocityContext vcontext)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.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, 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. setUserDefaultGroup(String fullwikiname, 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. validateDocument(XWikiDocument doc, XWikiContext context)intXWiki. validateUser(boolean withConfirmEmail, XWikiContext context)Constructors in com.xpn.xwiki that throw XWikiException 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)insteadXWikiConfig(InputStream is)Deprecated.XWikiConfig(String path)Deprecated. -
Uses of XWikiException in com.xpn.xwiki.api
Methods in com.xpn.xwiki.api that throw XWikiException Modifier and Type Method Description intDocument. addAttachments()intDocument. addAttachments(String fieldName)ObjectDocument. addObjectFromRequest()ObjectDocument. addObjectFromRequest(String className)ObjectDocument. addObjectFromRequest(String className, String prefix)List<Object>Document. addObjectsFromRequest(String className)List<Object>Document. addObjectsFromRequest(String className, String prefix)voidXWiki. addToAllGroup(String fullwikiname)Privileged API to add a user to the XWiki.XWikiAllGroupXWikiUserXWiki. checkAuth()Check authentication from request and set according persitent login information If it fails user is unloggedXWikiUserXWiki. checkAuth(String username, String password, String rememberme)Check authentication from username and password and set according persitent login information If it fails user is unloggedbooleanUser. checkPassword(String password)Check if the password passed as argument is the user password.booleanDocument. convertSyntax(String targetSyntaxId)Convert the current document content from its current syntax to the new syntax passed as parameter.booleanXWiki. copyDocument(String docname, String targetdocname)API to copy a document to another document in the same wikibooleanXWiki. copyDocument(String docname, String targetdocname, String wikilocale)API to copy a translation of a document to another document in the same wikibooleanXWiki. copyDocument(String docname, String sourceWiki, String targetWiki, String wikilocale)API to copy a translation of a document to another document of the same name in another wikibooleanXWiki. copyDocument(String docname, String targetdocname, String sourceWiki, String targetWiki, String wikilocale, boolean reset)API to copy a translation of a document to another document of the same name in another wiki additionally resetting the versionbooleanXWiki. copyDocument(String docname, String targetdocname, String sourceWiki, String targetWiki, String wikilocale, boolean reset, boolean force)API to copy a translation of a document to another document of the same name in another wiki additionally resetting the version and overwriting the previous documentbooleanXWiki. copyDocument(DocumentReference sourceDocumentReference, DocumentReference targetDocumentReference, String wikilocale, boolean resetHistory, boolean overwrite)API to copy a translation of a document to another document of the same name in another wiki additionally resetting the version and overwriting the previous documentintXWiki. copySpaceBetweenWikis(String space, String sourceWiki, String targetWiki, String locale, boolean clean)Privileged API to copy a space to another wiki, optionally deleting all document of the target spaceintXWiki. countAttachments(String parametrizedSqlClause, List<?> parameterValues)Count attachments returned by a given parameterized queryintDocument. createNewObject(String classname)Creates a New XWiki Object of the given classnameintXWiki. createUser()Privileged API to create a new user from the request This API is used by RegisterNewUser wiki pageintXWiki. createUser(boolean withValidation)Privileged API to create a new user from the request This API is used by RegisterNewUser wiki page This version sends a validation email to the user Configuration of validation email is in the XWiki PreferencesintXWiki. createUser(boolean withValidation, String userRights)Privileged API to create a new user from the request.voidDeletedAttachment. delete()Permanently delete this attachment from the trash.voidDocument. delete()voidDocument. deleteAsAuthor()Delete the document if thecontent authorof the script calling this method has permission to do so.protected voidDocument. deleteDocument()Remove document from the wiki.voidDocument. deleteWithProgrammingRights()StringDocument. displayDocument()StringDocument. displayDocument(boolean restricted)StringDocument. displayDocument(org.xwiki.rendering.syntax.Syntax targetSyntax)StringDocument. displayDocument(org.xwiki.rendering.syntax.Syntax targetSyntax, boolean restricted)StringDocument. displayRendered(PropertyClass pclass, String prefix, Collection object)booleanXWiki. exists(String fullname)Returns whether a document exists or notbooleanXWiki. exists(DocumentReference reference)Returns whether a document exists or notbooleanXWiki. exists(PageReference reference)Returns whether a page exists or not.StringDocument. getArchive()AttachmentAttachment. getAttachmentRevision(String rev)Allow to easily access any revision of an attachment.StringXWiki. getAttachmentURL(String fullname, String filename)API to retrieve the URL of an attached file in a Wiki Document The URL is generated differently depending on the environment (Servlet, Portlet, PDF, etc..) The URL generation can be modified by implementing a new XWikiURLFactory object For compatibility with any target environment (and especially the portlet environment) It is important to always use the URL functions to generate URL and never hardcode URLsList<DocumentReference>Document. getBackLinkedReferences()Retrieve the references of the page containing a link to the current page.List<String>Document. getBacklinks()List<String>Document. getChildren()Get document children.List<String>Document. getChildren(int nb, int start)Get document children.List<DocumentReference>Document. getChildrenReferences()Get document children references.ClassXWiki. getClass(String documentName)Get the XWiki Class object defined in the passed Document name.ClassXWiki. getClass(EntityReference docReference)Get the XWiki Class object defined in the passed Document name.List<String>XWiki. getClassList()Get the list of available classes in the wikibyte[]Attachment. getContent()byte[]Attachment. getContentAsBytes()StringAttachment. getContentAsString()StringAttachment. getContentAsString(String charset)List<org.suigeneris.jrcs.diff.delta.Delta>Document. getContentDiff(Document origdoc, Document newdoc)StringDocument. getDefaultEditMode()Gets the default edit mode for this document.StringDocument. getDefaultEditURL()DeletedDocumentXWiki. getDeletedDocument(String index)DeletedDocumentXWiki. getDeletedDocument(String fullname, String locale, String index)Deprecated.since 9.4RC1.List<DeletedDocument>XWiki. getDeletedDocuments(String batchId)List<DeletedDocument>XWiki. getDeletedDocuments(String fullname, String locale)DocumentXWiki. getDocument(Document doc, String rev)Load a specific revision of a documentDocumentXWiki. getDocument(String documentReference)Loads an Document from the database.DocumentXWiki. getDocument(String space, String fullname)Loads an Document from the database.DocumentXWiki. getDocument(DocumentReference reference)Loads a Document from the database.DocumentXWiki. getDocument(DocumentReference reference, String revision)Load a specific revision of a documentDocumentXWiki. getDocument(EntityReference reference)Loads a Document from the store.XWikiDocumentArchiveDocument. getDocumentArchive()Get the archive of this document's history.DocumentXWiki. getDocumentAsAuthor(String fullName)Loads an Document from the database.DocumentXWiki. getDocumentAsAuthor(DocumentReference reference)Loads an Document from the database.StringDocument. getEditURL(String action, String mode)DocumentXWiki. getEntityDocument(String reference, EntityType type)Loads an Document from the database.StringDocument. getEscapedContent()Get the document's content XML-escaped.List<org.suigeneris.jrcs.diff.delta.Delta>Document. getLastChanges()List<XWikiLink>Document. getLinks()List<MetaDataDiff>Document. getMetaDataDiff(Document origdoc, Document newdoc)ObjectXWiki. getObjectFromRequest(String className)API to create an object from the request The parameters are the ones that are created from doc.display("field","edit") callsStringDocument. getParentURL()DocumentDocument. getPreviousDocument()Allow to easily access the previous revision of a documentStringDocument. getRealLanguage()Deprecated.since 8.0M1, useDocument.getRealLocale()insteadString[]Document. getRecentRevisions()String[]Document. getRecentRevisions(int nb)StringXWiki. getRelativeRequestURL()API Allowing to access the current request URL being requested as a relative URL.StringDocument. getRenderedContent()StringDocument. getRenderedContent(boolean transformationContextIsolated)Execute and render the document in the current context.StringDocument. getRenderedContent(String text)Deprecated.since 1.6M1 useDocument.getRenderedContent(String, String)StringDocument. getRenderedContent(String text, String syntaxId)StringDocument. getRenderedContent(String text, String sourceSyntaxId, String targetSyntaxId)StringDocument. getRenderedContent(org.xwiki.rendering.syntax.Syntax targetSyntax)List<org.suigeneris.jrcs.diff.delta.Delta>Document. getRenderedContentDiff(Document origdoc, Document newdoc)StringDocument. getRenderedContentRestricted(String text, String syntaxId)Render a text in a restricted mode, where script macros are completely disabled.StringDocument. getRenderedTitle(String syntaxId)Returns the title of the document rendered through wiki syntax and velocityStringXWiki. getRequestURL()API Allowing to access the current request URL being requested.RevisionInfoDocument. getRevisionInfo(String version)Get information about a document version : author, date, etc.org.suigeneris.jrcs.rcs.Version[]Document. getRevisions()List<String>Document. getRevisions(RevisionCriteria criteria)Get document versions matching criterias like author, minimum creation date, etc.List<DocumentSection>Document. getSections()Get the top sections contained in the document.List<String>XWiki. getSpaceDocsName(String spaceReference)Deprecated.use query service insteadList<String>XWiki. getSpaces()Deprecated.use query service insteadStringDocument. getTranslatedContent()StringDocument. getTranslatedContent(String locale)DocumentDocument. getTranslatedDocument()DocumentDocument. getTranslatedDocument(String locale)List<Locale>Document. getTranslationLocales()StringXWiki. getUniquePageName(String space)Generates a unique document name based on initial page name and already existing pages.StringXWiki. getUniquePageName(String space, String name)Generates a unique document name based on initial page name and already existing pagesStringXWiki. getURL(String fullname)API to retrieve the URL of an a Wiki Document in view mode The URL is generated differently depending on the environment (Servlet, Portlet, PDF, etc..) The URL generation can be modified by implementing a new XWikiURLFactory object For compatibility with any target environment (and especially the portlet environment) It is important to always use the URL functions to generate URL and never hardcode URLsStringXWiki. getURL(String fullname, String action)API to retrieve the URL of an a Wiki Document in any mode.StringXWiki. getURL(String fullname, String action, String querystring)API to retrieve the URL of a Wiki Document in any mode, optionally adding a query string The URL is generated differently depending on the environment (Servlet, Portlet, PDF, etc..) The URL generation can be modified by implementing a new XWikiURLFactory object.StringXWiki. getURL(String fullname, String action, String querystring, String anchor)API to retrieve the URL of an a Wiki Document in any mode, optionally adding an anchor.StringXWiki. getURL(DocumentReference reference)API to retrieve the URL of an a Wiki Document in view mode The URL is generated differently depending on the environment (Servlet, Portlet, PDF, etc..) The URL generation can be modified by implementing a new XWikiURLFactory object For compatibility with any target environment (and especially the portlet environment) It is important to always use the URL functions to generate URL and never hardcode URLsStringXWiki. getURL(DocumentReference reference, String action, String querystring)API to retrieve the URL of a Wiki Document in any mode, optionally adding a query string The URL is generated differently depending on the environment (Servlet, Portlet, PDF, etc..) The URL generation can be modified by implementing a new XWikiURLFactory object.StringXWiki. getURL(EntityReference reference)Retrieve the URL of an entity using the default mode/action for that entity type.StringXWiki. getURL(EntityReference reference, String action, String querystring)API to retrieve the URL of an entity in any mode, optionally adding a query string The URL is generated differently depending on the environment (Servlet, Portlet, PDF, etc..) The URL generation can be modified by implementing a new XWikiURLFactory object.List<org.suigeneris.jrcs.rcs.Version>Attachment. getVersionList()Get a list of attachment versions from 1.1 to the current.org.suigeneris.jrcs.rcs.Version[]Attachment. getVersions()Get an array containing the versions of the attachment.StringDocument. getXMLContent()List<org.suigeneris.jrcs.diff.delta.Delta>Document. getXMLDiff(Document origdoc, Document newdoc)booleanApi. hasAccessLevel(String right, String docname)Check if the current user has an access level on a given document.booleanXWiki. hasBacklinks()API to check if the backlinks feature is active Backlinks are activated in xwiki.cfg or in the XWiki PreferencesbooleanXWiki. hasTags()API to check if the tags feature is active.StringXWiki. includeForm(String topic)API to execute a form in the context of an including topic The rendering is evaluated in the context of the including topic All velocity variables are the one of the including topic This api is usually called using #includeForm in a page, which modifies the behavior of "Edit this page" button to direct for Form mode (inline)StringXWiki. includeForm(String topic, boolean pre)API to execute a form in the context of an including topic, optionnaly surrounding the content with {pre}{/pre} to avoid future wiki rendering The rendering is evaluated in the context of the including topic All velocity variables are the one of the including topic This api is usually called using #includeForm in a page, which modifies the behavior of "Edit this page" button to direct for Form mode (inline).StringXWiki. includeTopic(String topic)API to include a topic into another The topic is rendered fully in the context of itselfStringXWiki. includeTopic(String topic, boolean pre)API to include a topic into another, optionally surrounding the content with {pre}{/pre} to avoid future wiki rendering.voidDocument. insertText(String text, String marker)ObjectClass. newObject()ObjectDocument. newObject(String classname)Creates a New XWiki Object of the given classnameObjectXWiki. parseGroovyFromPage(String fullname)Privileged API to retrieve an object instanciated from groovy code in a String Groovy scripts compilation is cachedObjectXWiki. parseGroovyFromPage(String script, String jarWikiPage)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.ObjectXWiki. parseGroovyFromString(String script)Privileged API to retrieve an object instantiated from groovy code in a String.voidXWiki. refreshLinks()Priviledge API to regenerate the links/backlinks table Normally links and backlinks are stored when a page is modified This function will regenerate all the backlinks This function can be long to runvoidDocument. rename(String newDocumentName, List<String> backlinkDocumentNames)Rename the current document and all the links pointing to it in the list of passed backlink documents.voidDocument. rename(String newDocumentName, List<String> backlinkDocumentNames, List<String> childDocumentNames)Same asDocument.rename(String, List)but the list of documents having the current document as their parent is passed in parameter.voidDocument. rename(DocumentReference newReference)Rename the current document and all the backlinks leading to it.voidDocument. rename(DocumentReference newReference, List<DocumentReference> backlinkDocumentNames, List<DocumentReference> childDocumentNames)Same asDocument.rename(String, List)but the list of documents having the current document as their parent is passed in parameter.booleanXWiki. renameDocument(DocumentReference sourceDocumentReference, DocumentReference targetDocumentReference, boolean overwrite, List<DocumentReference> backlinkDocumentReferences, List<DocumentReference> childDocumentReferences)API to rename a document to another document.voidDocument. save()voidDocument. save(String comment)voidDocument. save(String comment, boolean minorEdit)voidDocument. saveAsAuthor()Save the document if the current author of the script calling this method has permission to do so.voidDocument. saveAsAuthor(String comment)Save the document if the current author of the script calling this method has permission to do so.voidDocument. saveAsAuthor(String comment, boolean minorEdit)Save the document if the current author of the script calling this method has permission to do so.protected voidDocument. saveDocument(String comment, boolean minorEdit)voidDocument. saveWithProgrammingRights()voidDocument. saveWithProgrammingRights(String comment)voidDocument. saveWithProgrammingRights(String comment, boolean minorEdit)List<Attachment>XWiki. searchAttachments(String parametrizedSqlClause, int nb, int start, List<?> parameterValues)Search attachments by passing HQL where clause values as parameters.List<String>XWiki. searchDocuments(String wheresql)Deprecated.use query service insteadList<Document>XWiki. searchDocuments(String wheresql, boolean distinctbylocale)API allowing to search for documents allowing to have mutliple entries per localeList<Document>XWiki. searchDocuments(String wheresql, boolean distinctbylocale, int nb, int start)API allowing to search for documents allowing to have multiple entries per localeList<String>XWiki. searchDocuments(String wheresql, int nb, int start)Deprecated.use query service insteadList<String>XWiki. searchDocuments(String wheresql, int nb, int start, String selectColumns)Deprecated.use query service insteadList<String>XWiki. searchDocuments(String parameterizedWhereClause, int maxResults, int startOffset, List<?> parameterValues)Deprecated.use query service insteadList<String>XWiki. searchDocuments(String parameterizedWhereClause, List<?> parameterValues)Deprecated.use query service insteadList<String>XWiki. searchDocumentsNames(String wikiName, String parameterizedWhereClause, int maxResults, int startOffset, List<?> parameterValues)Deprecated.use query service insteadList<String>XWiki. searchSpacesNames(String parametrizedSqlClause, int nb, int start, List<?> parameterValues)Search spaces by passing HQL where clause values as parameters.voidXWiki. sendConfirmationMail(String xwikiname, String password, String email, String contentfield)Privileged API to send a confirmation email to a uservoidXWiki. sendConfirmationMail(String xwikiname, String password, String email, String add_message, String contentfield)Privileged API to send a confirmation email to a uservoidDocument. setContent(org.xwiki.rendering.block.XDOM content)StringDocument. toXML()org.dom4j.DocumentDocument. toXMLDocument()ObjectDocument. updateObjectFromRequest(String className)ObjectDocument. updateObjectFromRequest(String className, String prefix)List<Object>Document. updateObjectsFromRequest(String className)List<Object>Document. updateObjectsFromRequest(String className, String prefix)booleanDocument. validate()booleanDocument. validate(String[] classNames)intXWiki. validateUser(boolean withConfirmEmail)Privileged API to validate the return code given by a user in response to an email validation email The validation information are taken from the request object -
Uses of XWikiException in com.xpn.xwiki.doc
Methods in com.xpn.xwiki.doc that throw XWikiException 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.default voidDocumentRevisionProvider. checkAccess(Right right, org.xwiki.user.UserReference userReference, DocumentReference documentReference, String revision)Check if access is granted on the given document revision, for the given user and right: if the access is not granted this method will throw anAccessDeniedException.XWikiAttachmentXWikiAttachment. clone(String name, XWikiContext context)Clone the attachment and its history to a new name, and attach it to a new document.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. 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. displayRendered(PropertyClass pclass, String prefix, BaseCollection object, XWikiContext context)booleanXWikiAttachment. equalsData(XWikiAttachment otherAttachment, XWikiContext xcontext)booleanDefaultDocumentAccessBridge. exists(String documentReference)Deprecated.booleanDefaultDocumentAccessBridge. exists(DocumentReference documentReference)voidXWikiAttachment. fromXML(String source)voidXWikiAttachment. fromXML(org.dom4j.Element docel)voidXWikiAttachment. fromXML(org.xwiki.filter.input.InputSource source)voidXWikiDocument. fromXML(InputStream is)voidXWikiDocument. fromXML(InputStream source, boolean withArchive)voidXWikiDocument. fromXML(String xml)voidXWikiDocument. fromXML(String source, boolean withArchive)voidXWikiDocument. fromXML(org.dom4j.Document domdoc, boolean withArchive)Deprecated.useXWikiDocument.fromXML(InputStream)insteadvoidXWikiDocument. fromXML(org.xwiki.filter.input.InputSource source, boolean withArchive)byte[]XWikiAttachmentArchive. getArchive()Get the archive if it is currently stored in RAM.byte[]XWikiAttachmentArchive. getArchive(XWikiContext context)Get the archive, loading it from the database if necessary.StringXWikiDocumentArchive. getArchive(XWikiContext context)StringXWikiAttachmentArchive. getArchiveAsString()Get the archive if it is currently stored in RAM.StringXWikiAttachmentArchive. getArchiveAsString(XWikiContext context)Get the archive, loading it from the database if necessary.XWikiAttachmentArchiveXWikiAttachment. getAttachmentArchive(XWikiContext xcontext)XWikiAttachmentContentXWikiAttachment. getAttachmentContent(XWikiContext xcontext)XWikiAttachmentXWikiAttachment. getAttachmentRevision(String rev, 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.byte[]XWikiAttachment. getContent(XWikiContext xcontext)Deprecated.StringDeletedAttachmentContent. getContentAsString()StringXWikiDeletedDocumentContent. getContentAsString()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)StringXWikiDocument. getContentOfSection(int sectionNumber)Return the content of a section.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)DocumentSectionXWikiDocument. getDocumentSection(int sectionNumber)Return a Document section with parameter is sectionNumber.StringXWikiDocument. getEditURL(String action, String mode, XWikiContext context)StringXWikiDocument. getEscapedContent(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)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(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)XWikiDocumentDocumentRevisionProvider. getRevision(XWikiDocument document, String revision)Load the document in the provided revision.XWikiDocumentDocumentRevisionProvider. getRevision(DocumentReference reference, String revision)Load the document in the provided revision.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)List<DocumentSection>XWikiDocument. getSections()Get the top sections contained in the document.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<XWikiLink>XWikiDocument. getUniqueWikiLinkedPages(XWikiContext context)Get a list of unique links from this document to others documents.List<org.suigeneris.jrcs.rcs.Version>XWikiAttachment. getVersionList()Get the list of all versions up to the current.StringXWikiDocumentArchive. getVersionXml(org.suigeneris.jrcs.rcs.Version version, XWikiContext context)Return the XML corresponding to a version.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(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.XWikiAttachmentDeletedAttachmentContent. getXWikiAttachment(XWikiAttachment attachment)XWikiDocumentXWikiDeletedDocumentContent. getXWikiDocument(XWikiDocument document)voidXWikiDocument. insertText(String text, String marker, XWikiContext context)voidLazyXWikiDocument. loadArchive(XWikiContext context)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.XWikiDocumentXWikiDocumentArchive. loadDocument(org.suigeneris.jrcs.rcs.Version version, XWikiContext context)protected XWikiRCSNodeContentXWikiDocumentArchive. makePatch(XWikiRCSNodeInfo newnode, XWikiDocument doc, XWikiContext context)Make a patch.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.protected static StringXWikiDocument. renderXDOM(org.xwiki.rendering.block.XDOM content, org.xwiki.rendering.syntax.Syntax targetSyntax)Render provided XDOM into content of the provided syntax identifier.voidXWikiDocument. resetArchive(XWikiContext context)XWikiAttachmentDeletedAttachment. restoreAttachment()XWikiAttachmentDeletedAttachment. restoreAttachment(XWikiAttachment attachment)Restore aXWikiAttachmentfrom aDeletedAttachment.XWikiAttachmentDeletedAttachment. restoreAttachment(XWikiAttachment attachment, XWikiContext context)Deprecated.since 9.9RC1, useDeletedAttachment.restoreAttachment(XWikiAttachment)insteadXWikiDocumentXWikiDeletedDocument. 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 insteadvoidXWikiAttachment. setArchive(String data)voidXWikiAttachmentArchive. setArchive(byte[] data)Set the archive from a byte array representation of a JRCS archive.voidXWikiAttachmentArchive. setArchive(String data)Set the archive from a byte array representation of a JRCS archive.voidXWikiDocumentArchive. setArchive(String text)Deserialize class.protected voidDeletedAttachment. setAttachment(XWikiAttachment attachment, XWikiContext context)Deprecated.since 9.9RC1, useDeletedAttachment(long, String, String, String, String, Date, DeletedAttachmentContent)insteadvoidXWikiDocument. setContent(org.xwiki.rendering.block.XDOM content)protected voidXWikiDeletedDocument. setDocument(XWikiDocument doc, XWikiContext context)Deprecated.since 9.0RC1, useinsteadvoidXWikiDocument. setDocumentArchive(String sarch)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.StringXWikiAttachment. toXML()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 anXMLWritervoidXWikiAttachment. toXML(org.xwiki.filter.output.OutputTarget out, boolean bWithAttachmentContent, boolean bWithVersions, boolean format, String encoding)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.voidXWikiDocument. toXML(DocumentInstanceInputProperties documentProperties, XAROutputProperties xarProperties)Serialize the document to an OutputStream.voidXWikiDocument. toXML(org.xwiki.filter.output.OutputTarget out, boolean bWithObjects, boolean bWithRendering, boolean bWithAttachmentContent, boolean bWithVersions, boolean format, String encoding)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)StringXWikiDocument. updateDocumentSection(int sectionNumber, String newSectionContent)Update a section content in document.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 that throw XWikiException 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)XWikiDeletedDocument(String fullName, Locale locale, String storeType, String deleter, Date deleteDate, XWikiDeletedDocumentContent content)XWikiDeletedDocument(String fullName, Locale locale, String storeType, String deleter, Date deleteDate, XWikiDeletedDocumentContent content, String batchId) -
Uses of XWikiException in com.xpn.xwiki.doc.rcs
Methods in com.xpn.xwiki.doc.rcs that throw XWikiException Modifier and Type Method Description XWikiRCSNodeContentXWikiRCSNodeInfo. getContent(XWikiContext context)voidXWikiPatch. patch(List<String> origText)Patch text.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. setDiffVersion(String originalVersionXml, String newVersionXml, String docName)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.XWikiPatchXWikiPatch. setFullVersion(String versionXml)Store the XML export of the document as the history patch; this will be a history milestone.Constructors in com.xpn.xwiki.doc.rcs that throw XWikiException Constructor Description XWikiRCSArchive(Collection<XWikiRCSNodeInfo> nodeInfos, XWikiContext context)Used to serializeXWikiDocumentArchive. -
Uses of XWikiException in com.xpn.xwiki.export.html
Methods in com.xpn.xwiki.export.html that throw XWikiException Modifier and Type Method Description voidHtmlPackager. export(XWikiContext context)Apply export and create the ZIP package. -
Uses of XWikiException in com.xpn.xwiki.objects
Methods in com.xpn.xwiki.objects that throw XWikiException Modifier and Type Method Description voidBaseElement. fromXML(String source)protected voidBaseElement. fromXML(org.dom4j.Element oel)voidBaseObject. fromXML(org.dom4j.Element oel)PropertyInterfaceBaseCollection. get(String name)PropertyInterfaceObjectInterface. get(String name)Map<String,Object>BaseCollection. getCustomMappingMap()BaseClassObjectInterface. getXClass(XWikiContext context)voidBaseCollection. put(String name, PropertyInterface property)voidObjectInterface. put(String name, PropertyInterface property) -
Uses of XWikiException in com.xpn.xwiki.objects.classes
Methods in com.xpn.xwiki.objects.classes that throw XWikiException Modifier and Type Method Description voidPropertyClass. displayCustom(StringBuffer buffer, String fieldName, String prefix, String type, BaseObject object, XWikiContext context)BaseCollectionBaseClass. fromMap(Map<String,?> map, XWikiContext context)Deprecated.voidBaseClass. fromXML(String xml)voidBaseClass. fromXML(org.dom4j.Element element)voidPropertyClass. fromXML(org.dom4j.Element element)booleanBaseClass. isCustomMappingValid(XWikiContext context)booleanBaseClass. isCustomMappingValid(String custommapping, XWikiContext context)BaseObjectBaseClass. newCustomClassInstance(boolean fallback)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.booleanBaseClass. validateObject(BaseObject obj, XWikiContext context) -
Uses of XWikiException in com.xpn.xwiki.objects.meta
Methods in com.xpn.xwiki.objects.meta that throw XWikiException Modifier and Type Method Description BaseCollectionPropertyMetaClass. newObject(XWikiContext context) -
Uses of XWikiException in com.xpn.xwiki.pdf.api
Methods in com.xpn.xwiki.pdf.api that throw XWikiException 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 XWikiException in com.xpn.xwiki.pdf.impl
Methods in com.xpn.xwiki.pdf.impl that throw XWikiException Modifier and Type Method Description protected StringPdfExportImpl. applyXSLT(String xml, InputStream xslt)Applies an XSLT transformation to an XML document.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. -
Uses of XWikiException in com.xpn.xwiki.plugin
Subclasses of XWikiException in com.xpn.xwiki.plugin Modifier and Type Class Description classPluginExceptionDeprecated.the plugin technology is deprecated, and XWikiException was a bad idea from the startMethods in com.xpn.xwiki.plugin that throw XWikiException Modifier and Type Method Description 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) -
Uses of XWikiException in com.xpn.xwiki.plugin.fileupload
Methods in com.xpn.xwiki.plugin.fileupload that throw XWikiException Modifier and Type Method Description StringFileUploadPlugin. getFileItem(String formfieldName, XWikiContext context)Deprecated.not well named, useFileUploadPlugin.getFileItemAsString(String, com.xpn.xwiki.XWikiContext)StringFileUploadPluginApi. getFileItem(String formfieldName)Deprecated.not well named, useFileUploadPluginApi.getFileItemAsString(String)StringFileUploadPlugin. getFileItemAsString(String formfieldName, XWikiContext context)Allows to retrieve the contents of an uploaded file as a string.StringFileUploadPluginApi. getFileItemAsString(String formfieldName)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.byte[]FileUploadPluginApi. getFileItemData(String formfieldName)Allows to retrieve the contents of an uploaded file as a sequence of bytes.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.voidFileUploadPluginApi. loadFileList()Loads the list of uploaded files in the context if there are any uploaded files.voidFileUploadPluginApi. loadFileList(long uploadMaxSize, int uploadSizeThreashold, String tempdir)Loads the list of uploaded files in the context if there are any uploaded files. -
Uses of XWikiException in com.xpn.xwiki.plugin.packaging
Subclasses of XWikiException in com.xpn.xwiki.plugin.packaging Modifier and Type Class Description classPackageExceptionDeprecated.since 5.2, use Filter framework insteadMethods in com.xpn.xwiki.plugin.packaging that throw XWikiException 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.booleanPackageAPI. add(String docFullName)Deprecated.booleanPackageAPI. add(String docFullName, int DefaultAction)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.1M2voidPackageAPI. backupWiki()Deprecated.voidPackage. deleteAllWikiDocuments(XWikiContext context)Deprecated.StringPackage. export(OutputStream os, XWikiContext context)Deprecated.StringPackageAPI. export()Deprecated.StringPackage. exportToDir(File dir, 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.StringPackageAPI. Import(byte[] file)Deprecated.Load a package in memory from a byte array.StringPackageAPI. Import(InputStream file)Deprecated.Load a package in memory from an InputStream.intPackage. install(XWikiContext context)Deprecated.intPackageAPI. install()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.booleanPackage. updateDoc(String docFullName, int action, XWikiContext context)Deprecated. -
Uses of XWikiException in com.xpn.xwiki.plugin.rightsmanager
Subclasses of XWikiException in com.xpn.xwiki.plugin.rightsmanager Modifier and Type Class Description classRightsManagerExceptionRights Manager plugin base exception.Methods in com.xpn.xwiki.plugin.rightsmanager that throw XWikiException Modifier and Type Method Description intRightsManagerGroupsApi. countAllGlobalGroups()intRightsManagerUsersApi. countAllGlobalUsers()intRightsManager. countAllGlobalUsersOrGroups(boolean user, Object[][] matchFields, XWikiContext context)Get the number of users or groups in the main wiki.intRightsManagerGroupsApi. countAllGroups()intRightsManager. countAllGroupsNamesForMember(String member, XWikiContext context)Deprecated.since 10.8RC1, use org.xwiki.user.group.GroupManager component insteadintRightsManagerPluginApi. countAllGroupsNamesForMember(String member)Deprecated.since 10.8RC1, use org.xwiki.user.script.GroupScriptService ($services.user.group) insteadintRightsManagerGroupsApi. countAllLocalGroups()intRightsManagerUsersApi. countAllLocalUsers()intRightsManager. countAllLocalUsersOrGroups(boolean user, Object[][] matchFields, XWikiContext context)Get the number of users or groups in the current wiki.intRightsManagerGroupsApi. countAllMatchedGlobalGroups(Map<?,?> matchFields)intRightsManagerUsersApi. countAllMatchedGlobalUsers(Map<?,?> matchFields)intRightsManagerGroupsApi. countAllMatchedGroups(Map<?,?> matchFields)intRightsManagerGroupsApi. countAllMatchedLocalGroups(Map<?,?> matchFields)intRightsManagerUsersApi. countAllMatchedLocalUsers(Map<?,?> matchFields)intRightsManager. countAllMatchedMembersNamesForGroup(String group, String filter, XWikiContext xcontext)Filters the members of the specified group using the given text and counts the results.intRightsManagerUsersApi. countAllMatchedUsers(Map<?,?> matchFields)intRightsManagerGroupsApi. countAllMatchedWikiGroups(String wikiName, Map<?,?> matchFields)Get the number of groups in the provided wiki.intRightsManagerUsersApi. countAllMatchedWikiUsers(String wikiName, Map<?,?> matchFields)Get the number of users in the provided wiki.intRightsManager. countAllMembersNamesForGroup(String group, XWikiContext context)Deprecated.since 10.8RC1, use org.xwiki.user.group.GroupManager component insteadintRightsManagerPluginApi. countAllMembersNamesForGroup(String group)Deprecated.since 10.8RC1, use org.xwiki.user.script.GroupScriptService ($services.user.group) insteadintRightsManagerUsersApi. countAllUsers()intRightsManager. countAllUsersOrGroups(boolean user, Object[][] matchFields, XWikiContext context)Get the number of users or groups in the main wiki and the current wiki.intRightsManagerGroupsApi. countAllWikiGroups(String wikiName)Get the number of groups in the provided wiki.intRightsManagerUsersApi. countAllWikiUsers(String wikiName)Get the number of users in the provided wiki.intRightsManager. countAllWikiUsersOrGroups(boolean user, String wikiName, Object[][] matchFields, XWikiContext context)Get the number of users or groups in the provided wiki.List<Document>RightsManagerGroupsApi. getAllGlobalGroups()Get all groups in the main wiki.List<Document>RightsManagerGroupsApi. getAllGlobalGroups(int nb, int start)Get all groups in the main wiki.List<String>RightsManagerGroupsApi. getAllGlobalGroupsNames()Get all groups names in the main wiki.List<String>RightsManagerGroupsApi. getAllGlobalGroupsNames(int nb, int start)Get all groups names in the main wiki.List<Document>RightsManagerUsersApi. getAllGlobalUsers()Get all users in the main wiki.List<Document>RightsManagerUsersApi. getAllGlobalUsers(int nb, int start)Get all users in the main wiki.List<String>RightsManagerUsersApi. getAllGlobalUsersNames()Get all users names in the main wiki.List<String>RightsManagerUsersApi. getAllGlobalUsersNames(int nb, int start)Get all users names in the main wiki.List<Document>RightsManagerGroupsApi. getAllGroups()Get all groups in the main wiki and the current wiki.List<Document>RightsManagerGroupsApi. getAllGroups(int nb, int start)Get all groups in the main wiki and the current wiki.List<String>RightsManagerGroupsApi. getAllGroupsNames()Get all groups names in the main wiki and the current wiki.List<String>RightsManagerGroupsApi. getAllGroupsNames(int nb, int start)Get all groups names in the main wiki and the current wiki.Collection<String>RightsManager. getAllGroupsNamesForMember(String member, int nb, int start, XWikiContext context)Deprecated.since 10.8RC1, use org.xwiki.user.group.GroupManager component insteadCollection<String>RightsManagerPluginApi. getAllGroupsNamesForMember(String member)Deprecated.since 10.8RC1, use org.xwiki.user.script.GroupScriptService ($services.user.group) insteadList<Document>RightsManagerGroupsApi. getAllLocalGroups()Get all groups in the current wiki.List<Document>RightsManagerGroupsApi. getAllLocalGroups(int nb, int start)Get all groups in the current wiki.List<String>RightsManagerGroupsApi. getAllLocalGroupsNames()Get all groups names in the current wiki.List<String>RightsManagerGroupsApi. getAllLocalGroupsNames(int nb, int start)Get all groups names in the current wiki.List<Document>RightsManagerUsersApi. getAllLocalUsers()Get all users in the current wiki.List<Document>RightsManagerUsersApi. getAllLocalUsers(int nb, int start)Get all users in the current wiki.List<String>RightsManagerUsersApi. getAllLocalUsersNames()Get all users names in the current wiki.List<String>RightsManagerUsersApi. getAllLocalUsersNames(int nb, int start)Get all users names in the current wiki.List<Document>RightsManagerGroupsApi. getAllMatchedGlobalGroups(Map<?,?> matchFields)Get all groups in the main wiki.List<Document>RightsManagerGroupsApi. getAllMatchedGlobalGroups(Map<?,?> matchFields, int nb, int start)Get all groups in the main wiki.List<Document>RightsManagerGroupsApi. getAllMatchedGlobalGroups(Map<?,?> matchFields, int nb, int start, List<?> order)Get all groups in the main wiki.List<String>RightsManagerGroupsApi. getAllMatchedGlobalGroupsNames(Map<?,?> matchFields)Get all groups names in the main wiki.List<String>RightsManagerGroupsApi. getAllMatchedGlobalGroupsNames(Map<?,?> matchFields, int nb, int start)Get all groups names in the main wiki.List<String>RightsManagerGroupsApi. getAllMatchedGlobalGroupsNames(Map<?,?> matchFields, int nb, int start, List<?> order)Get all groups names in the main wiki.List<Document>RightsManagerUsersApi. getAllMatchedGlobalUsers(Map<?,?> matchFields)Get all users in the main wiki.List<Document>RightsManagerUsersApi. getAllMatchedGlobalUsers(Map<?,?> matchFields, int nb, int start)Get all users in the main wiki.List<Document>RightsManagerUsersApi. getAllMatchedGlobalUsers(Map<?,?> matchFields, int nb, int start, List<?> order)Get all users in the main wiki.List<String>RightsManagerUsersApi. getAllMatchedGlobalUsersNames(Map<?,?> matchFields)Get all users names in the main wiki.List<String>RightsManagerUsersApi. getAllMatchedGlobalUsersNames(Map<?,?> matchFields, int nb, int start)Get all users names in the main wiki.List<String>RightsManagerUsersApi. getAllMatchedGlobalUsersNames(Map<?,?> matchFields, int nb, int start, List<?> order)Get all users names in the main wiki.List<?>RightsManager. getAllMatchedGlobalUsersOrGroups(boolean user, Object[][] matchFields, boolean withdetails, RequestLimit limit, Object[][] order, XWikiContext context)Get all users or groups in the main wiki.List<Document>RightsManagerGroupsApi. getAllMatchedGroups(Map<?,?> matchFields)Get all groups in the main wiki and the current wiki.List<Document>RightsManagerGroupsApi. getAllMatchedGroups(Map<?,?> matchFields, int nb, int start)Get all groups in the main wiki and the current wiki.List<Document>RightsManagerGroupsApi. getAllMatchedGroups(Map<?,?> matchFields, int nb, int start, List<?> order)Get all groups in the main wiki and the current wiki.List<String>RightsManagerGroupsApi. getAllMatchedGroupsNames(Map<?,?> matchFields)Get all groups names in the main wiki and the current wiki.List<String>RightsManagerGroupsApi. getAllMatchedGroupsNames(Map<?,?> matchFields, int nb, int start)Get all groups names in the main wiki and the current wiki.List<String>RightsManagerGroupsApi. getAllMatchedGroupsNames(Map<?,?> matchFields, int nb, int start, List<?> order)Get all groups names in the main wiki and the current wiki.List<Document>RightsManagerGroupsApi. getAllMatchedLocalGroups(Map<?,?> matchFields)Get all groups in the current wiki.List<Document>RightsManagerGroupsApi. getAllMatchedLocalGroups(Map<?,?> matchFields, int nb, int start)Get all groups in the current wiki.List<Document>RightsManagerGroupsApi. getAllMatchedLocalGroups(Map<?,?> matchFields, int nb, int start, List<?> order)Get all groups in the current wiki.List<String>RightsManagerGroupsApi. getAllMatchedLocalGroupsNames(Map<?,?> matchFields)Get all groups names in the current wiki.List<String>RightsManagerGroupsApi. getAllMatchedLocalGroupsNames(Map<?,?> matchFields, int nb, int start)Get all groups names in the current wiki.List<String>RightsManagerGroupsApi. getAllMatchedLocalGroupsNames(Map<?,?> matchFields, int nb, int start, List<?> order)Get all groups names in the current wiki.List<Document>RightsManagerUsersApi. getAllMatchedLocalUsers(Map<?,?> matchFields)Get all users in the current wiki.List<Document>RightsManagerUsersApi. getAllMatchedLocalUsers(Map<?,?> matchFields, int nb, int start)Get all users in the current wiki.List<Document>RightsManagerUsersApi. getAllMatchedLocalUsers(Map<?,?> matchFields, int nb, int start, List<?> order)Get all users in the current wiki.List<String>RightsManagerUsersApi. getAllMatchedLocalUsersNames(Map<?,?> matchFields)Get all users names in the current wiki.List<String>RightsManagerUsersApi. getAllMatchedLocalUsersNames(Map<?,?> matchFields, int nb, int start)Get all users names in the current wiki.List<String>RightsManagerUsersApi. getAllMatchedLocalUsersNames(Map<?,?> matchFields, int nb, int start, List<?> order)Get all users names in the current 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.Collection<String>RightsManagerPluginApi. getAllMatchedMembersNamesForGroup(String group, String matchField, int nb, int start, Boolean orderAsc)Get members of provided group.List<Document>RightsManagerUsersApi. getAllMatchedUsers(Map<?,?> matchFields)Get all users in the main wiki and the current wiki.List<Document>RightsManagerUsersApi. getAllMatchedUsers(Map<?,?> matchFields, int nb, int start)Get all users in the main wiki and the current wiki.List<Document>RightsManagerUsersApi. getAllMatchedUsers(Map<?,?> matchFields, int nb, int start, List<?> order)Get all users in the main wiki and the current wiki.List<String>RightsManagerUsersApi. getAllMatchedUsersNames(Map<?,?> matchFields)Get all users names in the main wiki and the current wiki.List<String>RightsManagerUsersApi. getAllMatchedUsersNames(Map<?,?> matchFields, int nb, int start)Get all users names in the main wiki and the current wiki.List<String>RightsManagerUsersApi. getAllMatchedUsersNames(Map<?,?> matchFields, int nb, int start, List<?> order)Get all users names in the main wiki and the current wiki.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<Document>RightsManagerGroupsApi. getAllMatchedWikiGroups(String wikiName, Map<?,?> matchFields)Get all groups in the provided wiki.List<Document>RightsManagerGroupsApi. getAllMatchedWikiGroups(String wikiName, Map<?,?> matchFields, int nb, int start)Get all groups in the provided wiki.List<Document>RightsManagerGroupsApi. getAllMatchedWikiGroups(String wikiName, Map<?,?> matchFields, int nb, int start, List<?> order)Get all groups in the provided wiki.List<String>RightsManagerGroupsApi. getAllMatchedWikiGroupsNames(String wikiName, Map<?,?> matchFields)Get all groups names in the provided wiki.List<String>RightsManagerGroupsApi. getAllMatchedWikiGroupsNames(String wikiName, Map<?,?> matchFields, int nb, int start)Get all groups names in the provided wiki.List<String>RightsManagerGroupsApi. getAllMatchedWikiGroupsNames(String wikiName, Map<?,?> matchFields, int nb, int start, List<?> order)Get all groups names in the provided wiki.List<Document>RightsManagerUsersApi. getAllMatchedWikiUsers(String wikiName, Map<?,?> matchFields)Get all users in the provided wiki.List<Document>RightsManagerUsersApi. getAllMatchedWikiUsers(String wikiName, Map<?,?> matchFields, int nb, int start)Get all users in the provided wiki.List<Document>RightsManagerUsersApi. getAllMatchedWikiUsers(String wikiName, Map<?,?> matchFields, int nb, int start, List<?> order)Get all users in the provided wiki.List<String>RightsManagerUsersApi. getAllMatchedWikiUsersNames(String wikiName, Map<?,?> matchFields)Get all users names in the provided wiki.List<String>RightsManagerUsersApi. getAllMatchedWikiUsersNames(String wikiName, Map<?,?> matchFields, int nb, int start)Get all users names in the provided wiki.List<String>RightsManagerUsersApi. getAllMatchedWikiUsersNames(String wikiName, Map<?,?> matchFields, int nb, int start, List<?> order)Get all users names in the provided wiki.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 insteadCollection<String>RightsManagerPluginApi. getAllMembersNamesForGroup(String group)Deprecated.since 10.8RC1, use org.xwiki.user.script.GroupScriptService ($services.user.group) insteadCollection<String>RightsManagerPluginApi. getAllMembersNamesForGroup(String group, int nb, int start)Deprecated.since 10.8RC1, use org.xwiki.user.script.GroupScriptService ($services.user.group) insteadList<Document>RightsManagerUsersApi. getAllUsers()Get all users in the main wiki and the current wiki.List<Document>RightsManagerUsersApi. getAllUsers(int nb, int start)Get all users in the main wiki and the current wiki.List<String>RightsManagerUsersApi. getAllUsersNames()Get all users names in the main wiki and the current wiki.List<String>RightsManagerUsersApi. getAllUsersNames(int nb, int start)Get all users names in the main wiki and the current wiki.List<Document>RightsManagerGroupsApi. getAllWikiGroups(String wikiName)Get all groups in the provided wiki.List<Document>RightsManagerGroupsApi. getAllWikiGroups(String wikiName, int nb, int start)Get all groups in the provided wiki.List<String>RightsManagerGroupsApi. getAllWikiGroupsNames(String wikiName)Get all groups names in the provided wiki.List<String>RightsManagerGroupsApi. getAllWikiGroupsNames(String wikiName, int nb, int start)Get all groups names in the provided wiki.List<Document>RightsManagerUsersApi. getAllWikiUsers(String wikiName)Get all users in the provided wiki.List<Document>RightsManagerUsersApi. getAllWikiUsers(String wikiName, int nb, int start)Get all users in the provided wiki.List<String>RightsManagerUsersApi. getAllWikiUsersNames(String wikiName)Get all users names in the provided wiki.List<String>RightsManagerUsersApi. getAllWikiUsersNames(String wikiName, int nb, int start)Get all users names in the provided wiki.Map<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.DocumentRightsManagerRightsApi. getParentPreference(String spaceOrPage)Get the document containing inherited rights of provided document.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).voidRightsManager. removeDirectRights(String spaceOrPage, List<String> levelNames, String comment, XWikiContext context)Remove "direct" rights for wiki, space or 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.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. -
Uses of XWikiException in com.xpn.xwiki.redirection
Methods in com.xpn.xwiki.redirection that throw XWikiException Modifier and Type Method Description booleanRedirectionFilter. redirect(XWikiContext context)Possibly perform a redirection according to the context. -
Uses of XWikiException in com.xpn.xwiki.render.groovy
Constructors in com.xpn.xwiki.render.groovy that throw XWikiException Constructor Description XWikiPageClassLoader(String jarWikiPage, XWikiContext context)XWikiPageClassLoader(String jarWikiPage, ClassLoader parent, XWikiContext context) -
Uses of XWikiException in com.xpn.xwiki.stats.api
Methods in com.xpn.xwiki.stats.api that throw XWikiException Modifier and Type Method Description ListXWikiStatsService. getRefMonthStats(String docName, Date month, XWikiContext context)Deprecated. -
Uses of XWikiException in com.xpn.xwiki.stats.impl
Methods in com.xpn.xwiki.stats.impl that throw XWikiException Modifier and Type Method Description 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.voidXWikiStats. fromXML(org.dom4j.Element oel)Initialize statistics object from XML schema.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. -
Uses of XWikiException in com.xpn.xwiki.stats.impl.xwiki
Methods in com.xpn.xwiki.stats.impl.xwiki that throw XWikiException Modifier and Type Method Description List<?>XWikiStatsReader. getRefMonthStats(String docName, Date month, XWikiContext context)Deprecated. -
Uses of XWikiException in com.xpn.xwiki.store
Methods in com.xpn.xwiki.store that throw XWikiException 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.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.voidAttachmentRecycleBinContentStore. delete(AttachmentReference reference, Date deleteDate, long index, boolean bTransaction)Permanently delete attachment content from recycle bin.voidXWikiRecycleBinContentStoreInterface. delete(DocumentReference reference, long index, boolean bTransaction)Permanently delete document content from recycle bin.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)TXWikiHibernateBaseStore.HibernateCallback. doInHibernate(org.hibernate.Session session)method executed byXWikiHibernateBaseStoreand pass open session to it.<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)DeletedAttachmentContentAttachmentRecycleBinContentStore. get(AttachmentReference reference, Date deleteDate, long index, boolean bTransaction)XWikiDeletedDocumentContentXWikiRecycleBinContentStoreInterface. get(DocumentReference reference, long index, boolean bTransaction)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)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.LongXWikiHibernateRecycleBinStore. getNumberOfDeletedDocuments(XWikiContext context)default LongXWikiRecycleBinStoreInterface. getNumberOfDeletedDocuments(XWikiContext context)XWikiAttachmentVoidAttachmentVersioningStore.VoidAttachmentArchive. getRevision(XWikiAttachment attachment, String rev, XWikiContext context)List<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)booleanXWikiHibernateStore. injectCustomMapping(BaseClass doc1class, XWikiContext inputxcontext)booleanXWikiHibernateStore. injectCustomMapping(String className, String customMapping, XWikiContext inputxcontext)default booleanXWikiStoreInterface. injectCustomMapping(BaseClass doc1class)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)booleanXWikiStoreInterface. isCustomMappingValid(BaseClass bclass, String custommapping1, XWikiContext context)Deprecated.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.voidAttachmentRecycleBinContentStore. save(XWikiAttachment attachment, Date deleteDate, long index, boolean bTransaction)Save attachment to recycle bin.voidXWikiRecycleBinContentStoreInterface. save(XWikiDocument doc, long index, boolean bTransaction)Save document to recycle bin.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)voidVoidAttachmentVersioningStore.VoidAttachmentArchive. setArchive(byte[] data)voidXWikiHibernateBaseStore. setDatabase(org.hibernate.Session session, XWikiContext inputxcontext)Virtual Wikis Allows to switch database connectionvoidVoidAttachmentVersioningStore.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 classvoidXWikiHibernateVersioningStore. updateXWikiDocArchive(XWikiDocument doc, boolean bTransaction, XWikiContext inputxcontext)voidXWikiVersioningStoreInterface. updateXWikiDocArchive(XWikiDocument doc, boolean bTransaction, XWikiContext context)Constructors in com.xpn.xwiki.store that throw XWikiException Constructor Description XWikiCacheStore(XWikiStoreInterface store, XWikiContext context)Deprecated.since 10.2 and 9.11.4, should be used as a component instead -
Uses of XWikiException in com.xpn.xwiki.store.hibernate
Methods in com.xpn.xwiki.store.hibernate that throw XWikiException 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) -
Uses of XWikiException in com.xpn.xwiki.store.migration.hibernate
Methods in com.xpn.xwiki.store.migration.hibernate that throw XWikiException Modifier and Type Method Description protected voidAbstractDropNotNullDataMigration. hibernateMigrate()protected abstract voidAbstractHibernateDataMigration. hibernateMigrate()Execute the migration itself.protected voidAbstractResizeMigration. hibernateMigrate()voidLegacyDataMigration. hibernateMigrate()protected voidR1008010XWIKI10092DataMigration. hibernateMigrate()protected voidR1138000XWIKI16709DataMigration. hibernateMigrate()protected voidR130200000XWIKI17200DataMigration. hibernateMigrate()protected voidR140000000XWIKI19125DataMigration. hibernateMigrate()protected voidR140200000XWIKI19352DataMigration. hibernateMigrate()protected voidR140600000XWIKI19869DataMigration. hibernateMigrate()voidR15428XWIKI2977DataMigration. hibernateMigrate()voidR35100XWIKI7564DataMigration. hibernateMigrate()voidR35101XWIKI7645DataMigration. hibernateMigrate()voidR35102XWIKI7771DataMigration. hibernateMigrate()voidR40000XWIKI6990DataMigration. hibernateMigrate()voidR42000XWIKI7726DataMigration. hibernateMigrate()voidR43000XWIKI6691DataMigration. hibernateMigrate()voidR4340XWIKI883DataMigration. hibernateMigrate()voidR4359XWIKI1459DataMigration. hibernateMigrate()voidR54600TranslationDataMigration. hibernateMigrate()voidR6079XWIKI1878DataMigration. hibernateMigrate()voidR72000XWIKI12153DataMigration. hibernateMigrate()voidR72001XWIKI12228DataMigration. hibernateMigrate()voidR73000XWIKI12277DataMigration. hibernateMigrate()voidR7350XWIKI2079DataMigration. hibernateMigrate()voidR90000XWIKI13474DataMigration. hibernateMigrate() -
Uses of XWikiException in com.xpn.xwiki.user.api
Methods in com.xpn.xwiki.user.api that throw XWikiException 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.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)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. 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.voidXWikiAuthService. showLogin(XWikiContext context) -
Uses of XWikiException in com.xpn.xwiki.user.impl.xwiki
Methods in com.xpn.xwiki.user.impl.xwiki that throw XWikiException 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)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 parametersprotected 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)booleanXWikiRightServiceImpl. hasAccessLevel(String accessLevel, String userOrGroupName, String entityReference, boolean user, XWikiContext context)Deprecated.booleanXWikiRightServiceImpl. hasAccessLevel(String right, String username, String docname, XWikiContext context)Deprecated.voidXWikiGroupServiceImpl. init(XWiki xwiki, XWikiContext context)voidXWikiGroupServiceImpl. initCache(int iCapacity, XWikiContext context)voidXWikiGroupServiceImpl. initCache(XWikiContext context)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.voidXWikiGroupServiceImpl. removeUserOrGroupFromAllGroups(String memberWiki, String memberSpace, String memberName, XWikiContext context)voidXWikiGroupServiceImpl. replaceMemberInAllGroups(DocumentReference memberSourceReference, DocumentReference memberTargetReference, XWikiContext context)voidGroovyAuthServiceImpl. showLogin(XWikiContext context)voidXWikiAuthServiceImpl. showLogin(XWikiContext context) -
Uses of XWikiException in com.xpn.xwiki.util
Methods in com.xpn.xwiki.util with parameters of type XWikiException Modifier and Type Method Description static StringUtil. getHTMLExceptionMessage(XWikiException xe, XWikiContext context) -
Uses of XWikiException in com.xpn.xwiki.web
Methods in com.xpn.xwiki.web that throw XWikiException 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 voidXWikiAction. answerJSON(XWikiContext context, int status, Map<String,String> answer)Answer to a request with a JSON content.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)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.protected 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.XWikiAttachmentXWikiServletURLFactory. findAttachmentForDocRevision(XWikiDocument doc, String docRevision, String filename, XWikiContext context)longXWikiServletURLFactory. findDeletedAttachmentForDocRevision(XWikiDocument doc, String docRevision, String filename, XWikiContext context)static byte[]Utils. getContent(List<org.apache.commons.fileupload.FileItem> filelist, String name)Get the content of an uploaded file, corresponding to the specified form field.protected StringUploadAction. getFileName(String fieldName, FileUploadPlugin fileupload, XWikiContext context)Extract the corresponding attachment name for a given file field.protected XWikiDocumentXWikiAction. getTranslatedDocument(XWikiDocument doc, String language, XWikiContext context)Gets the translated version of a document, in the specified language.protected voidXWikiAction. handleRevision(XWikiContext context)protected voidCommentAddAction. handleTemporaryUploadedFiles(XWikiDocument document, XWikiRequest request)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 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.static XWikiContextUtils. prepareContext(String action, XWikiRequest request, XWikiResponse response, XWikiEngineContext engine_context)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.voidCreateActionRequestHandler. processRequest()Process the request and extract from the given parameters the data needed to create the new document.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)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.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 voidXWikiAction. sendRedirect(XWikiResponse response, String url)Perform a redirect to the given URL.booleanUploadAction. uploadAttachment(String fieldName, String filename, FileUploadPlugin fileupload, XWikiDocument doc, XWikiContext context)Attach a file to the current document.
-