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 void
XWiki. addUserToGroup(String userName, String groupName, XWikiContext context)
boolean
XWiki. checkAccess(String action, XWikiDocument doc, XWikiContext context)
int
XWiki. checkActive(XWikiContext context)
Deprecated.since 11.8RC1 prefer usingXWikiUser.isDisabled(XWikiContext)
.int
XWiki. checkActive(String user, XWikiContext context)
Deprecated.since 11.8RC1 prefer usingXWikiUser.isDisabled(XWikiContext)
.XWikiUser
XWiki. checkAuth(XWikiContext context)
Authenticate the user from the context and check if the user is disabled or not.void
XWiki. checkDeletingDocument(DocumentReference userReference, XWikiDocument document, XWikiContext context)
Check if the user is allowed to delete the document.void
XWiki. checkSavingDocument(DocumentReference userReference, XWikiDocument document, XWikiContext context)
Check if the user is allowed to save the document.void
XWiki. checkSavingDocument(DocumentReference userReference, XWikiDocument document, String comment, boolean isMinorEdit, XWikiContext context)
Check if the user is allowed to save the document.void
XWiki. checkSavingDocument(DocumentReference userReference, XWikiDocument document, String comment, XWikiContext context)
Check if the user is allowed to save the document.boolean
XWiki. copyDocument(DocumentReference sourceDocumentReference, DocumentReference targetDocumentReference, boolean reset, boolean force, boolean resetCreationData, XWikiContext context)
boolean
XWiki. copyDocument(DocumentReference sourceDocumentReference, DocumentReference targetDocumentReference, boolean reset, XWikiContext context)
boolean
XWiki. copyDocument(DocumentReference sourceDocumentReference, DocumentReference targetDocumentReference, XWikiContext context)
boolean
XWiki. copyDocument(DocumentReference sourceDocumentReference, DocumentReference targetDocumentReference, String wikilocale, boolean reset, boolean force, boolean resetCreationData, XWikiContext context)
boolean
XWiki. copyDocument(DocumentReference sourceDocumentReference, DocumentReference targetDocumentReference, String wikilocale, boolean reset, boolean force, XWikiContext context)
boolean
XWiki. copyDocument(DocumentReference sourceDocumentReference, DocumentReference targetDocumentReference, String wikilocale, boolean reset, XWikiContext context)
boolean
XWiki. copyDocument(DocumentReference sourceDocumentReference, DocumentReference targetDocumentReference, String wikilocale, XWikiContext context)
int
XWiki. copySpaceBetweenWikis(String space, String sourceWiki, String targetWiki, String locale, boolean clean, XWikiContext context)
int
XWiki. copySpaceBetweenWikis(String space, String sourceWiki, String targetWiki, String locale, XWikiContext context)
int
XWiki. copyWiki(String sourceWiki, String targetWiki, String locale, boolean clean, XWikiContext context)
Deprecated.since 5.3, useWikiManager.copy(String, String, String, boolean, boolean, boolean)
insteadint
XWiki. copyWiki(String sourceWiki, String targetWiki, String locale, XWikiContext context)
Deprecated.since 5.3, useWikiManager.copy(String, String, String, boolean, boolean, boolean)
insteadint
XWiki. countAttachments(String parametrizedSqlClause, List<?> parameterValues, XWikiContext context)
Count attachments returned by a given parameterized queryprotected Object
XWiki. createClassFromConfig(String param, String defClass, XWikiContext context)
boolean
XWiki. createEmptyUser(String xwikiname, String userRights, XWikiContext context)
Method allows to create an empty user with no password (he won't be able to login) This method is usefull for authentication like LDAP or App Server trustedint
XWiki. createUser(boolean withValidation, String userRights, XWikiContext context)
int
XWiki. createUser(XWikiContext context)
int
XWiki. createUser(String userName, Map<String,?> map, XWikiContext context)
Create a new user.int
XWiki. createUser(String userName, Map<String,?> map, String userRights, XWikiContext context)
Create a new user.int
XWiki. 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)
insteadint
XWiki. 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)
insteadint
XWiki. createUser(String userName, Map<String,?> map, EntityReference parentReference, String content, org.xwiki.rendering.syntax.Syntax syntax, String userRights, XWikiContext context)
Create a new user.void
XWiki. deleteAllDocuments(XWikiDocument doc, boolean toTrash, XWikiContext context)
void
XWiki. deleteAllDocuments(XWikiDocument doc, XWikiContext context)
void
XWiki. deleteDocument(XWikiDocument doc, boolean totrash, XWikiContext context)
void
XWiki. deleteDocument(XWikiDocument doc, XWikiContext context)
void
XWiki. deleteDocumentVersions(XWikiDocument document, String version1, String version2, XWikiContext context)
Delete a range of versions from a document history.boolean
XWiki. exists(String fullname, XWikiContext context)
Deprecated.since 2.2.1 useXWiki.exists(DocumentReference, XWikiContext)
boolean
XWiki. exists(DocumentReference documentReference, XWikiContext context)
Check if a document exist.boolean
XWiki. exists(PageReference reference, XWikiContext context)
Returns whether a page exists or not.String
XWiki. getAttachmentURL(String fullname, String filename, XWikiContext context)
String
XWiki. getAttachmentURL(String fullname, String filename, String queryString, XWikiContext context)
BaseClass
XWiki. getClass(String fullName, XWikiContext context)
Deprecated.since 2.2M2 useXWiki.getXClass(DocumentReference, XWikiContext)
List<String>
XWiki. getClassList(XWikiContext context)
BaseClass
XWiki. getCommentsClass(XWikiContext context)
DeletedAttachment
XWiki. 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.XWikiDeletedDocument
XWiki. getDeletedDocument(long index, XWikiContext context)
XWikiDeletedDocument
XWiki. 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)
XWikiDocument
XWiki. getDocument(XWikiDocument doc, XWikiContext context)
XWikiDocument
XWiki. getDocument(XWikiDocument document, String revision, XWikiContext context)
Deprecated.sine 9.10RC1, useDocumentRevisionProvider.getRevision(XWikiDocument, String)
insteadXWikiDocument
XWiki. getDocument(String fullname, XWikiContext context)
Deprecated.since 2.2M1 useXWiki.getDocument(DocumentReference, XWikiContext)
insteadXWikiDocument
XWiki. getDocument(String spaces, String fullname, XWikiContext context)
Deprecated.since 2.2M1 useXWiki.getDocument(DocumentReference, XWikiContext)
insteadXWikiDocument
XWiki. getDocument(String reference, EntityType type, XWikiContext xcontext)
Loads a XWikiDocument from the store.XWikiDocument
XWiki. getDocument(DocumentReference reference, XWikiContext context)
XWikiDocument
XWiki. getDocument(DocumentReference reference, String revision, XWikiContext context)
Deprecated.sine 9.10RC1, useDocumentRevisionProvider.getRevision(DocumentReference, String)
insteadXWikiDocument
XWiki. getDocument(EntityReference reference, XWikiContext context)
Loads a XWikiDocument from the store.XWikiDocument
XWiki. getDocument(PageReference reference, XWikiContext context)
BaseClass
XWiki. getEditModeClass(XWikiContext context)
Verify if theXWiki.EditModeClass
page exists and that it contains all the required configuration properties to make the edit mode feature work properly.String
XWiki. getExternalURL(String fullname, String action, XWikiContext context)
String
XWiki. getExternalURL(String fullname, String action, String querystring, XWikiContext context)
BaseClass
XWiki. getGlobalRightsClass(XWikiContext context)
BaseClass
XWiki. getGroupClass(XWikiContext context)
XWikiGroupService
XWiki. getGroupService(XWikiContext context)
static XWiki
XWiki. getMainXWiki(boolean wait, XWikiContext context)
static XWiki
XWiki. getMainXWiki(XWikiContext context)
BaseObject
XWiki. getObjectFromRequest(String className, XWikiContext context)
BaseClass
XWiki. getPrefsClass(XWikiContext context)
Verify if theXWiki.XWikiPreferences
page exists and that it contains all the required configuration properties to make XWiki work properly.BaseClass
XWiki. getRedirectClass(XWikiContext context)
Verify if theXWiki.GlobalRedirect
page exists and that it contains all the required configuration properties to make the redirection feature work properly.static URL
XWiki. getRequestURL(XWikiRequest request)
BaseClass
XWiki. getRightsClass(XWikiContext context)
BaseClass
XWiki. getRightsClass(String pagename, XWikiContext context)
BaseClass
XWiki. getSheetClass(XWikiContext context)
Deprecated.since 3.1M2 edit mode class should be used for this purpose, not the sheet classBaseClass
XWiki. 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 insteadBaseClass
XWiki. getTagClass(XWikiContext context)
Verify if theXWiki.TagClass
page exists and that it contains all the required configuration properties to make the tag feature work properly.String
XWiki. getUniquePageName(String space, XWikiContext context)
Generates a unique page name based on initial page name and already existing pages.String
XWiki. getUniquePageName(String space, String name, XWikiContext context)
Generates a unique page name based on initial page name and already existing pages.BaseClass
XWiki. getUserClass(XWikiContext context)
Verify if theXWiki.XWikiUsers
page 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()
insteadString
XWiki. getWikiOwner(String wikiName, XWikiContext context)
Get the reference of the owner for the provider wiki.BaseClass
XWiki. getXClass(DocumentReference documentReference, XWikiContext context)
static XWiki
XWiki. getXWiki(boolean wait, XWikiContext xcontext)
Return the XWiki object (as in "the Wiki API") corresponding to the requested wiki.static XWiki
XWiki. getXWiki(XWikiContext context)
Return the XWiki object (as in "the Wiki API") corresponding to the requested wiki.String
XWiki. include(String topic, boolean isForm, XWikiContext context)
XWikiContext
XWikiContextInitializer. initialize(org.xwiki.context.ExecutionContext econtext)
boolean
XWiki. initializeWiki(String wikiId, boolean wait, XWikiContext xcontext)
Make sure the wiki is initializing or wait for it.void
XWiki. initXWiki(XWikiConfig config, XWikiContext context, XWikiEngineContext engineContext, boolean noupdate)
Deprecated.since 6.1M2, useXWiki.initXWiki(XWikiContext, XWikiEngineContext, boolean)
insteadvoid
XWiki. initXWiki(XWikiContext context, XWikiEngineContext engineContext, boolean noupdate)
Initialize all xwiki subsystems.void
XWikiConfig. loadConfig(InputStream is, String path)
Deprecated.Object
XWiki. parseGroovyFromPage(String fullName, XWikiContext context)
Object
XWiki. parseGroovyFromPage(String fullName, String jarWikiPage, XWikiContext context)
Object
XWiki. parseGroovyFromString(String script, XWikiContext xcontext)
Privileged API to retrieve an object instantiated from groovy code in a String.Object
XWiki. parseGroovyFromString(String script, String jarWikiPage, XWikiContext xcontext)
Privileged API to retrieve an object instantiated from groovy code in a String, using a classloader including all JAR files located in the passed page as attachments.boolean
XWiki. prepareDocuments(XWikiRequest request, XWikiContext context, org.apache.velocity.VelocityContext vcontext)
void
XWiki. protectUserPage(String userName, String userRights, XWikiDocument doc, XWikiContext context)
void
XWiki. refreshLinks(XWikiContext context)
void
XWiki. renameByCopyAndDelete(XWikiDocument sourceDoc, DocumentReference newDocumentReference, List<DocumentReference> backlinkDocumentReferences, List<DocumentReference> childDocumentReferences, XWikiContext context)
Deprecated.Old implementation of the rename by copy and delete.boolean
XWiki. renameDocument(DocumentReference sourceDocumentReference, DocumentReference targetDocumentReference, boolean overwrite, List<DocumentReference> backlinkDocumentReferences, List<DocumentReference> childDocumentReferences, XWikiContext context)
API to rename a document to another document.void
XWiki. restoreFromRecycleBin(long index, String comment, XWikiContext context)
Restore a document with passed index from recycle bin.void
XWiki. restoreFromRecycleBin(XWikiDocument doc, long index, String comment, XWikiContext context)
Deprecated.since 9.4RC1.void
XWiki. restoreFromRecycleBin(XWikiDocument doc, String comment, XWikiContext context)
Restore a document with passed index from recycle bin.XWikiDocument
XWiki. rollback(XWikiDocument tdoc, String rev, boolean addRevision, XWikiContext xcontext)
XWikiDocument
XWiki. rollback(XWikiDocument tdoc, String rev, XWikiContext context)
void
XWiki. saveDocument(XWikiDocument doc, XWikiContext context)
void
XWiki. saveDocument(XWikiDocument document, String comment, boolean isMinorEdit, XWikiContext context)
Save the passed document in the store.void
XWiki. saveDocument(XWikiDocument doc, String comment, XWikiContext context)
<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 filtervoid
XWiki. sendConfirmationEmail(String xwikiname, String password, String email, String message, String contentfield, XWikiContext context)
void
XWiki. sendValidationEmail(String xwikiname, String password, String email, String validkey, String contentfield, XWikiContext context)
void
XWiki. sendValidationEmail(String xwikiname, String password, String email, String addfieldname, String addfieldvalue, String contentfield, XWikiContext context)
void
XWiki. setUserDefaultGroup(String fullwikiname, XWikiContext context)
void
XWiki. updateDatabase(String wikiId, boolean force, boolean initDocuments, XWikiContext context)
Deprecated.since 8.4RC1, useXWiki.initializeWiki(String, boolean, XWikiContext)
insteadvoid
XWiki. updateDatabase(String wikiId, boolean force, XWikiContext context)
Deprecated.since 8.4RC1, useXWiki.initializeWiki(String, boolean, XWikiContext)
insteadvoid
XWiki. updateDatabase(String wikiId, XWikiContext context)
Deprecated.since 8.4RC1, useXWiki.initializeWiki(String, boolean, XWikiContext)
insteadboolean
XWiki. validateDocument(XWikiDocument doc, XWikiContext context)
int
XWiki. 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 int
Document. addAttachments()
int
Document. addAttachments(String fieldName)
Object
Document. addObjectFromRequest()
Object
Document. addObjectFromRequest(String className)
Object
Document. addObjectFromRequest(String className, String prefix)
List<Object>
Document. addObjectsFromRequest(String className)
List<Object>
Document. addObjectsFromRequest(String className, String prefix)
void
XWiki. addToAllGroup(String fullwikiname)
Privileged API to add a user to the XWiki.XWikiAllGroupXWikiUser
XWiki. checkAuth()
Check authentication from request and set according persitent login information If it fails user is unloggedXWikiUser
XWiki. checkAuth(String username, String password, String rememberme)
Check authentication from username and password and set according persitent login information If it fails user is unloggedboolean
User. checkPassword(String password)
Check if the password passed as argument is the user password.boolean
Document. convertSyntax(String targetSyntaxId)
Convert the current document content from its current syntax to the new syntax passed as parameter.boolean
XWiki. copyDocument(String docname, String targetdocname)
API to copy a document to another document in the same wikiboolean
XWiki. copyDocument(String docname, String targetdocname, String wikilocale)
API to copy a translation of a document to another document in the same wikiboolean
XWiki. 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 wikiboolean
XWiki. 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 versionboolean
XWiki. 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 documentboolean
XWiki. 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 documentint
XWiki. 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 spaceint
XWiki. countAttachments(String parametrizedSqlClause, List<?> parameterValues)
Count attachments returned by a given parameterized queryint
Document. createNewObject(String classname)
Creates a New XWiki Object of the given classnameint
XWiki. createUser()
Privileged API to create a new user from the request This API is used by RegisterNewUser wiki pageint
XWiki. 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 Preferencesint
XWiki. createUser(boolean withValidation, String userRights)
Privileged API to create a new user from the request.void
DeletedAttachment. delete()
Permanently delete this attachment from the trash.void
Document. delete()
void
Document. deleteAsAuthor()
Delete the document if thecontent author
of the script calling this method has permission to do so.protected void
Document. deleteDocument()
Remove document from the wiki.void
Document. deleteWithProgrammingRights()
String
Document. displayDocument()
String
Document. displayDocument(boolean restricted)
String
Document. displayDocument(org.xwiki.rendering.syntax.Syntax targetSyntax)
String
Document. displayDocument(org.xwiki.rendering.syntax.Syntax targetSyntax, boolean restricted)
String
Document. displayRendered(PropertyClass pclass, String prefix, Collection object)
boolean
XWiki. exists(String fullname)
Returns whether a document exists or notboolean
XWiki. exists(DocumentReference reference)
Returns whether a document exists or notboolean
XWiki. exists(PageReference reference)
Returns whether a page exists or not.String
Document. getArchive()
Attachment
Attachment. getAttachmentRevision(String rev)
Allow to easily access any revision of an attachment.String
XWiki. 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.Class
XWiki. getClass(String documentName)
Get the XWiki Class object defined in the passed Document name.Class
XWiki. 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()
String
Attachment. getContentAsString()
String
Attachment. getContentAsString(String charset)
List<org.suigeneris.jrcs.diff.delta.Delta>
Document. getContentDiff(Document origdoc, Document newdoc)
String
Document. getDefaultEditMode()
Gets the default edit mode for this document.String
Document. getDefaultEditURL()
DeletedDocument
XWiki. getDeletedDocument(String index)
DeletedDocument
XWiki. 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)
Document
XWiki. getDocument(Document doc, String rev)
Load a specific revision of a documentDocument
XWiki. getDocument(String documentReference)
Loads an Document from the database.Document
XWiki. getDocument(String space, String fullname)
Loads an Document from the database.Document
XWiki. getDocument(DocumentReference reference)
Loads a Document from the database.Document
XWiki. getDocument(DocumentReference reference, String revision)
Load a specific revision of a documentDocument
XWiki. getDocument(EntityReference reference)
Loads a Document from the store.XWikiDocumentArchive
Document. getDocumentArchive()
Get the archive of this document's history.Document
XWiki. getDocumentAsAuthor(String fullName)
Loads an Document from the database.Document
XWiki. getDocumentAsAuthor(DocumentReference reference)
Loads an Document from the database.String
Document. getEditURL(String action, String mode)
Document
XWiki. getEntityDocument(String reference, EntityType type)
Loads an Document from the database.String
Document. 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)
Object
XWiki. getObjectFromRequest(String className)
API to create an object from the request The parameters are the ones that are created from doc.display("field","edit") callsString
Document. getParentURL()
Document
Document. getPreviousDocument()
Allow to easily access the previous revision of a documentString
Document. getRealLanguage()
Deprecated.since 8.0M1, useDocument.getRealLocale()
insteadString[]
Document. getRecentRevisions()
String[]
Document. getRecentRevisions(int nb)
String
XWiki. getRelativeRequestURL()
API Allowing to access the current request URL being requested as a relative URL.String
Document. getRenderedContent()
String
Document. getRenderedContent(boolean transformationContextIsolated)
Execute and render the document in the current context.String
Document. getRenderedContent(String text)
Deprecated.since 1.6M1 useDocument.getRenderedContent(String, String)
String
Document. getRenderedContent(String text, String syntaxId)
String
Document. getRenderedContent(String text, String sourceSyntaxId, String targetSyntaxId)
String
Document. getRenderedContent(org.xwiki.rendering.syntax.Syntax targetSyntax)
List<org.suigeneris.jrcs.diff.delta.Delta>
Document. getRenderedContentDiff(Document origdoc, Document newdoc)
String
Document. getRenderedContentRestricted(String text, String syntaxId)
Render a text in a restricted mode, where script macros are completely disabled.String
Document. getRenderedTitle(String syntaxId)
Returns the title of the document rendered through wiki syntax and velocityString
XWiki. getRequestURL()
API Allowing to access the current request URL being requested.RevisionInfo
Document. 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 insteadString
Document. getTranslatedContent()
String
Document. getTranslatedContent(String locale)
Document
Document. getTranslatedDocument()
Document
Document. getTranslatedDocument(String locale)
List<Locale>
Document. getTranslationLocales()
String
XWiki. getUniquePageName(String space)
Generates a unique document name based on initial page name and already existing pages.String
XWiki. getUniquePageName(String space, String name)
Generates a unique document name based on initial page name and already existing pagesString
XWiki. 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 URLsString
XWiki. getURL(String fullname, String action)
API to retrieve the URL of an a Wiki Document in any mode.String
XWiki. 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.String
XWiki. 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.String
XWiki. 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 URLsString
XWiki. 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.String
XWiki. getURL(EntityReference reference)
Retrieve the URL of an entity using the default mode/action for that entity type.String
XWiki. 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.String
Document. getXMLContent()
List<org.suigeneris.jrcs.diff.delta.Delta>
Document. getXMLDiff(Document origdoc, Document newdoc)
boolean
Api. hasAccessLevel(String right, String docname)
Check if the current user has an access level on a given document.boolean
XWiki. hasBacklinks()
API to check if the backlinks feature is active Backlinks are activated in xwiki.cfg or in the XWiki Preferencesboolean
XWiki. hasTags()
API to check if the tags feature is active.String
XWiki. 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)String
XWiki. 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).String
XWiki. includeTopic(String topic)
API to include a topic into another The topic is rendered fully in the context of itselfString
XWiki. includeTopic(String topic, boolean pre)
API to include a topic into another, optionally surrounding the content with {pre}{/pre} to avoid future wiki rendering.void
Document. insertText(String text, String marker)
Object
Class. newObject()
Object
Document. newObject(String classname)
Creates a New XWiki Object of the given classnameObject
XWiki. parseGroovyFromPage(String fullname)
Privileged API to retrieve an object instanciated from groovy code in a String Groovy scripts compilation is cachedObject
XWiki. 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.Object
XWiki. parseGroovyFromString(String script)
Privileged API to retrieve an object instantiated from groovy code in a String.void
XWiki. 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 runvoid
Document. rename(String newDocumentName, List<String> backlinkDocumentNames)
Rename the current document and all the links pointing to it in the list of passed backlink documents.void
Document. 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.void
Document. rename(DocumentReference newReference)
Rename the current document and all the backlinks leading to it.void
Document. 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.boolean
XWiki. renameDocument(DocumentReference sourceDocumentReference, DocumentReference targetDocumentReference, boolean overwrite, List<DocumentReference> backlinkDocumentReferences, List<DocumentReference> childDocumentReferences)
API to rename a document to another document.void
Document. save()
void
Document. save(String comment)
void
Document. save(String comment, boolean minorEdit)
void
Document. saveAsAuthor()
Save the document if the current author of the script calling this method has permission to do so.void
Document. saveAsAuthor(String comment)
Save the document if the current author of the script calling this method has permission to do so.void
Document. saveAsAuthor(String comment, boolean minorEdit)
Save the document if the current author of the script calling this method has permission to do so.protected void
Document. saveDocument(String comment, boolean minorEdit)
void
Document. saveWithProgrammingRights()
void
Document. saveWithProgrammingRights(String comment)
void
Document. 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.void
XWiki. sendConfirmationMail(String xwikiname, String password, String email, String contentfield)
Privileged API to send a confirmation email to a uservoid
XWiki. sendConfirmationMail(String xwikiname, String password, String email, String add_message, String contentfield)
Privileged API to send a confirmation email to a uservoid
Document. setContent(org.xwiki.rendering.block.XDOM content)
String
Document. toXML()
org.dom4j.Document
Document. toXMLDocument()
Object
Document. updateObjectFromRequest(String className)
Object
Document. updateObjectFromRequest(String className, String prefix)
List<Object>
Document. updateObjectsFromRequest(String className)
List<Object>
Document. updateObjectsFromRequest(String className, String prefix)
boolean
Document. validate()
boolean
Document. validate(String[] classNames)
int
XWiki. 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 XWikiAttachment
XWikiDocument. addAttachment(String fileName, byte[] content, XWikiContext context)
Deprecated.XWikiAttachment
XWikiDocument. addAttachment(String fileName, InputStream content, XWikiContext context)
Deprecated.BaseObject
XWikiDocument. addObjectFromRequest(String className, int num, XWikiContext context)
Deprecated.BaseObject
XWikiDocument. addObjectFromRequest(String className, XWikiContext context)
Deprecated.BaseObject
XWikiDocument. addObjectFromRequest(String className, String prefix, int num, XWikiContext context)
Deprecated.BaseObject
XWikiDocument. addObjectFromRequest(String className, String prefix, XWikiContext context)
Deprecated.List<BaseObject>
XWikiDocument. addObjectsFromRequest(String className, XWikiContext context)
Deprecated.List<BaseObject>
XWikiDocument. addObjectsFromRequest(String className, String pref, XWikiContext context)
Deprecated.void
XWikiDocument. addToZip(ZipOutputStream zos, boolean withVersions, XWikiContext context)
Deprecated.void
XWikiDocument. addToZip(ZipOutputStream zos, XWikiContext context)
Deprecated.void
XWikiDocument. addToZip(ZipOutputStream zos, String zipname, boolean withVersions, XWikiContext context)
Deprecated.BaseObject
XWikiDocument. addXObjectFromRequest(XWikiContext context)
Adds an object from an new object creation form.BaseObject
XWikiDocument. addXObjectFromRequest(DocumentReference classReference, int num, XWikiContext context)
Adds object from an new object creation form.BaseObject
XWikiDocument. addXObjectFromRequest(DocumentReference classReference, String prefix, XWikiContext context)
Adds an object from an new object creation form.BaseObject
XWikiDocument. addXObjectFromRequest(EntityReference classReference, XWikiContext context)
Adds an object from an new object creation form.BaseObject
XWikiDocument. addXObjectFromRequest(EntityReference classReference, String prefix, int num, XWikiContext context)
Adds object from an new object creation form.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 void
DocumentRevisionProvider. 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
.XWikiAttachment
XWikiAttachment. clone(String name, XWikiContext context)
Clone the attachment and its history to a new name, and attach it to a new document.XWikiDocumentArchive
XWikiDocumentArchive. clone(long docId, XWikiContext context)
XWikiDocument
XWikiDocument. cloneRename(DocumentReference newDocumentReference, XWikiContext context)
Clone a document and change its reference.boolean
XWikiAttachment. contentExists(XWikiContext xcontext)
void
XWikiDocument. convertSyntax(String targetSyntaxId, XWikiContext context)
Convert the current document content from its current syntax to the new syntax passed as parameter.void
XWikiDocument. convertSyntax(org.xwiki.rendering.syntax.Syntax targetSyntax, XWikiContext context)
Convert the current document content from its current syntax to the new syntax passed as parameter.XWikiDocument
XWikiDocument. copyDocument(String newDocumentName, XWikiContext context)
Deprecated.XWikiDocument
XWikiDocument. copyDocument(DocumentReference newDocumentReference, boolean cloneArchive, XWikiContext context)
XWikiDocument
XWikiDocument. copyDocument(DocumentReference newDocumentReference, XWikiContext context)
int
XWikiDocument. createNewObject(String className, XWikiContext context)
Deprecated.int
XWikiDocument. createXObject(EntityReference classReference, XWikiContext context)
Create and add a new object to the document with the provided class.String
XWikiDocument. displayDocument(boolean restricted, XWikiContext context)
Execute and render the current document in the current context.String
XWikiDocument. displayDocument(XWikiContext context)
Execute and render the current document in the current context.String
XWikiDocument. displayDocument(org.xwiki.rendering.syntax.Syntax targetSyntax, boolean restricted, XWikiContext context)
Execute and render the current document in the current context.String
XWikiDocument. displayDocument(org.xwiki.rendering.syntax.Syntax targetSyntax, XWikiContext context)
Execute and render the current document in the current context.String
XWikiDocument. displayRendered(PropertyClass pclass, String prefix, BaseCollection object, XWikiContext context)
boolean
XWikiAttachment. equalsData(XWikiAttachment otherAttachment, XWikiContext xcontext)
boolean
DefaultDocumentAccessBridge. exists(String documentReference)
Deprecated.boolean
DefaultDocumentAccessBridge. exists(DocumentReference documentReference)
void
XWikiAttachment. fromXML(String source)
void
XWikiAttachment. fromXML(org.dom4j.Element docel)
void
XWikiAttachment. fromXML(org.xwiki.filter.input.InputSource source)
void
XWikiDocument. fromXML(InputStream is)
void
XWikiDocument. fromXML(InputStream source, boolean withArchive)
void
XWikiDocument. fromXML(String xml)
void
XWikiDocument. fromXML(String source, boolean withArchive)
void
XWikiDocument. fromXML(org.dom4j.Document domdoc, boolean withArchive)
Deprecated.useXWikiDocument.fromXML(InputStream)
insteadvoid
XWikiDocument. 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.String
XWikiDocumentArchive. getArchive(XWikiContext context)
String
XWikiAttachmentArchive. getArchiveAsString()
Get the archive if it is currently stored in RAM.String
XWikiAttachmentArchive. getArchiveAsString(XWikiContext context)
Get the archive, loading it from the database if necessary.XWikiAttachmentArchive
XWikiAttachment. getAttachmentArchive(XWikiContext xcontext)
XWikiAttachmentContent
XWikiAttachment. getAttachmentContent(XWikiContext xcontext)
XWikiAttachment
XWikiAttachment. 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.String
DeletedAttachmentContent. getContentAsString()
String
XWikiDeletedDocumentContent. 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)
InputStream
XWikiAttachment. getContentInputStream(XWikiContext xcontext)
Retrieve the content of this attachment as an input stream.long
XWikiAttachment. getContentLongSize(XWikiContext context)
String
XWikiDocument. getContentOfSection(int sectionNumber)
Return the content of a section.int
XWikiAttachment. getContentSize(XWikiContext context)
Deprecated.since 9.0RC1, useXWikiAttachment.getContentLongSize(XWikiContext)
insteadString
XWikiDocument. getDefaultEditMode(XWikiContext context)
Gets the default edit mode for this document.String
XWikiDocument. getDefaultEditURL(XWikiContext context)
XWikiDocumentArchive
LazyXWikiDocument. getDocumentArchive(XWikiContext context)
XWikiDocumentArchive
XWikiDocument. getDocumentArchive(XWikiContext context)
DocumentSection
XWikiDocument. getDocumentSection(int sectionNumber)
Return a Document section with parameter is sectionNumber.String
XWikiDocument. getEditURL(String action, String mode, XWikiContext context)
String
XWikiDocument. getEscapedContent(XWikiContext context)
List<org.suigeneris.jrcs.diff.delta.Delta>
XWikiDocument. getLastChanges(XWikiContext context)
XWikiLock
XWikiDocument. 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)
String
XWikiDocument. getParentURL(XWikiContext context)
String
XWikiDocument. getRealLanguage(XWikiContext context)
Deprecated.useXWikiDocument.getRealLocale()
insteadString[]
XWikiDocument. getRecentRevisions(int nb, XWikiContext context)
String
XWikiDocument. getRenderedContent(boolean transformationContextIsolated, XWikiContext context)
String
XWikiDocument. getRenderedContent(XWikiContext context)
String
XWikiDocument. getRenderedContent(org.xwiki.rendering.syntax.Syntax targetSyntax, boolean transformationContextIsolated, XWikiContext context)
Execute and render the document or its translation in the current context.String
XWikiDocument. getRenderedContent(org.xwiki.rendering.syntax.Syntax targetSyntax, XWikiContext context)
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)
XWikiDocument
DocumentRevisionProvider. getRevision(XWikiDocument document, String revision)
Load the document in the provided revision.XWikiDocument
DocumentRevisionProvider. getRevision(DocumentReference reference, String revision)
Load the document in the provided revision.XWikiAttachment
XWikiAttachmentArchive. getRevision(XWikiAttachment attachment, String rev, XWikiContext context)
Get an old revision of the attachment which this is an archive of.XWikiRCSNodeInfo
XWikiDocument. getRevisionInfo(String version, XWikiContext context)
List<String>
XWikiDocument. getRevisions(RevisionCriteria criteria, XWikiContext context)
Get document versions matching criterias like author, minimum creation date, etc.org.suigeneris.jrcs.rcs.Version[]
XWikiDocument. getRevisions(XWikiContext context)
List<DocumentSection>
XWikiDocument. getSections()
Get the top sections contained in the document.String
XWikiDocument. getTranslatedContent(XWikiContext context)
String
XWikiDocument. getTranslatedContent(String locale, XWikiContext context)
XWikiDocument
XWikiDocument. getTranslatedDocument(XWikiContext context)
XWikiDocument
XWikiDocument. getTranslatedDocument(String language, XWikiContext context)
Deprecated.XWikiDocument
XWikiDocument. 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.String
XWikiDocumentArchive. getVersionXml(org.suigeneris.jrcs.rcs.Version version, XWikiContext context)
Return the XML corresponding to a version.String
XWikiDocument. getXMLContent(XWikiContext context)
Retrieve the document in the current context language as an XML string.List<org.suigeneris.jrcs.diff.delta.Delta>
XWikiDocument. getXMLDiff(XWikiDocument fromDoc, XWikiDocument toDoc, XWikiContext context)
BaseObject
XWikiDocument. getXObject(EntityReference classReference, int number, boolean create, XWikiContext xcontext)
Get an xobject with the passed xclass at the passed location.BaseObject
XWikiDocument. getXObject(ObjectReference objectReference, boolean create, XWikiContext context)
Get or create an object of this document based on its reference.XWikiAttachment
DeletedAttachmentContent. getXWikiAttachment(XWikiAttachment attachment)
XWikiDocument
XWikiDeletedDocumentContent. getXWikiDocument(XWikiDocument document)
void
XWikiDocument. insertText(String text, String marker, XWikiContext context)
void
LazyXWikiDocument. loadArchive(XWikiContext context)
void
XWikiDocument. loadArchive(XWikiContext context)
void
XWikiAttachment. loadAttachmentContent(XWikiContext xcontext)
void
XWikiDocument. loadAttachmentContent(XWikiAttachment attachment, XWikiContext context)
Deprecated.void
XWikiDocument. loadAttachments(XWikiContext context)
void
XWikiDocument. loadAttachmentsContent(XWikiContext context)
Load attachment content from database.XWikiDocument
XWikiDocumentArchive. loadDocument(org.suigeneris.jrcs.rcs.Version version, XWikiContext context)
protected XWikiRCSNodeContent
XWikiDocumentArchive. makePatch(XWikiRCSNodeInfo newnode, XWikiDocument doc, XWikiContext context)
Make a patch.BaseObject
XWikiDocument. newObject(String className, XWikiContext context)
Deprecated.BaseObject
XWikiDocument. newXObject(EntityReference classReference, XWikiContext context)
Create, add and return a new object with the provided class.void
XWikiDocument. readAddedUpdatedAndRemovedObjectsFromForm(EditForm eform, XWikiContext context)
Adds objects, applies property updates and removes objects as specified in the form.void
XWikiDocument. readDocMetaFromForm(EditForm eform, XWikiContext context)
void
XWikiDocument. readFromForm(EditForm eform, XWikiContext context)
void
XWikiDocument. readFromTemplate(DocumentReference templateDocumentReference, XWikiContext context)
void
XWikiDocument. readObjectsFromForm(EditForm eform, XWikiContext context)
Updates properties of existing objects with the values from the given form.void
XWikiDocument. readObjectsFromFormUpdateOrCreate(EditForm eform, XWikiContext context)
Create and/or update objects in a document given a list of HTTP parameters of the form<spacename>.<classname>_<number>_<propertyname>
.void
XWikiDocument. readTranslationMetaFromForm(EditForm eform, XWikiContext context)
void
XWikiDocument. removeLock(XWikiContext context)
void
XWikiDocumentArchive. removeVersions(org.suigeneris.jrcs.rcs.Version newerVersion, org.suigeneris.jrcs.rcs.Version olderVersion, XWikiContext context)
Remove document versions from vfrom to vto, inclusive.void
XWikiDocument. rename(DocumentReference newDocumentReference, XWikiContext context)
Deprecated.void
XWikiDocument. rename(DocumentReference newDocumentReference, List<DocumentReference> backlinkDocumentReferences, XWikiContext context)
Deprecated.void
XWikiDocument. rename(DocumentReference newDocumentReference, List<DocumentReference> backlinkDocumentReferences, List<DocumentReference> childDocumentReferences, XWikiContext context)
Deprecated.protected static String
XWikiDocument. renderXDOM(org.xwiki.rendering.block.XDOM content, org.xwiki.rendering.syntax.Syntax targetSyntax)
Render provided XDOM into content of the provided syntax identifier.void
XWikiDocument. resetArchive(XWikiContext context)
XWikiAttachment
DeletedAttachment. restoreAttachment()
XWikiAttachment
DeletedAttachment. restoreAttachment(XWikiAttachment attachment)
Restore aXWikiAttachment
from aDeletedAttachment
.XWikiAttachment
DeletedAttachment. restoreAttachment(XWikiAttachment attachment, XWikiContext context)
Deprecated.since 9.9RC1, useDeletedAttachment.restoreAttachment(XWikiAttachment)
insteadXWikiDocument
XWikiDeletedDocument. restoreDocument(XWikiDocument doc, XWikiContext context)
XWikiDocument
XWikiDeletedDocument. restoreDocument(XWikiContext context)
void
XWikiDocument. saveAllAttachments(boolean updateParent, boolean transaction, XWikiContext context)
Deprecated.should not be used, save the document insteadvoid
XWikiDocument. saveAllAttachments(XWikiContext context)
Deprecated.should not be used, save the document insteadvoid
XWikiDocument. saveAttachmentContent(XWikiAttachment attachment, boolean updateParent, boolean transaction, XWikiContext context)
Deprecated.should not be used, save the document insteadvoid
XWikiDocument. saveAttachmentContent(XWikiAttachment attachment, XWikiContext context)
Deprecated.should not be used, save the document insteadvoid
XWikiDocument. saveAttachmentsContent(List<XWikiAttachment> attachments, XWikiContext context)
Deprecated.should not be used, save the document insteadvoid
XWikiAttachment. setArchive(String data)
void
XWikiAttachmentArchive. setArchive(byte[] data)
Set the archive from a byte array representation of a JRCS archive.void
XWikiAttachmentArchive. setArchive(String data)
Set the archive from a byte array representation of a JRCS archive.void
XWikiDocumentArchive. setArchive(String text)
Deserialize class.protected void
DeletedAttachment. setAttachment(XWikiAttachment attachment, XWikiContext context)
Deprecated.since 9.9RC1, useDeletedAttachment(long, String, String, String, String, Date, DeletedAttachmentContent)
insteadvoid
XWikiDocument. setContent(org.xwiki.rendering.block.XDOM content)
protected void
XWikiDeletedDocument. setDocument(XWikiDocument doc, XWikiContext context)
Deprecated.since 9.0RC1, useinstead
void
XWikiDocument. setDocumentArchive(String sarch)
void
XWikiDocument. setLock(String userName, XWikiContext context)
void
XWikiDocument. setTags(String tagsStr, XWikiContext context)
add tags to the document.String
XWikiDocument. toFullXML(XWikiContext context)
Retrieve the document as an XML string.String
XWikiAttachment. toStringXML(boolean bWithAttachmentContent, boolean bWithVersions, XWikiContext context)
Retrieve an attachment as an XML string.String
XWikiAttachment. toXML()
Retrieve an attachment as an XML string.org.dom4j.Element
XWikiAttachment. toXML(boolean bWithAttachmentContent, boolean bWithVersions, XWikiContext context)
Retrieve XML representation of attachment's metadata into anElement
.void
XWikiAttachment. toXML(com.xpn.xwiki.internal.xml.XMLWriter wr, boolean bWithAttachmentContent, boolean bWithVersions, XWikiContext context)
Write an XML representation of the attachment into anXMLWriter
org.dom4j.Element
XWikiAttachment. toXML(XWikiContext context)
Retrieve XML representation of attachment's metadata into anElement
.void
XWikiAttachment. toXML(org.xwiki.filter.output.OutputTarget out, boolean bWithAttachmentContent, boolean bWithVersions, boolean format, XWikiContext context)
Write an XML representation of the attachment into anXMLWriter
void
XWikiAttachment. toXML(org.xwiki.filter.output.OutputTarget out, boolean bWithAttachmentContent, boolean bWithVersions, boolean format, String encoding)
Write an XML representation of the attachment into anXMLWriter
String
XWikiDocument. toXML(boolean bWithObjects, boolean bWithRendering, boolean bWithAttachmentContent, boolean bWithVersions, XWikiContext context)
Serialize the document to an XML string.void
XWikiDocument. toXML(com.xpn.xwiki.internal.xml.XMLWriter wr, boolean bWithObjects, boolean bWithRendering, boolean bWithAttachmentContent, boolean bWithVersions, XWikiContext context)
Deprecated.String
XWikiDocument. toXML(XWikiContext context)
Retrieve the document as an XML string.void
XWikiDocument. toXML(OutputStream out, boolean bWithObjects, boolean bWithRendering, boolean bWithAttachmentContent, boolean bWithVersions, XWikiContext context)
Serialize the document to an OutputStream.void
XWikiDocument. toXML(DocumentInstanceInputProperties documentProperties, XAROutputProperties xarProperties)
Serialize the document to an OutputStream.void
XWikiDocument. 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.Document
LazyXWikiDocument. toXMLDocument(boolean bWithObjects, boolean bWithRendering, boolean bWithAttachmentContent, boolean bWithVersions, XWikiContext context)
org.dom4j.Document
XWikiDocument. toXMLDocument(boolean bWithObjects, boolean bWithRendering, boolean bWithAttachmentContent, boolean bWithVersions, XWikiContext context)
Deprecated.org.dom4j.Document
XWikiDocument. toXMLDocument(XWikiContext context)
Deprecated.void
XWikiAttachmentArchive. updateArchive(byte[] data, XWikiContext context)
Deprecated.since 7.1M1, useXWikiAttachmentArchive.updateArchive(XWikiContext)
insteadvoid
XWikiAttachmentArchive. updateArchive(XWikiContext context)
Update the archive.void
XWikiDocumentArchive. updateArchive(XWikiDocument doc, String author, Date date, String comment, org.suigeneris.jrcs.rcs.Version version, XWikiContext context)
Update history with new document version.void
XWikiAttachment. updateContentArchive(XWikiContext context)
String
XWikiDocument. updateDocumentSection(int sectionNumber, String newSectionContent)
Update a section content in document.BaseObject
XWikiDocument. updateObjectFromRequest(String className, XWikiContext context)
Deprecated.BaseObject
XWikiDocument. updateObjectFromRequest(String className, String prefix, int num, XWikiContext context)
Deprecated.BaseObject
XWikiDocument. 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.BaseObject
XWikiDocument. updateXObjectFromRequest(EntityReference classReference, XWikiContext context)
Adds an object from an new object creation form.BaseObject
XWikiDocument. updateXObjectFromRequest(EntityReference classReference, String prefix, int num, XWikiContext context)
Adds an object from an new object creation form.BaseObject
XWikiDocument. updateXObjectFromRequest(EntityReference classReference, String prefix, XWikiContext context)
Adds an object from an new object creation form.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.boolean
XWikiDocument. validate(XWikiContext context)
boolean
XWikiDocument. 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 XWikiRCSNodeContent
XWikiRCSNodeInfo. getContent(XWikiContext context)
void
XWikiPatch. patch(List<String> origText)
Patch text.XWikiPatch
XWikiPatch. setDiffVersion(XWikiDocument originalVersion, XWikiDocument newVersion, XWikiContext context)
Create history patch between originalVersion and newVersion as difference on the XML export of the two versions.XWikiPatch
XWikiPatch. setDiffVersion(String originalVersionXml, XWikiDocument newVersion, XWikiContext context)
Create history patch between originalVersion and newVersion as difference on the XML export of the two versions.XWikiPatch
XWikiPatch. setDiffVersion(String originalVersionXml, String newVersionXml, String docName)
Create history patch between originalVersion and newVersion as difference on the XML export of the two versions.XWikiPatch
XWikiPatch. setFullVersion(XWikiDocument version, XWikiContext context)
Store the XML export of the document as the history patch; this will be a history milestone.XWikiPatch
XWikiPatch. 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 void
HtmlPackager. 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 void
BaseElement. fromXML(String source)
protected void
BaseElement. fromXML(org.dom4j.Element oel)
void
BaseObject. fromXML(org.dom4j.Element oel)
PropertyInterface
BaseCollection. get(String name)
PropertyInterface
ObjectInterface. get(String name)
Map<String,Object>
BaseCollection. getCustomMappingMap()
BaseClass
ObjectInterface. getXClass(XWikiContext context)
void
BaseCollection. put(String name, PropertyInterface property)
void
ObjectInterface. 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 void
PropertyClass. displayCustom(StringBuffer buffer, String fieldName, String prefix, String type, BaseObject object, XWikiContext context)
BaseCollection
BaseClass. fromMap(Map<String,?> map, XWikiContext context)
Deprecated.void
BaseClass. fromXML(String xml)
void
BaseClass. fromXML(org.dom4j.Element element)
void
PropertyClass. fromXML(org.dom4j.Element element)
boolean
BaseClass. isCustomMappingValid(XWikiContext context)
boolean
BaseClass. isCustomMappingValid(String custommapping, XWikiContext context)
BaseObject
BaseClass. newCustomClassInstance(boolean fallback)
BaseObject
BaseClass. newCustomClassInstance(XWikiContext context)
static BaseObject
BaseClass. newCustomClassInstance(String className, XWikiContext context)
Deprecated.static BaseObject
BaseClass. newCustomClassInstance(DocumentReference classReference, boolean fallback, XWikiContext context)
static BaseObject
BaseClass. newCustomClassInstance(DocumentReference classReference, XWikiContext context)
BaseCollection
BaseClass. newObject(XWikiContext context)
Deprecated.boolean
BaseClass. 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 BaseCollection
PropertyMetaClass. 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 void
PdfExport. export(XWikiDocument doc, OutputStream out, PdfExport.ExportType type, XWikiContext context)
Export a wiki Document into PDF or RTF.void
PdfExport. exportHtml(String html, OutputStream out, PdfExport.ExportType type, XWikiContext context)
Convert an HTML document to PDF.void
PdfExport. exportToPDF(XWikiDocument doc, OutputStream out, XWikiContext context)
Export a wiki Document into PDF. -
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 String
PdfExportImpl. applyXSLT(String xml, InputStream xslt)
Applies an XSLT transformation to an XML document.void
PdfExportImpl. export(XWikiDocument doc, OutputStream out, PdfExport.ExportType type, XWikiContext context)
void
PdfExportImpl. exportHtml(String html, OutputStream out, PdfExport.ExportType type, XWikiContext context)
void
PdfExportImpl. exportToPDF(XWikiDocument doc, OutputStream out, XWikiContext context)
protected void
PdfExportImpl. exportXHTML(String xhtml, OutputStream out, PdfExport.ExportType type, XWikiContext context)
Convert a valid XHTML document into PDF. -
Uses of XWikiException in com.xpn.xwiki.plugin
Subclasses of XWikiException in com.xpn.xwiki.plugin Modifier and Type Class Description class
PluginException
Deprecated.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 void
XWikiPluginInterface. init(XWikiContext context)
Deprecated.Global initialization, called when the platform is started and the plugin list is initialized.void
XWikiPluginManager. 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 String
FileUploadPlugin. getFileItem(String formfieldName, XWikiContext context)
Deprecated.not well named, useFileUploadPlugin.getFileItemAsString(String, com.xpn.xwiki.XWikiContext)
String
FileUploadPluginApi. getFileItem(String formfieldName)
Deprecated.not well named, useFileUploadPluginApi.getFileItemAsString(String)
String
FileUploadPlugin. getFileItemAsString(String formfieldName, XWikiContext context)
Allows to retrieve the contents of an uploaded file as a string.String
FileUploadPluginApi. 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.void
FileUploadPlugin. loadFileList(long uploadMaxSize, int uploadSizeThreshold, String tempdir, XWikiContext context)
Loads the list of uploaded files in the context if there are any uploaded files.void
FileUploadPlugin. loadFileList(XWikiContext context)
Loads the list of uploaded files in the context if there are any uploaded files.void
FileUploadPluginApi. loadFileList()
Loads the list of uploaded files in the context if there are any uploaded files.void
FileUploadPluginApi. 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 class
PackageException
Deprecated.since 5.2, use Filter framework insteadMethods in com.xpn.xwiki.plugin.packaging that throw XWikiException Modifier and Type Method Description boolean
Package. add(XWikiDocument doc, int defaultAction, XWikiContext context)
Deprecated.boolean
Package. add(XWikiDocument doc, XWikiContext context)
Deprecated.boolean
Package. add(String docFullName, int DefaultAction, XWikiContext context)
Deprecated.boolean
Package. add(String docFullName, XWikiContext context)
Deprecated.boolean
Package. add(String docFullName, String language, int DefaultAction, XWikiContext context)
Deprecated.boolean
Package. add(String docFullName, String language, XWikiContext context)
Deprecated.boolean
PackageAPI. add(String docFullName)
Deprecated.boolean
PackageAPI. add(String docFullName, int DefaultAction)
Deprecated.void
Package. addAllWikiDocuments(XWikiContext context)
Deprecated.void
Package. addToDir(XWikiDocument doc, File dir, boolean withVersions, XWikiContext context)
Deprecated.void
Package. addToZip(XWikiDocument doc, ZipOutputStream zos, boolean withVersions, XWikiContext context)
Deprecated.since 4.1M2void
PackageAPI. backupWiki()
Deprecated.void
Package. deleteAllWikiDocuments(XWikiContext context)
Deprecated.String
Package. export(OutputStream os, XWikiContext context)
Deprecated.String
PackageAPI. export()
Deprecated.String
Package. exportToDir(File dir, XWikiContext context)
Deprecated.String
Package. Import(byte[] file, XWikiContext context)
Deprecated.Load this package in memory from a byte array.String
Package. Import(InputStream file, XWikiContext context)
Deprecated.Load this package in memory from an InputStream.String
PackageAPI. Import(byte[] file)
Deprecated.Load a package in memory from a byte array.String
PackageAPI. Import(InputStream file)
Deprecated.Load a package in memory from an InputStream.int
Package. install(XWikiContext context)
Deprecated.int
PackageAPI. install()
Deprecated.String
Package. readFromDir(File dir, XWikiContext context)
Deprecated.Load document files from provided directory and sub-directories into packager.int
Package. readFromDir(File dir, XWikiContext context, org.dom4j.Document description)
Deprecated.Load document files from provided directory and sub-directories into packager.boolean
Package. 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 class
RightsManagerException
Rights Manager plugin base exception.Methods in com.xpn.xwiki.plugin.rightsmanager that throw XWikiException Modifier and Type Method Description int
RightsManagerGroupsApi. countAllGlobalGroups()
int
RightsManagerUsersApi. countAllGlobalUsers()
int
RightsManager. countAllGlobalUsersOrGroups(boolean user, Object[][] matchFields, XWikiContext context)
Get the number of users or groups in the main wiki.int
RightsManagerGroupsApi. countAllGroups()
int
RightsManager. countAllGroupsNamesForMember(String member, XWikiContext context)
Deprecated.since 10.8RC1, use org.xwiki.user.group.GroupManager component insteadint
RightsManagerPluginApi. countAllGroupsNamesForMember(String member)
Deprecated.since 10.8RC1, use org.xwiki.user.script.GroupScriptService ($services.user.group) insteadint
RightsManagerGroupsApi. countAllLocalGroups()
int
RightsManagerUsersApi. countAllLocalUsers()
int
RightsManager. countAllLocalUsersOrGroups(boolean user, Object[][] matchFields, XWikiContext context)
Get the number of users or groups in the current wiki.int
RightsManagerGroupsApi. countAllMatchedGlobalGroups(Map<?,?> matchFields)
int
RightsManagerUsersApi. countAllMatchedGlobalUsers(Map<?,?> matchFields)
int
RightsManagerGroupsApi. countAllMatchedGroups(Map<?,?> matchFields)
int
RightsManagerGroupsApi. countAllMatchedLocalGroups(Map<?,?> matchFields)
int
RightsManagerUsersApi. countAllMatchedLocalUsers(Map<?,?> matchFields)
int
RightsManager. countAllMatchedMembersNamesForGroup(String group, String filter, XWikiContext xcontext)
Filters the members of the specified group using the given text and counts the results.int
RightsManagerUsersApi. countAllMatchedUsers(Map<?,?> matchFields)
int
RightsManagerGroupsApi. countAllMatchedWikiGroups(String wikiName, Map<?,?> matchFields)
Get the number of groups in the provided wiki.int
RightsManagerUsersApi. countAllMatchedWikiUsers(String wikiName, Map<?,?> matchFields)
Get the number of users in the provided wiki.int
RightsManager. countAllMembersNamesForGroup(String group, XWikiContext context)
Deprecated.since 10.8RC1, use org.xwiki.user.group.GroupManager component insteadint
RightsManagerPluginApi. countAllMembersNamesForGroup(String group)
Deprecated.since 10.8RC1, use org.xwiki.user.script.GroupScriptService ($services.user.group) insteadint
RightsManagerUsersApi. countAllUsers()
int
RightsManager. countAllUsersOrGroups(boolean user, Object[][] matchFields, XWikiContext context)
Get the number of users or groups in the main wiki and the current wiki.int
RightsManagerGroupsApi. countAllWikiGroups(String wikiName)
Get the number of groups in the provided wiki.int
RightsManagerUsersApi. countAllWikiUsers(String wikiName)
Get the number of users in the provided wiki.int
RightsManager. 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)
XWikiDocument
RightsManager. getParentPreference(XWikiDocument currentPreference, boolean currentGlobal, XWikiContext context)
Get the document containing inherited rights of provided document.XWikiDocument
RightsManager. getParentPreference(String spaceOrPage, XWikiContext context)
Get the document containing inherited rights of provided document.Document
RightsManagerRightsApi. getParentPreference(String spaceOrPage)
Get the document containing inherited rights of provided document.LevelTree
RightsManager. getTreeLevel(String spaceOrPage, String levelName, XWikiContext context)
Get level right tree.boolean
RightsManager. groupContainsMember(String groupName, String memberName, Map<String,Collection<String>> groupCacheIn, XWikiContext context)
Browse a group and groups it contains to find provided member (user or group).void
RightsManager. removeDirectRights(String spaceOrPage, List<String> levelNames, String comment, XWikiContext context)
Remove "direct" rights for wiki, space or document.void
RightsManager. removeUserOrGroupFromAllRights(String userOrGroupWiki, String userOrGroupSpace, String userOrGroupName, boolean user, XWikiContext context)
Remove all references to provided user or group from all rights documents.void
RightsManager. removeUserOrGroupFromLevel(String spaceOrPage, String userOrGroup, boolean user, String levelName, boolean allow, String comment, XWikiContext context)
Remove a user or group from rights preferences document for provided level.void
RightsManager. replaceUserOrGroupFromAllRights(DocumentReference userOrGroupSourceReference, DocumentReference userOrGroupTargetReference, boolean user, XWikiContext context)
Replace a user or a group reference with another one on all rights of the current wiki.Collection<DocumentReference>
RightsManager. resolveUsers(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 boolean
RedirectionFilter. 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 List
XWikiStatsService. 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 VisitStats
StatsUtil. findVisitByCookie(String cookie, XWikiContext context)
Search visit statistics object in the database based on cookie name.protected static VisitStats
StatsUtil. findVisitByField(String fieldName, String fieldValue, XWikiContext context)
Search visit statistics object in the database based on cookie name.protected static VisitStats
StatsUtil. findVisitByIPUA(String uniqueID, XWikiContext context)
Search visit statistics object in the database based on visit unique id.void
XWikiStats. 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 boolean
XWikiAttachmentStoreInterface. attachmentContentExists(XWikiAttachment attachment, XWikiContext context, boolean bTransaction)
boolean
XWikiHibernateAttachmentStore. attachmentContentExists(XWikiAttachment attachment, XWikiContext inputxcontext, boolean bTransaction)
boolean
XWikiHibernateBaseStore. beginTransaction(boolean withTransaction, XWikiContext context)
Deprecated.boolean
XWikiHibernateBaseStore. beginTransaction(XWikiContext context)
Begins a transaction if the context does not contains any.boolean
XWikiHibernateBaseStore. beginTransaction(org.hibernate.SessionFactory sfactory, boolean withTransaction, XWikiContext context)
Deprecated.boolean
XWikiHibernateBaseStore. beginTransaction(org.hibernate.SessionFactory sfactory, XWikiContext inputxcontext)
Begins a transaction with a specific SessionFactory.int
XWikiCacheStore. countDocuments(String wheresql, XWikiContext context)
int
XWikiCacheStore. countDocuments(String parametrizedSqlClause, List<?> parameterValues, XWikiContext context)
int
XWikiHibernateStore. countDocuments(String wheresql, XWikiContext context)
int
XWikiHibernateStore. countDocuments(String parametrizedSqlClause, List<?> parameterValues, XWikiContext context)
int
XWikiStoreInterface. countDocuments(String wheresql, XWikiContext context)
API allowing to count the total number of documents that would be returned by a query.int
XWikiStoreInterface. countDocuments(String parametrizedSqlClause, List<?> parameterValues, XWikiContext context)
API allowing to count the total number of documents that would be returned by a parameterized query.void
XWikiCacheStore. createWiki(String wikiName, XWikiContext context)
void
XWikiHibernateStore. createWiki(String wikiName, XWikiContext inputxcontext)
void
XWikiStoreInterface. createWiki(String wikiName, XWikiContext context)
Allows to create a new wiki database and initialize the default tables.void
AttachmentRecycleBinContentStore. delete(AttachmentReference reference, Date deleteDate, long index, boolean bTransaction)
Permanently delete attachment content from recycle bin.void
XWikiRecycleBinContentStoreInterface. delete(DocumentReference reference, long index, boolean bTransaction)
Permanently delete document content from recycle bin.void
AttachmentVersioningStore. deleteArchive(XWikiAttachment attachment, XWikiContext context, boolean bTransaction)
Permanently delete attachment archive.void
VoidAttachmentVersioningStore. deleteArchive(XWikiAttachment attachment, XWikiContext context, boolean transaction)
void
XWikiHibernateVersioningStore. deleteArchive(XWikiDocument doc, boolean bTransaction, XWikiContext context)
void
XWikiVersioningStoreInterface. deleteArchive(XWikiDocument doc, boolean bTransaction, XWikiContext context)
Delete all history for a document.void
AttachmentRecycleBinStore. deleteFromRecycleBin(long index, XWikiContext context, boolean bTransaction)
Permanently delete attachment from recycle bin.void
XWikiHibernateRecycleBinStore. deleteFromRecycleBin(long index, XWikiContext context, boolean bTransaction)
void
XWikiHibernateRecycleBinStore. deleteFromRecycleBin(XWikiDocument doc, long index, XWikiContext context, boolean bTransaction)
default void
XWikiRecycleBinStoreInterface. deleteFromRecycleBin(long index, XWikiContext context, boolean bTransaction)
Permanently delete document from recycle bin.void
XWikiRecycleBinStoreInterface. deleteFromRecycleBin(XWikiDocument doc, long index, XWikiContext context, boolean bTransaction)
Deprecated.since 9.4RC1.void
XWikiCacheStore. deleteLinks(long docId, XWikiContext context, boolean bTransaction)
Deprecated.void
XWikiHibernateStore. deleteLinks(long docId, XWikiContext inputxcontext, boolean bTransaction)
Deprecated.void
XWikiStoreInterface. deleteLinks(long docId, XWikiContext context, boolean bTransaction)
Deprecated.link storage and indexing moved to Solr (implemented in xwiki-platform-search-solr-api)void
XWikiCacheStore. deleteLock(XWikiLock lock, XWikiContext context, boolean bTransaction)
void
XWikiHibernateStore. deleteLock(XWikiLock lock, XWikiContext inputxcontext, boolean bTransaction)
void
XWikiStoreInterface. deleteLock(XWikiLock lock, XWikiContext context, boolean bTransaction)
void
XWikiCacheStore. deleteWiki(String wikiName, XWikiContext context)
void
XWikiHibernateStore. deleteWiki(String wikiName, XWikiContext inputxcontext)
void
XWikiStoreInterface. deleteWiki(String wikiName, XWikiContext context)
Delete a wiki database.void
XWikiAttachmentStoreInterface. deleteXWikiAttachment(XWikiAttachment attachment, boolean parentUpdate, XWikiContext context, boolean bTransaction)
void
XWikiAttachmentStoreInterface. deleteXWikiAttachment(XWikiAttachment attachment, XWikiContext context, boolean bTransaction)
void
XWikiHibernateAttachmentStore. deleteXWikiAttachment(XWikiAttachment attachment, boolean parentUpdate, XWikiContext inputxcontext, boolean bTransaction)
void
XWikiHibernateAttachmentStore. deleteXWikiAttachment(XWikiAttachment attachment, XWikiContext context, boolean bTransaction)
void
XWikiHibernateStore. deleteXWikiCollection(BaseCollection object, XWikiContext inputxcontext, boolean bTransaction, boolean evict)
Deprecated.This is internal to XWikiHibernateStore and may be removed in the future.void
XWikiCacheStore. deleteXWikiDoc(XWikiDocument doc, XWikiContext inputxcontext)
void
XWikiHibernateStore. deleteXWikiDoc(XWikiDocument doc, XWikiContext inputxcontext)
void
XWikiStoreInterface. deleteXWikiDoc(XWikiDocument doc, XWikiContext context)
T
XWikiHibernateBaseStore.HibernateCallback. doInHibernate(org.hibernate.Session session)
method executed byXWikiHibernateBaseStore
and pass open session to it.<T> T
XWikiHibernateBaseStore. execute(XWikiContext context, boolean bTransaction, boolean doCommit, XWikiHibernateBaseStore.HibernateCallback<T> cb)
<T> T
XWikiHibernateBaseStore. execute(XWikiContext inputxcontext, boolean doCommit, XWikiHibernateBaseStore.HibernateCallback<T> cb)
Execute method for operations in Hibernate.<T> T
XWikiHibernateBaseStore. executeRead(XWikiContext context, boolean bTransaction, XWikiHibernateBaseStore.HibernateCallback<T> cb)
<T> T
XWikiHibernateBaseStore. executeRead(XWikiContext context, XWikiHibernateBaseStore.HibernateCallback<T> cb)
Execute method for read-only operations in hibernate.<T> T
XWikiHibernateBaseStore. executeWrite(XWikiContext context, boolean bTransaction, XWikiHibernateBaseStore.HibernateCallback<T> cb)
<T> T
XWikiHibernateBaseStore. executeWrite(XWikiContext context, XWikiHibernateBaseStore.HibernateCallback<T> cb)
Execute method for read-write operations in Hibernate.boolean
XWikiCacheStore. exists(XWikiDocument doc, XWikiContext inputxcontext)
boolean
XWikiHibernateStore. exists(XWikiDocument doc, XWikiContext inputxcontext)
Verifies if a wiki document existsboolean
XWikiStoreInterface. exists(XWikiDocument doc, XWikiContext context)
DeletedAttachmentContent
AttachmentRecycleBinContentStore. get(AttachmentReference reference, Date deleteDate, long index, boolean bTransaction)
XWikiDeletedDocumentContent
XWikiRecycleBinContentStoreInterface. 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)
DeletedAttachment
AttachmentRecycleBinStore. getDeletedAttachment(long index, XWikiContext context, boolean bTransaction)
Returns ahandler
for a deleted attachment.XWikiDeletedDocument
XWikiHibernateRecycleBinStore. getDeletedDocument(long index, XWikiContext context, boolean bTransaction)
XWikiDeletedDocument
XWikiHibernateRecycleBinStore. getDeletedDocument(XWikiDocument doc, long index, XWikiContext context, boolean bTransaction)
default XWikiDeletedDocument
XWikiRecycleBinStoreInterface. getDeletedDocument(long index, XWikiContext context, boolean bTransaction)
XWikiDeletedDocument
XWikiRecycleBinStoreInterface. getDeletedDocument(XWikiDocument doc, long index, XWikiContext context, boolean bTransaction)
Deprecated.since 9.4RC1.Long
XWikiHibernateRecycleBinStore. getNumberOfDeletedDocuments(XWikiContext context)
default Long
XWikiRecycleBinStoreInterface. getNumberOfDeletedDocuments(XWikiContext context)
XWikiAttachment
VoidAttachmentVersioningStore.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)
XWikiDocumentArchive
XWikiHibernateVersioningStore. getXWikiDocumentArchive(XWikiDocument doc, XWikiContext inputxcontext)
XWikiDocumentArchive
XWikiVersioningStoreInterface. getXWikiDocumentArchive(XWikiDocument doc, XWikiContext context)
org.suigeneris.jrcs.rcs.Version[]
XWikiHibernateVersioningStore. getXWikiDocVersions(XWikiDocument doc, XWikiContext context)
org.suigeneris.jrcs.rcs.Version[]
XWikiVersioningStoreInterface. getXWikiDocVersions(XWikiDocument doc, XWikiContext context)
void
XWikiCacheStore. initCache(int capacity, int pageExistCacheCapacity, XWikiContext context)
Deprecated.void
XWikiCacheStore. initCache(XWikiContext context)
Deprecated.void
XWikiCacheStoreInterface. initCache(int capacity, int pageExistCapacity, XWikiContext context)
Deprecated.since 8.3.boolean
XWikiCacheStore. injectCustomMapping(BaseClass doc1class, XWikiContext context)
boolean
XWikiDefaultStore. injectCustomMapping(BaseClass doc1class, XWikiContext xWikiContext)
boolean
XWikiHibernateStore. injectCustomMapping(BaseClass doc1class)
boolean
XWikiHibernateStore. injectCustomMapping(BaseClass doc1class, XWikiContext inputxcontext)
boolean
XWikiHibernateStore. injectCustomMapping(String className, String customMapping, XWikiContext inputxcontext)
default boolean
XWikiStoreInterface. injectCustomMapping(BaseClass doc1class)
boolean
XWikiStoreInterface. injectCustomMapping(BaseClass doc1class, XWikiContext xWikiContext)
Deprecated.boolean
XWikiCacheStore. injectCustomMappings(XWikiDocument doc, XWikiContext context)
void
XWikiCacheStore. injectCustomMappings(XWikiContext context)
boolean
XWikiDefaultStore. injectCustomMappings(XWikiDocument doc, XWikiContext xWikiContext)
void
XWikiDefaultStore. injectCustomMappings(XWikiContext context)
boolean
XWikiHibernateStore. injectCustomMappings(XWikiDocument doc, XWikiContext inputxcontext)
void
XWikiHibernateStore. injectCustomMappings(XWikiContext context)
boolean
XWikiStoreInterface. injectCustomMappings(XWikiDocument doc, XWikiContext context)
void
XWikiStoreInterface. injectCustomMappings(XWikiContext context)
org.hibernate.SessionFactory
XWikiHibernateStore. injectCustomMappingsInSessionFactory(BaseClass bclass, XWikiContext context)
org.hibernate.SessionFactory
XWikiHibernateStore. injectCustomMappingsInSessionFactory(XWikiContext inputxcontext)
void
XWikiCacheStore. injectUpdatedCustomMappings(XWikiContext context)
void
XWikiDefaultStore. injectUpdatedCustomMappings(XWikiContext context)
void
XWikiHibernateStore. injectUpdatedCustomMappings(XWikiContext context)
void
XWikiStoreInterface. injectUpdatedCustomMappings(XWikiContext context)
boolean
XWikiCacheStore. isCustomMappingValid(BaseClass bclass, String custommapping1, XWikiContext context)
boolean
XWikiStoreInterface. isCustomMappingValid(BaseClass bclass, String custommapping1, XWikiContext context)
Deprecated.boolean
XWikiCacheStore. isWikiNameAvailable(String wikiName, XWikiContext context)
boolean
XWikiHibernateStore. isWikiNameAvailable(String wikiName, XWikiContext inputxcontext)
boolean
XWikiStoreInterface. 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)
XWikiAttachmentArchive
AttachmentVersioningStore. loadArchive(XWikiAttachment attachment, XWikiContext context, boolean bTransaction)
Load attachment archive from store.XWikiAttachmentArchive
VoidAttachmentVersioningStore. loadArchive(XWikiAttachment attachment, XWikiContext context, boolean transaction)
void
XWikiAttachmentStoreInterface. loadAttachmentContent(XWikiAttachment attachment, XWikiContext context, boolean bTransaction)
void
XWikiHibernateAttachmentStore. 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.useLinkStore
APIs insteaddefault List<DocumentReference>
XWikiStoreInterface. loadBacklinks(AttachmentReference documentReference, boolean bTransaction, XWikiContext context)
Deprecated.useLinkStore
APIs insteadList<DocumentReference>
XWikiStoreInterface. loadBacklinks(DocumentReference documentReference, boolean bTransaction, XWikiContext context)
Deprecated.useLinkStore
APIs 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.useLinkStore
APIs insteadXWikiLock
XWikiCacheStore. loadLock(long docId, XWikiContext context, boolean bTransaction)
XWikiLock
XWikiHibernateStore. loadLock(long docId, XWikiContext inputxcontext, boolean bTransaction)
XWikiLock
XWikiStoreInterface. loadLock(long docId, XWikiContext context, boolean bTransaction)
XWikiRCSNodeContent
XWikiHibernateVersioningStore. loadRCSNodeContent(XWikiRCSNodeId id, boolean bTransaction, XWikiContext context)
XWikiRCSNodeContent
XWikiVersioningStoreInterface. loadRCSNodeContent(XWikiRCSNodeId id, boolean bTransaction, XWikiContext context)
LoadXWikiRCSNodeContent
on demand.void
XWikiHibernateStore. loadXWikiCollection(BaseCollection object, XWikiContext context, boolean bTransaction)
Deprecated.This is internal to XWikiHibernateStore and may be removed in the future.XWikiDocument
XWikiCacheStore. loadXWikiDoc(XWikiDocument doc, XWikiContext inputxcontext)
XWikiDocument
XWikiHibernateStore. loadXWikiDoc(XWikiDocument defaultDocument, XWikiContext inputxcontext)
XWikiDocument
XWikiHibernateVersioningStore. loadXWikiDoc(XWikiDocument basedoc, String sversion, XWikiContext inputxcontext)
XWikiDocument
XWikiStoreInterface. loadXWikiDoc(XWikiDocument doc, XWikiContext context)
XWikiDocument
XWikiVersioningStoreInterface. loadXWikiDoc(XWikiDocument doc, String version, XWikiContext context)
void
XWikiHibernateVersioningStore. loadXWikiDocArchive(XWikiDocumentArchive archivedoc, boolean bTransaction, XWikiContext context)
void
XWikiVersioningStoreInterface. loadXWikiDocArchive(XWikiDocumentArchive archivedoc, boolean bTransaction, XWikiContext context)
void
XWikiCacheStore. renameXWikiDoc(XWikiDocument doc, DocumentReference newReference, XWikiContext inputxcontext)
void
XWikiHibernateStore. renameXWikiDoc(XWikiDocument doc, DocumentReference newReference, XWikiContext inputxcontext)
Atomic operation for renaming a document.default void
XWikiStoreInterface. renameXWikiDoc(XWikiDocument doc, DocumentReference newReference, XWikiContext context)
Atomic operation for renaming a document.void
XWikiHibernateVersioningStore. resetRCSArchive(XWikiDocument doc, boolean bTransaction, XWikiContext inputxcontext)
void
XWikiVersioningStoreInterface. resetRCSArchive(XWikiDocument doc, boolean bTransaction, XWikiContext context)
XWikiAttachment
AttachmentRecycleBinStore. restoreFromRecycleBin(XWikiAttachment attachment, long index, XWikiContext context, boolean bTransaction)
Restore an attachment from the recycle bin (with full history).XWikiDocument
XWikiHibernateRecycleBinStore. restoreFromRecycleBin(long index, XWikiContext inputxcontext, boolean bTransaction)
XWikiDocument
XWikiHibernateRecycleBinStore. restoreFromRecycleBin(XWikiDocument doc, long index, XWikiContext inputxcontext, boolean bTransaction)
default XWikiDocument
XWikiRecycleBinStoreInterface. restoreFromRecycleBin(long index, XWikiContext context, boolean bTransaction)
XWikiDocument
XWikiRecycleBinStoreInterface. restoreFromRecycleBin(XWikiDocument doc, long index, XWikiContext context, boolean bTransaction)
Deprecated.since 9.4RC1.void
AttachmentRecycleBinContentStore. save(XWikiAttachment attachment, Date deleteDate, long index, boolean bTransaction)
Save attachment to recycle bin.void
XWikiRecycleBinContentStoreInterface. save(XWikiDocument doc, long index, boolean bTransaction)
Save document to recycle bin.void
AttachmentVersioningStore. saveArchive(XWikiAttachmentArchive archive, XWikiContext context, boolean bTransaction)
Save or update attachment archive.void
VoidAttachmentVersioningStore. saveArchive(XWikiAttachmentArchive archive, XWikiContext context, boolean transaction)
void
XWikiAttachmentStoreInterface. saveAttachmentContent(XWikiAttachment attachment, boolean bParentUpdate, XWikiContext context, boolean bTransaction)
void
XWikiAttachmentStoreInterface. saveAttachmentContent(XWikiAttachment attachment, XWikiContext context, boolean bTransaction)
void
XWikiHibernateAttachmentStore. saveAttachmentContent(XWikiAttachment attachment, boolean parentUpdate, XWikiContext inputxcontext, boolean bTransaction)
void
XWikiHibernateAttachmentStore. saveAttachmentContent(XWikiAttachment attachment, XWikiContext context, boolean bTransaction)
void
XWikiAttachmentStoreInterface. saveAttachmentsContent(List<XWikiAttachment> attachments, XWikiDocument doc, boolean bParentUpdate, XWikiContext context, boolean bTransaction)
void
XWikiHibernateAttachmentStore. saveAttachmentsContent(List<XWikiAttachment> attachments, XWikiDocument doc, boolean bParentUpdate, XWikiContext inputxcontext, boolean bTransaction)
void
XWikiCacheStore. saveLinks(XWikiDocument doc, XWikiContext context, boolean bTransaction)
Deprecated.void
XWikiHibernateStore. saveLinks(XWikiDocument doc, XWikiContext inputxcontext, boolean bTransaction)
Deprecated.void
XWikiStoreInterface. saveLinks(XWikiDocument doc, XWikiContext context, boolean bTransaction)
Deprecated.link storage and indexing moved to Solr (implemented in xwiki-platform-search-solr-api)void
XWikiCacheStore. saveLock(XWikiLock lock, XWikiContext context, boolean bTransaction)
void
XWikiHibernateStore. saveLock(XWikiLock lock, XWikiContext inputxcontext, boolean bTransaction)
void
XWikiStoreInterface. saveLock(XWikiLock lock, XWikiContext context, boolean bTransaction)
void
AttachmentRecycleBinStore. saveToRecycleBin(XWikiAttachment attachment, String deleter, Date date, XWikiContext context, boolean bTransaction)
Save attachment to recycle bin, with full history.void
XWikiHibernateRecycleBinStore. saveToRecycleBin(XWikiDocument doc, String deleter, Date date, XWikiContext inputxcontext, boolean bTransaction)
void
XWikiHibernateRecycleBinStore. saveToRecycleBin(XWikiDocument doc, String deleter, Date date, String batchId, XWikiContext inputxcontext, boolean bTransaction)
void
XWikiRecycleBinStoreInterface. saveToRecycleBin(XWikiDocument doc, String deleter, Date date, XWikiContext context, boolean bTransaction)
Save document to recycle bin.default void
XWikiRecycleBinStoreInterface. saveToRecycleBin(XWikiDocument doc, String deleter, Date date, String batchId, XWikiContext context, boolean bTransaction)
Save document to recycle bin.void
XWikiHibernateStore. saveXWikiCollection(BaseCollection object, XWikiContext inputxcontext, boolean bTransaction)
Deprecated.This is internal to XWikiHibernateStore and may be removed in the future.void
XWikiCacheStore. saveXWikiDoc(XWikiDocument doc, XWikiContext context)
void
XWikiCacheStore. saveXWikiDoc(XWikiDocument doc, XWikiContext inputxcontext, boolean bTransaction)
void
XWikiHibernateStore. saveXWikiDoc(XWikiDocument doc, XWikiContext context)
void
XWikiHibernateStore. saveXWikiDoc(XWikiDocument doc, XWikiContext inputxcontext, boolean bTransaction)
void
XWikiStoreInterface. saveXWikiDoc(XWikiDocument doc, XWikiContext context)
void
XWikiStoreInterface. saveXWikiDoc(XWikiDocument doc, XWikiContext context, boolean bTransaction)
void
XWikiHibernateVersioningStore. saveXWikiDocArchive(XWikiDocumentArchive archivedoc, boolean bTransaction, XWikiContext context)
void
XWikiVersioningStoreInterface. 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)
List
XWikiHibernateStore. search(org.hibernate.query.Query query, int nb, int start, XWikiContext inputxcontext)
<T> List<T>
XWikiStoreInterface. search(String sql, int nb, int start, 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)
List
XWikiDefaultStore. searchDocumentsNames(String wheresql, int nb, int start, XWikiContext context)
List
XWikiDefaultStore. 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)
void
VoidAttachmentVersioningStore.VoidAttachmentArchive. setArchive(byte[] data)
void
XWikiHibernateBaseStore. setDatabase(org.hibernate.Session session, XWikiContext inputxcontext)
Virtual Wikis Allows to switch database connectionvoid
VoidAttachmentVersioningStore.VoidAttachmentArchive. updateArchive(byte[] data, XWikiContext context)
void
VoidAttachmentVersioningStore.VoidAttachmentArchive. updateArchive(XWikiContext context)
void
XWikiHibernateBaseStore. updateSchema(BaseClass bclass, XWikiContext inputxcontext)
Custom Mapping This function update the schema based on the dynamic custom mapping provided by the classvoid
XWikiHibernateVersioningStore. updateXWikiDocArchive(XWikiDocument doc, boolean bTransaction, XWikiContext inputxcontext)
void
XWikiVersioningStoreInterface. 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 void
HibernateAttachmentVersioningStore. deleteArchive(XWikiAttachment attachment, XWikiContext context, boolean bTransaction)
void
HibernateAttachmentRecycleBinStore. 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)
DeletedAttachment
HibernateAttachmentRecycleBinStore. getDeletedAttachment(long index, XWikiContext context, boolean bTransaction)
XWikiAttachmentArchive
HibernateAttachmentVersioningStore. loadArchive(XWikiAttachment attachment, XWikiContext context, boolean bTransaction)
XWikiAttachment
HibernateAttachmentRecycleBinStore. restoreFromRecycleBin(XWikiAttachment attachment, long index, XWikiContext inputxcontext, boolean bTransaction)
void
HibernateAttachmentVersioningStore. saveArchive(XWikiAttachmentArchive archive, XWikiContext context, boolean bTransaction)
void
HibernateAttachmentRecycleBinStore. 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 void
AbstractDropNotNullDataMigration. hibernateMigrate()
protected abstract void
AbstractHibernateDataMigration. hibernateMigrate()
Execute the migration itself.protected void
AbstractResizeMigration. hibernateMigrate()
void
LegacyDataMigration. hibernateMigrate()
protected void
R1008010XWIKI10092DataMigration. hibernateMigrate()
protected void
R1138000XWIKI16709DataMigration. hibernateMigrate()
protected void
R130200000XWIKI17200DataMigration. hibernateMigrate()
protected void
R140000000XWIKI19125DataMigration. hibernateMigrate()
protected void
R140200000XWIKI19352DataMigration. hibernateMigrate()
protected void
R140600000XWIKI19869DataMigration. hibernateMigrate()
void
R15428XWIKI2977DataMigration. hibernateMigrate()
void
R35100XWIKI7564DataMigration. hibernateMigrate()
void
R35101XWIKI7645DataMigration. hibernateMigrate()
void
R35102XWIKI7771DataMigration. hibernateMigrate()
void
R40000XWIKI6990DataMigration. hibernateMigrate()
void
R42000XWIKI7726DataMigration. hibernateMigrate()
void
R43000XWIKI6691DataMigration. hibernateMigrate()
void
R4340XWIKI883DataMigration. hibernateMigrate()
void
R4359XWIKI1459DataMigration. hibernateMigrate()
void
R54600TranslationDataMigration. hibernateMigrate()
void
R6079XWIKI1878DataMigration. hibernateMigrate()
void
R72000XWIKI12153DataMigration. hibernateMigrate()
void
R72001XWIKI12228DataMigration. hibernateMigrate()
void
R73000XWIKI12277DataMigration. hibernateMigrate()
void
R7350XWIKI2079DataMigration. hibernateMigrate()
void
R90000XWIKI13474DataMigration. 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 void
XWikiGroupService. addUserToGroup(String user, String database, String group, XWikiContext context)
Deprecated.should never be used ! There is a listener taking care of that automatically.Principal
XWikiAuthService. authenticate(String username, String password, XWikiContext context)
boolean
XWikiRightService. 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).XWikiUser
XWikiAuthService. checkAuth(XWikiContext context)
XWikiUser
XWikiAuthService. checkAuth(String username, String password, String rememberme, XWikiContext context)
Authenticates the user.int
XWikiGroupService. countAllGroupsNamesForMember(String member, XWikiContext context)
Return the number of groups containing provided member.int
XWikiGroupService. countAllMatchedGroups(Object[][] matchFields, XWikiContext context)
Return number of groups with provided constraints.default int
XWikiGroupService. countAllMatchedMembersNamesForGroup(String group, String filter, XWikiContext xcontext)
Filters the members of the specified group using the given text and counts the results.int
XWikiGroupService. countAllMatchedUsers(Object[][] matchFields, XWikiContext context)
Return number of users with provided constraints.int
XWikiGroupService. 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.boolean
XWikiRightService. hasAccessLevel(String right, String username, String docname, XWikiContext context)
void
XWikiGroupService. init(XWiki xwiki, XWikiContext context)
void
XWikiGroupService. initCache(int iCapacity, XWikiContext context)
Deprecated.since 10.8RC1, use GroupManager component insteadvoid
XWikiGroupService. initCache(XWikiContext context)
Deprecated.since 10.8RC1, use GroupManager component insteadboolean
XWikiUser. 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)
void
XWikiGroupService. removeUserOrGroupFromAllGroups(String userOrGroupWiki, String userOrGroupSpace, String userOrGroupName, XWikiContext context)
Remove user or group name from all groups.default void
XWikiGroupService. replaceMemberInAllGroups(DocumentReference memberSource, DocumentReference memberTarget, XWikiContext context)
Replace a given member reference by another one in all groups of the wiki.void
XWikiAuthService. 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 void
XWikiGroupServiceImpl. addUserToGroup(String username, String database, String group, XWikiContext context)
Deprecated.Principal
GroovyAuthServiceImpl. authenticate(String username, String password, XWikiContext context)
static Principal
MyBasicAuthenticator. authenticate(String username, String password, XWikiContext context)
static Principal
MyFormAuthenticator. authenticate(String username, String password, XWikiContext context)
Principal
XWikiAuthServiceImpl. authenticate(String username, String password, XWikiContext context)
boolean
XWikiRightServiceImpl. checkAccess(String action, XWikiDocument doc, XWikiContext context)
Deprecated.XWikiUser
AppServerTrustedAuthServiceImpl. checkAuth(XWikiContext context)
XWikiUser
AppServerTrustedAuthServiceImpl. checkAuth(String username, String password, String rememberme, XWikiContext context)
We cannot authenticate locally since we need to trust the app server for authentication.XWikiUser
AppServerTrustedKerberosAuthServiceImpl. checkAuth(XWikiContext context)
XWikiUser
AppServerTrustedKerberosAuthServiceImpl. checkAuth(String username, String password, String rememberme, XWikiContext context)
XWikiUser
GroovyAuthServiceImpl. checkAuth(XWikiContext context)
XWikiUser
GroovyAuthServiceImpl. checkAuth(String username, String password, String rememberme, XWikiContext context)
XWikiUser
XWikiAuthServiceImpl. checkAuth(XWikiContext context)
XWikiUser
XWikiAuthServiceImpl. checkAuth(String username, String password, String rememberme, XWikiContext context)
Method to authenticate and set the cookie from a username and password passed as parametersprotected boolean
XWikiAuthServiceImpl. checkPassword(String username, String password, XWikiContext context)
boolean
XWikiRightServiceImpl. checkRight(String userOrGroupName, XWikiDocument doc, String accessLevel, boolean user, boolean allow, boolean global, XWikiContext context)
Deprecated.int
XWikiGroupServiceImpl. countAllGroupsNamesForMember(String member, XWikiContext context)
int
XWikiGroupServiceImpl. countAllMatchedGroups(Object[][] matchFields, XWikiContext context)
int
XWikiGroupServiceImpl. countAllMatchedMembersNamesForGroup(String group, String filter, XWikiContext xcontext)
int
XWikiGroupServiceImpl. countAllMatchedUsers(Object[][] matchFields, XWikiContext context)
protected int
XWikiGroupServiceImpl. countAllMatchedUsersOrGroups(boolean user, Object[][] matchFields, XWikiContext context)
Return number of users or groups with provided constraints.int
XWikiGroupServiceImpl. countAllMembersNamesForGroup(String group, XWikiContext context)
protected String
XWikiAuthServiceImpl. createUser(String user, XWikiContext context)
protected String
XWikiAuthServiceImpl. 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 XWikiAuthenticator
XWikiAuthServiceImpl. getAuthenticator(XWikiContext context)
boolean
XWikiRightServiceImpl. hasAccessLevel(String accessLevel, String userOrGroupName, String entityReference, boolean user, XWikiContext context)
Deprecated.boolean
XWikiRightServiceImpl. hasAccessLevel(String right, String username, String docname, XWikiContext context)
Deprecated.void
XWikiGroupServiceImpl. init(XWiki xwiki, XWikiContext context)
void
XWikiGroupServiceImpl. initCache(int iCapacity, XWikiContext context)
void
XWikiGroupServiceImpl. 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.void
XWikiGroupServiceImpl. removeUserOrGroupFromAllGroups(String memberWiki, String memberSpace, String memberName, XWikiContext context)
void
XWikiGroupServiceImpl. replaceMemberInAllGroups(DocumentReference memberSourceReference, DocumentReference memberTargetReference, XWikiContext context)
void
GroovyAuthServiceImpl. showLogin(XWikiContext context)
void
XWikiAuthServiceImpl. 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 String
Util. 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 boolean
AbstractPropChangeAction. action(XWikiContext context)
Tries to change the specified property, and redirect back to the class editor (or the specifiedxredirect
location).boolean
CancelAction. action(XWikiContext context)
boolean
CommentAddAction. action(XWikiContext context)
boolean
CommentSaveAction. action(XWikiContext context)
boolean
DeleteAction. action(XWikiContext context)
boolean
DeleteAttachmentAction. action(XWikiContext context)
boolean
DeleteVersionsAction. action(XWikiContext context)
boolean
GetAction. action(XWikiContext context)
boolean
LockAction. action(XWikiContext context)
boolean
LoginAction. action(XWikiContext context)
boolean
LoginErrorAction. action(XWikiContext context)
boolean
LoginSubmitAction. action(XWikiContext context)
boolean
LogoutAction. action(XWikiContext context)
boolean
ObjectAddAction. action(XWikiContext context)
boolean
ObjectRemoveAction. action(XWikiContext context)
boolean
ObjectsSynchronizeAction. action(XWikiContext context)
boolean
PreviewAction. action(XWikiContext context)
boolean
PropAddAction. action(XWikiContext context)
boolean
PropUpdateAction. action(XWikiContext context)
boolean
RedirectAction. action(XWikiContext context)
boolean
RegisterAction. action(XWikiContext context)
boolean
ResetVersionsAction. action(XWikiContext context)
boolean
RollbackAction. action(XWikiContext context)
boolean
SaveAction. action(XWikiContext context)
boolean
SaveAndContinueAction. action(XWikiContext context)
boolean
SkinAction. action(XWikiContext context)
boolean
UndeleteAction. action(XWikiContext context)
boolean
UploadAction. action(XWikiContext context)
boolean
XWikiAction. action(XWikiContext context)
protected void
XWikiAction. answerJSON(XWikiContext context, int status, Map<String,String> answer)
Answer to a request with a JSON content.abstract void
AbstractPropChangeAction. changePropertyDefinition(BaseClass xclass, String propertyName, XWikiContext context)
The method which does the actual modification of the property definition.void
PropDeleteAction. changePropertyDefinition(BaseClass xclass, String propertyName, XWikiContext context)
void
PropDisableAction. changePropertyDefinition(BaseClass xclass, String propertyName, XWikiContext context)
void
PropEnableAction. changePropertyDefinition(BaseClass xclass, String propertyName, XWikiContext context)
protected boolean
XWikiAction. csrfTokenCheck(XWikiContext context)
Perform CSRF check and redirect to the resubmission page if needed.protected boolean
XWikiAction. csrfTokenCheck(XWikiContext context, boolean jsonAnswer)
Perform CSRF check and redirect to the resubmission page if needed.protected boolean
DeleteAction. delete(XWikiContext context)
protected boolean
DeleteSpaceAction. delete(XWikiContext context)
protected boolean
DeleteAction. deleteDocument(EntityReference entityReference, XWikiContext context, boolean shouldSkipRecycleBin, DocumentReference newBacklinkTarget, boolean updateLinks, boolean autoRedirect)
Create a job to delete an entity.XWikiAttachment
XWikiServletURLFactory. findAttachmentForDocRevision(XWikiDocument doc, String docRevision, String filename, XWikiContext context)
long
XWikiServletURLFactory. 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 String
UploadAction. getFileName(String fieldName, FileUploadPlugin fileupload, XWikiContext context)
Extract the corresponding attachment name for a given file field.protected XWikiDocument
XWikiAction. getTranslatedDocument(XWikiDocument doc, String language, XWikiContext context)
Gets the translated version of a document, in the specified language.protected void
XWikiAction. handleRevision(XWikiContext context)
protected void
CommentAddAction. handleTemporaryUploadedFiles(XWikiDocument document, XWikiRequest request)
protected XWikiContext
XWikiAction. initializeXWikiContext(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse)
protected XWikiContext
XWikiAction. initializeXWikiContext(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse, XWikiForm form)
static void
Utils. parseTemplate(String template, boolean write, XWikiContext context)
Generate the response by parsing a velocity template and (optionally) printing the result to theResponse
.static void
Utils. parseTemplate(String template, XWikiContext context)
Generate the response by parsing a velocity template and printing the result to theResponse
.static XWikiContext
Utils. prepareContext(String action, XWikiRequest request, XWikiResponse response, XWikiEngineContext engine_context)
protected XWikiDocument
EditAction. 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.void
CreateActionRequestHandler. processRequest()
Process the request and extract from the given parameters the data needed to create the new document.boolean
PropUpdateAction. propUpdate(XWikiContext context)
protected boolean
XWikiAction. readFromTemplate(XWikiDocument document, String template, XWikiContext context)
Helper used by various actions to initialize a document by copying a template to it.String
AbstractPropChangeAction. render(XWikiContext context)
String
AdminAction. render(XWikiContext context)
String
AttachAction. render(XWikiContext context)
String
CommentAddAction. render(XWikiContext context)
String
CreateAction. render(XWikiContext context)
String
DeleteAction. render(XWikiContext context)
String
DeleteSpaceAction. render(XWikiContext context)
String
DeleteVersionsAction. render(XWikiContext context)
String
DownloadAction. render(XWikiContext context)
String
DownloadRevAction. render(XWikiContext context)
String
EditAction. render(XWikiContext context)
String
ExportAction. render(XWikiContext context)
String
GetAction. render(XWikiContext context)
String
ImportAction. render(XWikiContext context)
String
LoginAction. render(XWikiContext context)
String
LoginErrorAction. render(XWikiContext context)
String
LoginSubmitAction. render(XWikiContext context)
String
ObjectRemoveAction. render(XWikiContext context)
String
ObjectsSynchronizeAction. render(XWikiContext context)
String
PreviewAction. render(XWikiContext context)
String
PropAddAction. render(XWikiContext context)
String
PropUpdateAction. render(XWikiContext context)
String
RegisterAction. render(XWikiContext context)
String
ResetVersionsAction. render(
-