Modifier and Type | Method and Description |
---|---|
protected void |
XWiki.addUserToGroup(String userName,
String groupName,
XWikiContext context) |
boolean |
XWiki.checkAccess(String action,
XWikiDocument doc,
XWikiContext context) |
int |
XWiki.checkActive(String user,
XWikiContext context) |
int |
XWiki.checkActive(XWikiContext context) |
XWikiUser |
XWiki.checkAuth(XWikiContext context) |
boolean |
XWiki.copyDocument(DocumentReference sourceDocumentReference,
DocumentReference targetDocumentReference,
boolean reset,
boolean force,
boolean resetCreationData,
XWikiContext context) |
boolean |
XWiki.copyDocument(DocumentReference sourceDocumentReference,
DocumentReference targetDocumentReference,
boolean reset,
XWikiContext context) |
boolean |
XWiki.copyDocument(DocumentReference sourceDocumentReference,
DocumentReference targetDocumentReference,
String wikilanguage,
boolean reset,
boolean force,
boolean resetCreationData,
XWikiContext context) |
boolean |
XWiki.copyDocument(DocumentReference sourceDocumentReference,
DocumentReference targetDocumentReference,
String wikilanguage,
boolean reset,
boolean force,
XWikiContext context) |
boolean |
XWiki.copyDocument(DocumentReference sourceDocumentReference,
DocumentReference targetDocumentReference,
String wikilanguage,
boolean reset,
XWikiContext context) |
boolean |
XWiki.copyDocument(DocumentReference sourceDocumentReference,
DocumentReference targetDocumentReference,
String wikilanguage,
XWikiContext context) |
boolean |
XWiki.copyDocument(DocumentReference sourceDocumentReference,
DocumentReference targetDocumentReference,
XWikiContext context) |
int |
XWiki.copySpaceBetweenWikis(String space,
String sourceWiki,
String targetWiki,
String language,
boolean clean,
XWikiContext context) |
int |
XWiki.copySpaceBetweenWikis(String space,
String sourceWiki,
String targetWiki,
String language,
XWikiContext context) |
int |
XWiki.copyWiki(String sourceWiki,
String targetWiki,
String language,
boolean clean,
XWikiContext context)
Deprecated.
since 5.3, use
WikiManager.copy(String, String, String, boolean, boolean, boolean) instead |
int |
XWiki.copyWiki(String sourceWiki,
String targetWiki,
String language,
XWikiContext context)
Deprecated.
since 5.3, use
WikiManager.copy(String, String, String, boolean, boolean, boolean) instead |
int |
XWiki.countAttachments(String parametrizedSqlClause,
List<?> parameterValues,
XWikiContext context)
Count attachments returned by a given parameterized query
|
protected Object |
XWiki.createClassFromConfig(String param,
String defClass,
XWikiContext context) |
boolean |
XWiki.createEmptyUser(String xwikiname,
String userRights,
XWikiContext context)
Method allows to create an empty user with no password (he won't be able to login) This method is usefull for
authentication like LDAP or App Server trusted
|
int |
XWiki.createUser(boolean withValidation,
String userRights,
XWikiContext context) |
int |
XWiki.createUser(String userName,
Map<String,?> map,
EntityReference parentReference,
String content,
org.xwiki.rendering.syntax.Syntax syntax,
String userRights,
XWikiContext context)
Create a new user.
|
int |
XWiki.createUser(String userName,
Map<String,?> map,
String parent,
String content,
String syntaxId,
String userRights,
XWikiContext context)
Deprecated.
since 2.4RC1 use
XWiki.createUser(String, Map, EntityReference, String, Syntax, String, XWikiContext) instead |
int |
XWiki.createUser(String xwikiname,
Map<String,?> map,
String parent,
String content,
String userRights,
XWikiContext context)
Deprecated.
starting with XE 1.8.1 use
XWiki.createUser(String, Map, String, String, String, String, XWikiContext) instead |
int |
XWiki.createUser(String userName,
Map<String,?> map,
String userRights,
XWikiContext context)
Create a new user.
|
int |
XWiki.createUser(String userName,
Map<String,?> map,
XWikiContext context)
Create a new user.
|
int |
XWiki.createUser(XWikiContext context) |
void |
XWiki.deleteAllDocuments(XWikiDocument doc,
boolean toTrash,
XWikiContext context) |
void |
XWiki.deleteAllDocuments(XWikiDocument doc,
XWikiContext context) |
void |
XWiki.deleteDocument(XWikiDocument doc,
boolean totrash,
XWikiContext context) |
void |
XWiki.deleteDocument(XWikiDocument doc,
XWikiContext context) |
String |
XWiki.getAttachmentURL(String fullname,
String filename,
String queryString,
XWikiContext context) |
String |
XWiki.getAttachmentURL(String fullname,
String filename,
XWikiContext context) |
BaseClass |
XWiki.getClass(String fullName,
XWikiContext context)
Deprecated.
since 2.2M2 use
XWiki.getXClass(DocumentReference, XWikiContext) |
List<String> |
XWiki.getClassList(XWikiContext context) |
BaseClass |
XWiki.getCommentsClass(XWikiContext context) |
DeletedAttachment |
XWiki.getDeletedAttachment(String id,
XWikiContext context)
Retrieve a specific attachment from the trash.
|
List<DeletedAttachment> |
XWiki.getDeletedAttachments(String docName,
String filename,
XWikiContext context)
Retrieve all the deleted attachments that belonged to a certain document and had the specified name.
|
List<DeletedAttachment> |
XWiki.getDeletedAttachments(String docName,
XWikiContext context)
Retrieve all the deleted attachments that belonged to a certain document.
|
XWikiDeletedDocument |
XWiki.getDeletedDocument(String fullname,
String lang,
int index,
XWikiContext context) |
XWikiDeletedDocument[] |
XWiki.getDeletedDocuments(String fullname,
String lang,
XWikiContext context) |
XWikiDocument |
XWiki.getDocument(DocumentReference reference,
XWikiContext context) |
XWikiDocument |
XWiki.getDocument(EntityReference reference,
XWikiContext context)
Loads a XWikiDocument from the store.
|
XWikiDocument |
XWiki.getDocument(String spaces,
String fullname,
XWikiContext context)
Deprecated.
since 2.2M1 use
XWiki.getDocument(DocumentReference, XWikiContext) instead |
XWikiDocument |
XWiki.getDocument(String fullname,
XWikiContext context)
Deprecated.
since 2.2M1 use
XWiki.getDocument(DocumentReference, XWikiContext) instead |
XWikiDocument |
XWiki.getDocument(XWikiDocument doc,
String revision,
XWikiContext context) |
XWikiDocument |
XWiki.getDocument(XWikiDocument doc,
XWikiContext context) |
BaseClass |
XWiki.getEditModeClass(XWikiContext context)
Verify if the
XWiki.EditModeClass page exists and that it contains all the required configuration
properties to make the edit mode feature work properly. |
String |
XWiki.getExternalURL(String fullname,
String action,
String querystring,
XWikiContext context) |
String |
XWiki.getExternalURL(String fullname,
String action,
XWikiContext context) |
BaseClass |
XWiki.getGlobalRightsClass(XWikiContext context) |
BaseClass |
XWiki.getGroupClass(XWikiContext context) |
XWikiGroupService |
XWiki.getGroupService(XWikiContext context) |
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 the
XWiki.XWikiPreferences page exists and that it contains all the required configuration
properties to make XWiki work properly. |
BaseClass |
XWiki.getRedirectClass(XWikiContext context)
Verify if the
XWiki.GlobalRedirect page exists and that it contains all the required configuration
properties to make the redirection feature work properly. |
static URL |
XWiki.getRequestURL(XWikiRequest request) |
BaseClass |
XWiki.getRightsClass(String pagename,
XWikiContext context) |
BaseClass |
XWiki.getRightsClass(XWikiContext context) |
BaseClass |
XWiki.getSheetClass(XWikiContext context)
Deprecated.
since 3.1M2 edit mode class should be used for this purpose, not the sheet class
|
BaseClass |
XWiki.getSkinClass(XWikiContext context) |
List<String> |
XWiki.getSpaceDocsName(String spaceReference,
XWikiContext context)
API to list all non-hidden documents in a space.
|
List<String> |
XWiki.getSpaces(XWikiContext context)
API to list all non-hidden spaces in the current wiki.
|
BaseClass |
XWiki.getTagClass(XWikiContext context)
Verify if the
XWiki.TagClass page exists and that it contains all the required configuration
properties to make the tag feature work properly. |
BaseClass |
XWiki.getUserClass(XWikiContext context)
Verify if the
XWiki.XWikiUsers page exists and that it contains all the required configuration
properties to make the user feature work properly. |
List<String> |
XWiki.getVirtualWikisDatabaseNames(XWikiContext context)
Deprecated.
since 5.3, use
WikiDescriptorManager.getAllIds() instead |
String |
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 context)
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) |
void |
XWiki.initXWiki(XWikiConfig config,
XWikiContext context,
XWikiEngineContext engine_context,
boolean noupdate)
Deprecated.
since 6.1M2, use
XWiki.initXWiki(XWikiContext, XWikiEngineContext, boolean) instead |
void |
XWiki.initXWiki(XWikiContext context,
XWikiEngineContext engine_context,
boolean noupdate) |
void |
XWikiConfig.loadConfig(InputStream is,
String path)
Deprecated.
|
Object |
XWiki.parseGroovyFromPage(String fullName,
String jarWikiPage,
XWikiContext context) |
Object |
XWiki.parseGroovyFromPage(String fullname,
XWikiContext context) |
Object |
XWiki.parseGroovyFromString(String script,
String jarWikiPage,
XWikiContext xcontext)
Privileged API to retrieve an object instantiated from groovy code in a String, using a classloader including all
JAR files located in the passed page as attachments.
|
Object |
XWiki.parseGroovyFromString(String script,
XWikiContext xcontext)
Privileged API to retrieve an object instantiated from groovy code in a String.
|
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.renamePage(String fullName,
String newFullName,
XWikiContext context) |
XWikiDocument |
XWiki.renamePage(XWikiDocument doc,
String newFullName,
XWikiContext context)
Deprecated.
use
XWikiDocument.rename(String, XWikiContext) instead |
XWikiDocument |
XWiki.renamePage(XWikiDocument doc,
XWikiContext context,
String newFullName)
Deprecated.
use
XWikiDocument.rename(String, XWikiContext) instead |
void |
XWiki.restoreFromRecycleBin(XWikiDocument doc,
long index,
String comment,
XWikiContext context)
Restore a document with passed index from recycle bin.
|
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,
XWikiContext context) |
void |
XWiki.saveDocument(XWikiDocument document,
String comment,
boolean isMinorEdit,
XWikiContext context) |
void |
XWiki.saveDocument(XWikiDocument doc,
String comment,
XWikiContext context) |
void |
XWiki.saveDocument(XWikiDocument doc,
XWikiContext context) |
<T> List<T> |
XWiki.search(String sql,
int nb,
int start,
Object[][] whereParams,
XWikiContext context) |
<T> List<T> |
XWiki.search(String sql,
int nb,
int start,
XWikiContext context) |
<T> List<T> |
XWiki.search(String sql,
Object[][] whereParams,
XWikiContext context) |
<T> List<T> |
XWiki.search(String sql,
XWikiContext context) |
List<XWikiAttachment> |
XWiki.searchAttachments(String parametrizedSqlClause,
boolean checkRight,
int nb,
int start,
List<?> parameterValues,
XWikiContext context)
Search attachments by passing HQL where clause values as parameters.
|
void |
XWiki.sendConfirmationEmail(String xwikiname,
String password,
String email,
String message,
String contentfield,
XWikiContext context) |
void |
XWiki.sendValidationEmail(String xwikiname,
String password,
String email,
String addfieldname,
String addfieldvalue,
String contentfield,
XWikiContext context) |
void |
XWiki.sendValidationEmail(String xwikiname,
String password,
String email,
String validkey,
String contentfield,
XWikiContext context) |
void |
XWiki.setUserDefaultGroup(String fullwikiname,
XWikiContext context) |
void |
XWiki.updateDatabase(String wikiName,
boolean force,
boolean initClasses,
XWikiContext context) |
void |
XWiki.updateDatabase(String wikiName,
boolean force,
XWikiContext context) |
void |
XWiki.updateDatabase(String wikiName,
XWikiContext context) |
boolean |
XWiki.validateDocument(XWikiDocument doc,
XWikiContext context) |
int |
XWiki.validateUser(boolean withConfirmEmail,
XWikiContext context) |
Constructor and Description |
---|
XWiki(InputStream is,
XWikiContext context,
XWikiEngineContext engine_context)
Deprecated.
|
XWiki(String xwikicfgpath,
XWikiContext context)
Deprecated.
use
XWiki.XWiki(XWikiContext) instead |
XWiki(String xwikicfgpath,
XWikiContext context,
XWikiEngineContext engine_context,
boolean noupdate)
Deprecated.
|
XWiki(XWikiConfig config,
XWikiContext context)
Deprecated.
since 6.1M3, use
XWiki.XWiki(XWikiContext) instead |
XWiki(XWikiConfig config,
XWikiContext context,
XWikiEngineContext engine_context,
boolean noupdate)
Deprecated.
since 6.1M3, use
XWiki.XWiki(XWikiContext, XWikiEngineContext, boolean) instead |
XWiki(XWikiContext context) |
XWiki(XWikiContext context,
XWikiEngineContext engine_context,
boolean noupdate) |
XWikiConfig(InputStream is)
Deprecated.
|
XWikiConfig(String path)
Deprecated.
|
Modifier and Type | Method and 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.XWikiAllGroup
|
XWikiUser |
XWiki.checkAuth()
Check authentication from request and set according persitent login information If it fails user is unlogged
|
XWikiUser |
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
unlogged
|
boolean |
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(DocumentReference sourceDocumentReference,
DocumentReference targetDocumentReference,
String wikilanguage,
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 document
|
boolean |
XWiki.copyDocument(String docname,
String targetdocname)
API to copy a document to another document in the same wiki
|
boolean |
XWiki.copyDocument(String docname,
String targetdocname,
String wikilanguage)
API to copy a translation of a document to another document in the same wiki
|
boolean |
XWiki.copyDocument(String docname,
String sourceWiki,
String targetWiki,
String wikilanguage)
API to copy a translation of a document to another document of the same name in another wiki
|
boolean |
XWiki.copyDocument(String docname,
String targetdocname,
String sourceWiki,
String targetWiki,
String wikilanguage,
boolean reset)
API to copy a translation of a document to another document of the same name in another wiki additionally
resetting the version
|
boolean |
XWiki.copyDocument(String docname,
String targetdocname,
String sourceWiki,
String targetWiki,
String wikilanguage,
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 document
|
int |
XWiki.copySpaceBetweenWikis(String space,
String sourceWiki,
String targetWiki,
String language,
boolean clean)
Privileged API to copy a space to another wiki, optionally deleting all document of the target space
|
int |
XWiki.countAttachments(String parametrizedSqlClause,
List<?> parameterValues)
Count attachments returned by a given parameterized query
|
int |
Document.createNewObject(String classname)
Creates a New XWiki Object of the given classname
|
int |
XWiki.createUser()
Privileged API to create a new user from the request This API is used by RegisterNewUser wiki page
|
int |
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 Preferences
|
int |
XWiki.createUser(boolean withValidation,
String userRights)
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 Preferences
|
void |
Document.delete() |
void |
DeletedAttachment.delete()
Permanently delete this attachment from the trash.
|
void |
Document.deleteAsAuthor()
Delete the document if the
content 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.displayRendered(PropertyClass pclass,
String prefix,
Collection object) |
boolean |
XWiki.exists(DocumentReference reference)
Returns whether a document exists or not
|
boolean |
XWiki.exists(String fullname)
Returns whether a document 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
environement (Servlet, Portlet, PDF, etc..) The URL generation can be modified by implementing a new
XWikiURLFactory object For compatibility with any target environement (and especially the portlet environment) It
is important to always use the URL functions to generate URL and never hardcode URLs
|
List<String> |
Document.getBacklinks() |
List<String> |
Document.getChildren()
Get document children.
|
List<String> |
Document.getChildren(int nb,
int start)
Get document children.
|
Class |
XWiki.getClass(String documentName)
Get the XWiki Class object defined in the passed Document name.
|
List<String> |
XWiki.getClassList()
Get the list of available classes in the wiki
|
byte[] |
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() |
String |
Document.getDefaultEditURL() |
DeletedDocument |
XWiki.getDeletedDocument(String fullname,
String lang,
String index) |
List<DeletedDocument> |
XWiki.getDeletedDocuments(String fullname,
String lang) |
Document |
XWiki.getDocument(DocumentReference reference)
Loads a Document from the database.
|
Document |
XWiki.getDocument(Document doc,
String rev)
Load a specific revision of a document
|
Document |
XWiki.getDocument(EntityReference reference)
Loads a Document from the store.
|
Document |
XWiki.getDocument(String fullName)
Loads an Document from the database.
|
Document |
XWiki.getDocument(String space,
String fullname)
Loads an Document from the database.
|
XWikiDocumentArchive |
Document.getDocumentArchive()
Get the archive of this document's history.
|
Document |
XWiki.getDocumentAsAuthor(DocumentReference reference)
Loads an Document from the database.
|
Document |
XWiki.getDocumentAsAuthor(String fullName)
Loads an Document from the database.
|
String |
Document.getEditURL(String action,
String mode) |
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") calls
|
String |
Document.getParentURL() |
Document |
Document.getPreviousDocument()
Allow to easily access the previous revision of a document
|
String |
Document.getRealLanguage()
Gets the real language of the document.
|
String[] |
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(String text)
Deprecated.
since 1.6M1 use
Document.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 velocity
|
String |
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)
API to list all non-hidden documents in a space.
|
List<String> |
XWiki.getSpaces()
API to list all non-hidden spaces in the current wiki.
|
String |
Document.getTranslatedContent() |
String |
Document.getTranslatedContent(String language) |
Document |
Document.getTranslatedDocument() |
Document |
Document.getTranslatedDocument(String language) |
List<String> |
Document.getTranslationList() |
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
environement (Servlet, Portlet, PDF, etc..) The URL generation can be modified by implementing a new
XWikiURLFactory object For compatibility with any target environement (and especially the portlet environment) It
is important to always use the URL functions to generate URL and never hardcode URLs
|
String |
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)
API to retrieve the URL of an an entity in view mode The URL is generated differently depending on the
environement (Servlet, Portlet, PDF, etc..) The URL generation can be modified by implementing a new
XWikiURLFactory object For compatibility with any target environement (and especially the portlet environment) It
is important to always use the URL functions to generate URL and never hardcode URLs
|
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.
|
String |
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
environement (Servlet, Portlet, PDF, etc..) The URL generation can be modified by implementing a new
XWikiURLFactory object For compatibility with any target environement (and especially the portlet environment) It
is important to always use the URL functions to generate URL and never hardcode URLs
|
String |
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.
|
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 Preferences
|
boolean |
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 itself
|
String |
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 classname
|
Object |
XWiki.parseGroovyFromPage(String fullname)
Privileged API to retrieve an object instanciated from groovy code in a String Groovy scripts compilation is
cached
|
Object |
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 run
|
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 as
Document.rename(String, List) but the list of documents having the current document as their parent is
passed in parameter. |
void |
Document.rename(String newDocumentName)
Rename the current document and all the backlinks leading to it.
|
void |
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 as
Document.rename(String, List) but the list of documents having the current document as their parent is
passed in parameter. |
void |
Document.save() |
void |
Document.save(String comment) |
void |
Document.save(String comment,
boolean minorEdit) |
void |
Document.saveAsAuthor()
Save the document if the
content author of the script calling this method has
permission to do so. |
void |
Document.saveAsAuthor(String comment)
Save the document if the
content author of the script calling this method has
permission to do so. |
void |
Document.saveAsAuthor(String comment,
boolean minorEdit)
Save the document if the
content 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 instead
|
List<Document> |
XWiki.searchDocuments(String wheresql,
boolean distinctbylanguage)
API allowing to search for documents allowing to have mutliple entries per language
|
List<Document> |
XWiki.searchDocuments(String wheresql,
boolean distinctbylanguage,
int nb,
int start)
API allowing to search for documents allowing to have multiple entries per language
|
List<String> |
XWiki.searchDocuments(String wheresql,
int nb,
int start)
Deprecated.
use query service instead
|
List<String> |
XWiki.searchDocuments(String parameterizedWhereClause,
int maxResults,
int startOffset,
List<?> parameterValues)
Deprecated.
use query service instead
|
List<String> |
XWiki.searchDocuments(String wheresql,
int nb,
int start,
String selectColumns)
Deprecated.
use query service instead
|
List<String> |
XWiki.searchDocuments(String parameterizedWhereClause,
List<?> parameterValues)
Deprecated.
use query service instead
|
List<String> |
XWiki.searchDocumentsNames(String wikiName,
String parameterizedWhereClause,
int maxResults,
int startOffset,
List<?> parameterValues)
Deprecated.
use query service instead
|
List<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 user
|
void |
XWiki.sendConfirmationMail(String xwikiname,
String password,
String email,
String add_message,
String contentfield)
Privileged API to send a confirmation email to a user
|
void |
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
|
Modifier and Type | Method and Description |
---|---|
XWikiAttachment |
XWikiDocument.addAttachment(String fileName,
byte[] content,
XWikiContext context)
Deprecated.
|
XWikiAttachment |
XWikiDocument.addAttachment(String fileName,
InputStream content,
XWikiContext context) |
BaseObject |
XWikiDocument.addObjectFromRequest(String className,
int num,
XWikiContext context)
Deprecated.
|
BaseObject |
XWikiDocument.addObjectFromRequest(String className,
String prefix,
int num,
XWikiContext context)
Deprecated.
|
BaseObject |
XWikiDocument.addObjectFromRequest(String className,
String prefix,
XWikiContext context)
Deprecated.
|
BaseObject |
XWikiDocument.addObjectFromRequest(String className,
XWikiContext context)
Deprecated.
|
List<BaseObject> |
XWikiDocument.addObjectsFromRequest(String className,
String pref,
XWikiContext context)
Deprecated.
|
List<BaseObject> |
XWikiDocument.addObjectsFromRequest(String className,
XWikiContext context)
Deprecated.
|
void |
XWikiDocument.addToZip(ZipOutputStream zos,
boolean withVersions,
XWikiContext context)
Deprecated.
since 4.2M2
|
void |
XWikiDocument.addToZip(ZipOutputStream zos,
String zipname,
boolean withVersions,
XWikiContext context)
Deprecated.
since 4.1M2
|
void |
XWikiDocument.addToZip(ZipOutputStream zos,
XWikiContext context)
Deprecated.
since 4.1M2
|
BaseObject |
XWikiDocument.addXObjectFromRequest(DocumentReference classReference,
int num,
XWikiContext context)
Adds object from an new object creation form.
|
BaseObject |
XWikiDocument.addXObjectFromRequest(DocumentReference classReference,
String prefix,
XWikiContext context)
Adds an object from an new object creation form.
|
BaseObject |
XWikiDocument.addXObjectFromRequest(EntityReference classReference,
String prefix,
int num,
XWikiContext context)
Adds object from an new object creation form.
|
BaseObject |
XWikiDocument.addXObjectFromRequest(EntityReference classReference,
XWikiContext context)
Adds an object from an new object creation form.
|
BaseObject |
XWikiDocument.addXObjectFromRequest(XWikiContext context)
Adds an object from an new object creation form.
|
List<BaseObject> |
XWikiDocument.addXObjectsFromRequest(DocumentReference classReference,
String pref,
XWikiContext context)
Adds multiple objects from an new objects creation form.
|
List<BaseObject> |
XWikiDocument.addXObjectsFromRequest(DocumentReference classReference,
XWikiContext context)
Adds multiple objects from an new objects creation form.
|
XWikiDocumentArchive |
XWikiDocumentArchive.clone(long docId,
XWikiContext context) |
void |
XWikiDocument.convertSyntax(String targetSyntaxId,
XWikiContext context)
Convert the current document content from its current syntax to the new syntax passed as parameter.
|
void |
XWikiDocument.convertSyntax(org.xwiki.rendering.syntax.Syntax targetSyntax,
XWikiContext context)
Convert the current document content from its current syntax to the new syntax passed as parameter.
|
XWikiDocument |
XWikiDocument.copyDocument(DocumentReference newDocumentReference,
XWikiContext context) |
XWikiDocument |
XWikiDocument.copyDocument(String newDocumentName,
XWikiContext context)
Deprecated.
since 2.2M1 use
XWikiDocument.copyDocument(DocumentReference, XWikiContext) instead |
int |
XWikiDocument.createNewObject(String className,
XWikiContext context)
Deprecated.
since 2.2M1 use
XWikiDocument.createXObject(EntityReference, XWikiContext) instead |
int |
XWikiDocument.createXObject(EntityReference classReference,
XWikiContext context)
Create and add a new object to the document with the provided class.
|
String |
XWikiDocument.displayRendered(PropertyClass pclass,
String prefix,
BaseCollection object,
XWikiContext context) |
boolean |
XWikiAttachment.equalsData(XWikiAttachment otherAttachment,
XWikiContext xcontext) |
void |
XWikiDocument.fromXML(org.dom4j.Document domdoc,
boolean withArchive) |
void |
XWikiAttachment.fromXML(org.dom4j.Element docel) |
void |
XWikiDocument.fromXML(InputStream is) |
void |
XWikiDocument.fromXML(InputStream in,
boolean withArchive) |
void |
XWikiDocument.fromXML(String xml) |
void |
XWikiAttachment.fromXML(String data) |
void |
XWikiDocument.fromXML(String xml,
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.
|
XWikiAttachment |
XWikiAttachment.getAttachmentRevision(String rev,
XWikiContext context) |
List<String> |
XWikiDocument.getBackLinkedPages(XWikiContext context)
Deprecated.
since 2.2M2 use
XWikiDocument.getBackLinkedReferences(XWikiContext) |
List<DocumentReference> |
XWikiDocument.getBackLinkedReferences(XWikiContext context)
Get the wiki document references pointing to this document.
|
List<String> |
XWikiDocument.getChildren(int nb,
int start,
XWikiContext context)
Deprecated.
since 2.2M2 use
XWikiDocument.getChildrenReferences(XWikiContext) |
List<String> |
XWikiDocument.getChildren(XWikiContext context)
Deprecated.
since 2.2M2 use
XWikiDocument.getChildrenReferences(XWikiContext) |
List<DocumentReference> |
XWikiDocument.getChildrenReferences(int nb,
int start,
XWikiContext context)
Returns a list of references of all documents which list this document as their parent, in the current wiki.
|
List<DocumentReference> |
XWikiDocument.getChildrenReferences(XWikiContext context)
Returns a list of references of all documents which list this document as their parent, in the current wiki.
|
byte[] |
XWikiAttachment.getContent(XWikiContext context)
Deprecated.
|
List<org.suigeneris.jrcs.diff.delta.Delta> |
XWikiDocument.getContentDiff(String fromRev,
String toRev,
XWikiContext context) |
List<org.suigeneris.jrcs.diff.delta.Delta> |
XWikiDocument.getContentDiff(String fromRev,
XWikiContext context) |
List<org.suigeneris.jrcs.diff.delta.Delta> |
XWikiDocument.getContentDiff(XWikiDocument fromDoc,
XWikiDocument toDoc,
XWikiContext context) |
InputStream |
XWikiAttachment.getContentInputStream(XWikiContext context)
Retrieve the content of this attachment as an input stream.
|
String |
XWikiDocument.getContentOfSection(int sectionNumber)
Return the content of a section.
|
int |
XWikiAttachment.getContentSize(XWikiContext context) |
String |
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(String fromRev,
String toRev,
XWikiContext context) |
List<MetaDataDiff> |
XWikiDocument.getMetaDataDiff(String fromRev,
XWikiContext context) |
List<MetaDataDiff> |
XWikiDocument.getMetaDataDiff(XWikiDocument fromDoc,
XWikiDocument toDoc,
XWikiContext context) |
List<List<ObjectDiff>> |
XWikiDocument.getObjectDiff(String fromRev,
String toRev,
XWikiContext context) |
List<List<ObjectDiff>> |
XWikiDocument.getObjectDiff(String fromRev,
XWikiContext context) |
String |
XWikiDocument.getParentURL(XWikiContext context) |
String |
XWikiDocument.getRealLanguage(XWikiContext context)
Deprecated.
since 4.3M1 use
XWikiDocument.getRealLocale() instead |
String[] |
XWikiDocument.getRecentRevisions(int nb,
XWikiContext context) |
String |
XWikiDocument.getRenderedContent(org.xwiki.rendering.syntax.Syntax targetSyntax,
boolean isolateVelocityMacros,
XWikiContext context) |
String |
XWikiDocument.getRenderedContent(org.xwiki.rendering.syntax.Syntax targetSyntax,
XWikiContext context) |
String |
XWikiDocument.getRenderedContent(XWikiContext context) |
List<org.suigeneris.jrcs.diff.delta.Delta> |
XWikiDocument.getRenderedContentDiff(String fromRev,
String toRev,
XWikiContext context) |
List<org.suigeneris.jrcs.diff.delta.Delta> |
XWikiDocument.getRenderedContentDiff(String fromRev,
XWikiContext context) |
List<org.suigeneris.jrcs.diff.delta.Delta> |
XWikiDocument.getRenderedContentDiff(XWikiDocument fromDoc,
XWikiDocument toDoc,
XWikiContext context) |
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(String language,
XWikiContext context) |
String |
XWikiDocument.getTranslatedContent(XWikiContext context) |
XWikiDocument |
XWikiDocument.getTranslatedDocument(Locale locale,
XWikiContext context)
Return the document in the provided language.
|
XWikiDocument |
XWikiDocument.getTranslatedDocument(String language,
XWikiContext context)
Deprecated.
since 4.3M2 use
XWikiDocument.getTranslatedDocument(Locale, XWikiContext) insead |
XWikiDocument |
XWikiDocument.getTranslatedDocument(XWikiContext context) |
List<String> |
XWikiDocument.getTranslationList(XWikiContext context)
Deprecated.
since 5.1M2 use
XWikiDocument.getTranslationLocales(XWikiContext) instead |
List<Locale> |
XWikiDocument.getTranslationLocales(XWikiContext context)
The locales of the translation of this document (the default locale is not included).
|
Set<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) |
void |
XWikiDocument.insertText(String text,
String marker,
XWikiContext context) |
void |
LazyXWikiDocument.loadArchive(XWikiContext context) |
void |
XWikiDocument.loadArchive(XWikiContext context) |
XWikiAttachmentArchive |
XWikiAttachment.loadArchive(XWikiContext context) |
void |
XWikiDocument.loadAttachmentContent(XWikiAttachment attachment,
XWikiContext context) |
void |
XWikiDocument.loadAttachments(XWikiContext context) |
void |
XWikiDocument.loadAttachmentsContent(XWikiContext context)
Load attachment content from database.
|
void |
XWikiAttachment.loadContent(XWikiContext context) |
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.
since 2.2M2 use
XWikiDocument.newXObject(EntityReference, XWikiContext) |
BaseObject |
XWikiDocument.newXObject(EntityReference classReference,
XWikiContext context)
Create, add and return a new object with the provided class.
|
void |
XWikiDocument.readDocMetaFromForm(EditForm eform,
XWikiContext context) |
void |
XWikiDocument.readFromForm(EditForm eform,
XWikiContext context) |
void |
XWikiDocument.readFromTemplate(DocumentReference templateDocumentReference,
XWikiContext context) |
void |
XWikiDocument.readFromTemplate(EditForm eform,
XWikiContext context) |
void |
XWikiDocument.readFromTemplate(String template,
XWikiContext context)
Deprecated.
since 2.2M1 use
XWikiDocument.readFromTemplate(DocumentReference, XWikiContext) instead |
void |
XWikiDocument.readObjectsFromForm(EditForm eform,
XWikiContext context) |
void |
XWikiDocument.readObjectsFromFormUpdateOrCreate(EditForm eform,
XWikiContext context)
Create and/or update objects in a document given a list of HTTP parameters of the form
'
|
void |
XWikiDocument.readTranslationMetaFromForm(EditForm eform,
XWikiContext context) |
void |
XWikiDocument.removeLock(XWikiContext context) |
void |
XWikiDocumentArchive.removeVersions(org.suigeneris.jrcs.rcs.Version newerVersion,
org.suigeneris.jrcs.rcs.Version olderVersion,
XWikiContext context)
Remove document versions from vfrom to vto, inclusive.
|
void |
XWikiDocument.rename(DocumentReference newDocumentReference,
List<DocumentReference> backlinkDocumentReferences,
List<DocumentReference> childDocumentReferences,
XWikiContext context)
Same as
XWikiDocument.rename(DocumentReference, List, XWikiContext) but the list of documents having the current
document as their parent is passed in parameter. |
void |
XWikiDocument.rename(DocumentReference newDocumentReference,
List<DocumentReference> backlinkDocumentReferences,
XWikiContext context)
Rename the current document and all the links pointing to it in the list of passed backlink documents.
|
void |
XWikiDocument.rename(DocumentReference newDocumentReference,
XWikiContext context)
Rename the current document and all the backlinks leading to it.
|
void |
XWikiDocument.rename(String newDocumentName,
List<String> backlinkDocumentNames,
List<String> childDocumentNames,
XWikiContext context)
Deprecated.
|
void |
XWikiDocument.rename(String newDocumentName,
List<String> backlinkDocumentNames,
XWikiContext context)
Deprecated.
|
void |
XWikiDocument.rename(String newDocumentName,
XWikiContext context)
Deprecated.
since 2.2M2 use
XWikiDocument.rename(DocumentReference, XWikiContext) |
protected static String |
XWikiDocument.renderXDOM(org.xwiki.rendering.block.XDOM content,
org.xwiki.rendering.syntax.Syntax targetSyntax)
Render privided XDOM into content of the provided syntax identifier.
|
void |
XWikiDocument.resetArchive(XWikiContext context) |
XWikiAttachment |
DeletedAttachment.restoreAttachment(XWikiAttachment attachment,
XWikiContext context)
Restore a
XWikiAttachment from a DeletedAttachment . |
XWikiDocument |
XWikiDeletedDocument.restoreDocument(XWikiDocument doc,
XWikiContext context) |
void |
XWikiDocument.saveAllAttachments(boolean updateParent,
boolean transaction,
XWikiContext context) |
void |
XWikiDocument.saveAllAttachments(XWikiContext context) |
void |
XWikiDocument.saveAttachmentContent(XWikiAttachment attachment,
boolean updateParent,
boolean transaction,
XWikiContext context) |
void |
XWikiDocument.saveAttachmentContent(XWikiAttachment attachment,
XWikiContext context) |
void |
XWikiDocument.saveAttachmentsContent(List<XWikiAttachment> attachments,
XWikiContext context) |
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.
|
void |
XWikiAttachment.setArchive(String data) |
protected void |
DeletedAttachment.setAttachment(XWikiAttachment attachment,
XWikiContext context)
Export
XWikiAttachment to DeletedAttachment . |
void |
XWikiDocument.setContent(org.xwiki.rendering.block.XDOM content) |
protected void |
XWikiDeletedDocument.setDocument(XWikiDocument doc,
XWikiContext context)
export
XWikiDocument to XWikiDeletedDocument . |
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 |
XWikiDocument.toXML(boolean bWithObjects,
boolean bWithRendering,
boolean bWithAttachmentContent,
boolean bWithVersions,
XWikiContext context)
Serialize the document to an XML string.
|
org.dom4j.Element |
XWikiAttachment.toXML(boolean bWithAttachmentContent,
boolean bWithVersions,
XWikiContext context)
Retrieve XML representation of attachment's metadata into an
Element . |
void |
XWikiDocument.toXML(OutputStream out,
boolean bWithObjects,
boolean bWithRendering,
boolean bWithAttachmentContent,
boolean bWithVersions,
XWikiContext context)
Serialize the document to an OutputStream.
|
void |
XWikiDocument.toXML(com.xpn.xwiki.internal.xml.XMLWriter wr,
boolean bWithObjects,
boolean bWithRendering,
boolean bWithAttachmentContent,
boolean bWithVersions,
XWikiContext context)
Serialize the document to a
XMLWriter . |
void |
XWikiAttachment.toXML(com.xpn.xwiki.internal.xml.XMLWriter wr,
boolean bWithAttachmentContent,
boolean bWithVersions,
XWikiContext context)
Write an XML representation of the attachment into an
XMLWriter |
String |
XWikiDocument.toXML(XWikiContext context)
Retrieve the document as an XML string.
|
org.dom4j.Element |
XWikiAttachment.toXML(XWikiContext context)
Retrieve XML representation of attachment's metadata into an
Element . |
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)
Serialize the document to an XML
DOMDocument . |
org.dom4j.Document |
XWikiDocument.toXMLDocument(XWikiContext context)
Serialize the document to an XML
DOMDocument . |
void |
XWikiAttachmentArchive.updateArchive(byte[] data,
XWikiContext context)
Deprecated.
since 7.1M1, use
XWikiAttachmentArchive.updateArchive(XWikiContext) instead |
void |
XWikiAttachmentArchive.updateArchive(XWikiContext context)
Update the archive.
|
void |
XWikiDocumentArchive.updateArchive(XWikiDocument doc,
String author,
Date date,
String comment,
org.suigeneris.jrcs.rcs.Version version,
XWikiContext context)
Update history with new document version.
|
void |
XWikiAttachment.updateContentArchive(XWikiContext context) |
String |
XWikiDocument.updateDocumentSection(int sectionNumber,
String newSectionContent)
Update a section content in document.
|
BaseObject |
XWikiDocument.updateObjectFromRequest(String className,
String prefix,
int num,
XWikiContext context)
Deprecated.
|
BaseObject |
XWikiDocument.updateObjectFromRequest(String className,
String prefix,
XWikiContext context)
Deprecated.
|
BaseObject |
XWikiDocument.updateObjectFromRequest(String className,
XWikiContext context)
Deprecated.
|
List<BaseObject> |
XWikiDocument.updateObjectsFromRequest(String className,
String pref,
XWikiContext context)
Deprecated.
|
List<BaseObject> |
XWikiDocument.updateObjectsFromRequest(String className,
XWikiContext context)
Deprecated.
|
BaseObject |
XWikiDocument.updateXObjectFromRequest(EntityReference classReference,
String prefix,
int num,
XWikiContext context)
Adds an object from an new object creation form.
|
BaseObject |
XWikiDocument.updateXObjectFromRequest(EntityReference classReference,
String prefix,
XWikiContext context)
Adds an object from an new object creation form.
|
BaseObject |
XWikiDocument.updateXObjectFromRequest(EntityReference classReference,
XWikiContext context)
Adds an object from an new object creation form.
|
List<BaseObject> |
XWikiDocument.updateXObjectsFromRequest(EntityReference classReference,
String pref,
XWikiContext context)
Adds multiple objects from an new objects creation form.
|
List<BaseObject> |
XWikiDocument.updateXObjectsFromRequest(EntityReference classReference,
XWikiContext context)
Adds an object from an new object creation form.
|
boolean |
XWikiDocument.validate(String[] classNames,
XWikiContext context) |
boolean |
XWikiDocument.validate(XWikiContext context) |
Constructor and Description |
---|
DeletedAttachment(XWikiAttachment attachment,
String deleter,
Date deleteDate,
XWikiContext context)
A constructor with all the information about the deleted attachment.
|
XWikiDeletedDocument(XWikiDocument doc,
String deleter,
Date deleteDate,
XWikiContext context) |
Modifier and Type | Method and Description |
---|---|
XWikiRCSNodeContent |
XWikiRCSNodeInfo.getContent(XWikiContext context) |
void |
XWikiPatch.patch(List<String> origText)
Patch text.
|
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.setDiffVersion(String originalVersionXml,
XWikiDocument newVersion,
XWikiContext context)
Create history patch between originalVersion and newVersion as difference on the XML export of the two versions.
|
XWikiPatch |
XWikiPatch.setDiffVersion(XWikiDocument originalVersion,
XWikiDocument newVersion,
XWikiContext context)
Create history patch between originalVersion and newVersion as difference on the XML export of the two versions.
|
XWikiPatch |
XWikiPatch.setFullVersion(String versionXml)
Store the XML export of the document as the history patch; this will be a history milestone.
|
XWikiPatch |
XWikiPatch.setFullVersion(XWikiDocument version,
XWikiContext context)
Store the XML export of the document as the history patch; this will be a history milestone.
|
Constructor and Description |
---|
XWikiRCSArchive(Collection<XWikiRCSNodeInfo> nodeInfos,
XWikiContext context)
Used to serialize
XWikiDocumentArchive . |
Modifier and Type | Method and Description |
---|---|
void |
HtmlPackager.export(XWikiContext context)
Apply export and create the ZIP package.
|
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and 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(org.dom4j.Element cel) |
void |
PropertyClass.fromXML(org.dom4j.Element pcel) |
void |
BaseClass.fromXML(String xml) |
boolean |
BaseClass.isCustomMappingValid(String custommapping,
XWikiContext context) |
boolean |
BaseClass.isCustomMappingValid(XWikiContext context) |
static BaseObject |
BaseClass.newCustomClassInstance(DocumentReference classReference,
XWikiContext context) |
static BaseObject |
BaseClass.newCustomClassInstance(String className,
XWikiContext context)
Deprecated.
|
BaseObject |
BaseClass.newCustomClassInstance(XWikiContext context) |
BaseCollection |
BaseClass.newObject(XWikiContext context)
Deprecated.
|
boolean |
BaseClass.validateObject(BaseObject obj,
XWikiContext context) |
Modifier and Type | Method and Description |
---|---|
BaseCollection |
PropertyMetaClass.newObject(XWikiContext context) |
Modifier and Type | Method and Description |
---|---|
void |
PdfExport.export(XWikiDocument doc,
OutputStream out,
PdfExport.ExportType type,
XWikiContext context)
Export a wiki Document into PDF or RTF.
|
void |
PdfExport.exportHtml(String html,
OutputStream out,
PdfExport.ExportType type,
XWikiContext context)
Convert an HTML document to PDF.
|
void |
PdfExport.exportToPDF(XWikiDocument doc,
OutputStream out,
XWikiContext context)
Export a wiki Document into PDF.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
PluginException
Deprecated.
the plugin technology is deprecated, and XWikiException was a bad idea from the start
|
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
String |
DiffPlugin.getDifferencesAsHTML(String text1,
String text2)
Deprecated.
Return an html blocks representing line diffs between text1 and text2
|
String |
DiffPluginApi.getDifferencesAsHTML(String text1,
String text2)
Deprecated.
Return an html blocks representing line diffs between text1 and text2
|
String |
DiffPlugin.getDifferencesAsHTML(String text1,
String text2,
boolean allDoc)
Deprecated.
Return an html blocks representing line diffs between text1 and text2
|
String |
DiffPluginApi.getDifferencesAsHTML(String text1,
String text2,
boolean allDoc)
Deprecated.
Return an html blocks representing line diffs between text1 and text2
|
List |
DiffPlugin.getDifferencesAsList(String text1,
String text2)
Deprecated.
Return a list of Delta objects representing line differences in text1 and text2
|
List |
DiffPluginApi.getDifferencesAsList(String text1,
String text2)
Deprecated.
Return a list of Delta objects representing line differences in text1 and text2
|
String |
DiffPlugin.getWordDifferencesAsHTML(String text1,
String text2)
Deprecated.
Return an html blocks representing word diffs between text1 and text2
|
String |
DiffPluginApi.getWordDifferencesAsHTML(String text1,
String text2)
Deprecated.
Return an html blocks representing word diffs between text1 and text2
|
List |
DiffPlugin.getWordDifferencesAsList(String text1,
String text2)
Deprecated.
Return a list of Delta objects representing word differences in text1 and text2
|
List |
DiffPluginApi.getWordDifferencesAsList(String text1,
String text2)
Deprecated.
Return a list of Delta objects representing word differences in text1 and text2
|
Modifier and Type | Method and Description |
---|---|
String |
FileUploadPluginApi.getFileItem(String formfieldName)
Deprecated.
not well named, use
FileUploadPluginApi.getFileItemAsString(String) |
String |
FileUploadPlugin.getFileItem(String formfieldName,
XWikiContext context)
Deprecated.
not well named, use
FileUploadPlugin.getFileItemAsString(String, com.xpn.xwiki.XWikiContext) |
String |
FileUploadPluginApi.getFileItemAsString(String formfieldName)
Allows to retrieve the contents of an uploaded file as a string.
|
String |
FileUploadPlugin.getFileItemAsString(String formfieldName,
XWikiContext context)
Allows to retrieve the contents of an uploaded file as a string.
|
byte[] |
FileUploadPluginApi.getFileItemData(String formfieldName)
Allows to retrieve the contents of an uploaded file as a sequence of bytes.
|
byte[] |
FileUploadPlugin.getFileItemData(String formfieldName,
XWikiContext context)
Allows to retrieve the contents of an uploaded file as a sequence of bytes.
|
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.
|
void |
FileUploadPlugin.loadFileList(long uploadMaxSize,
int uploadSizeThreashold,
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.
|
Modifier and Type | Method and Description |
---|---|
int |
ImagePlugin.getHeight(XWikiAttachment attachment,
XWikiContext context)
Deprecated.
|
int |
ImagePlugin.getWidth(XWikiAttachment attachment,
XWikiContext context)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
PackageException |
Modifier and Type | Method and Description |
---|---|
boolean |
PackageAPI.add(String docFullName) |
boolean |
PackageAPI.add(String docFullName,
int DefaultAction) |
boolean |
Package.add(String docFullName,
int DefaultAction,
XWikiContext context) |
boolean |
Package.add(String docFullName,
String language,
int DefaultAction,
XWikiContext context) |
boolean |
Package.add(String docFullName,
String language,
XWikiContext context) |
boolean |
Package.add(String docFullName,
XWikiContext context) |
boolean |
Package.add(XWikiDocument doc,
int defaultAction,
XWikiContext context) |
boolean |
Package.add(XWikiDocument doc,
XWikiContext context) |
void |
Package.addAllWikiDocuments(XWikiContext context) |
void |
Package.addToDir(XWikiDocument doc,
File dir,
boolean withVersions,
XWikiContext context) |
void |
Package.addToZip(XWikiDocument doc,
ZipOutputStream zos,
boolean withVersions,
XWikiContext context)
Deprecated.
since 4.1M2
|
void |
PackageAPI.backupWiki() |
void |
Package.deleteAllWikiDocuments(XWikiContext context) |
String |
PackageAPI.export() |
String |
Package.export(OutputStream os,
XWikiContext context) |
String |
Package.exportToDir(File dir,
XWikiContext context) |
String |
PackageAPI.Import(byte[] file)
Load a package in memory from a byte array.
|
String |
Package.Import(byte[] file,
XWikiContext context)
Load this package in memory from a byte array.
|
String |
PackageAPI.Import(InputStream file)
Load a package in memory from an InputStream.
|
String |
Package.Import(InputStream file,
XWikiContext context)
Load this package in memory from an InputStream.
|
int |
PackageAPI.install() |
int |
Package.install(XWikiContext context) |
String |
Package.readFromDir(File dir,
XWikiContext context)
Load document files from provided directory and sub-directories into packager.
|
int |
Package.readFromDir(File dir,
XWikiContext context,
org.dom4j.Document description)
Load document files from provided directory and sub-directories into packager.
|
boolean |
Package.updateDoc(String docFullName,
int action,
XWikiContext context) |
Modifier and Type | Class and Description |
---|---|
class |
RightsManagerException
Rights Manager plugin base exception.
|
Modifier and Type | Method and 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 |
RightsManagerPluginApi.countAllGroupsNamesForMember(String member)
Return the number of groups containing provided member.
|
int |
RightsManager.countAllGroupsNamesForMember(String member,
XWikiContext context)
Return the number of groups containing provided member.
|
int |
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 |
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 |
RightsManagerPluginApi.countAllMembersNamesForGroup(String group)
Return the number of members provided group contains.
|
int |
RightsManager.countAllMembersNamesForGroup(String group,
XWikiContext context)
Return the number of members provided group contains.
|
int |
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> |
RightsManagerPluginApi.getAllGroupsNamesForMember(String member)
Get all groups containing provided user.
|
Collection<String> |
RightsManager.getAllGroupsNamesForMember(String member,
int nb,
int start,
XWikiContext context)
Get all groups containing provided user.
|
List<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> |
RightsManagerPluginApi.getAllMatchedMembersNamesForGroup(String group,
String matchField,
int nb,
int start,
Boolean orderAsc)
Get members of provided group.
|
Collection<String> |
RightsManager.getAllMatchedMembersNamesForGroup(String group,
String matchField,
int nb,
int start,
Boolean orderAsc,
XWikiContext context)
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> |
RightsManagerPluginApi.getAllMembersNamesForGroup(String group)
Get all members (users or groups) provided group contains.
|
Collection<String> |
RightsManagerPluginApi.getAllMembersNamesForGroup(String group,
int nb,
int start)
Get all members (users or groups) provided group contains.
|
Collection<String> |
RightsManager.getAllMembersNamesForGroup(String group,
int nb,
int start,
XWikiContext context)
Get all users provided group contains.
|
List<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)
|
Document |
RightsManagerRightsApi.getParentPreference(String spaceOrPage)
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.
|
XWikiDocument |
RightsManager.getParentPreference(XWikiDocument currentPreference,
boolean currentGlobal,
XWikiContext context)
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.
|
Collection<DocumentReference> |
RightsManager.resolveUsers(DocumentReference userOrGroup,
XWikiContext context)
Resolve passed user or group into users references list.
|
Collection<DocumentReference> |
RightsManager.resolveUsers(List<String> referenceList,
XWikiContext context)
Resolve passed users and groups into users references list.
|
Collection<DocumentReference> |
RightsManager.resolveUsers(String userOrGroup,
XWikiContext context)
Resolve passed user or group into users references list.
|
Constructor and Description |
---|
XWikiPageClassLoader(String jarWikiPage,
ClassLoader parent,
XWikiContext context) |
XWikiPageClassLoader(String jarWikiPage,
XWikiContext context) |
Modifier and Type | Method and Description |
---|---|
List |
XWikiStatsService.getRefMonthStats(String docName,
Date month,
XWikiContext context)
Deprecated.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
List<?> |
XWikiStatsReader.getRefMonthStats(String docName,
Date month,
XWikiContext context)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
XWikiHibernateBaseStore.beginTransaction(boolean withTransaction,
XWikiContext context)
Deprecated.
|
boolean |
XWikiHibernateBaseStore.beginTransaction(org.hibernate.SessionFactory sfactory,
boolean withTransaction,
XWikiContext context)
Deprecated.
|
boolean |
XWikiHibernateBaseStore.beginTransaction(org.hibernate.SessionFactory sfactory,
XWikiContext context)
Begins a transaction with a specific SessionFactory.
|
boolean |
XWikiHibernateBaseStore.beginTransaction(XWikiContext context)
Begins a transaction if the context does not contains any.
|
int |
XWikiStoreInterface.countDocuments(String parametrizedSqlClause,
List<?> parameterValues,
XWikiContext context)
API allowing to count the total number of documents that would be returned by a parameterized query.
|
int |
XWikiCacheStore.countDocuments(String parametrizedSqlClause,
List<?> parameterValues,
XWikiContext context) |
int |
XWikiHibernateStore.countDocuments(String parametrizedSqlClause,
List<?> parameterValues,
XWikiContext context) |
int |
XWikiStoreInterface.countDocuments(String wheresql,
XWikiContext context)
API allowing to count the total number of documents that would be returned by a query.
|
int |
XWikiCacheStore.countDocuments(String wheresql,
XWikiContext context) |
int |
XWikiHibernateStore.countDocuments(String wheresql,
XWikiContext context) |
void |
XWikiStoreInterface.createWiki(String wikiName,
XWikiContext context)
Allows to create a new wiki database and initialize the default tables.
|
void |
XWikiCacheStore.createWiki(String wikiName,
XWikiContext context) |
void |
XWikiHibernateStore.createWiki(String wikiName,
XWikiContext context) |
void |
AttachmentVersioningStore.deleteArchive(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction)
Permanently delete attachment archive.
|
void |
VoidAttachmentVersioningStore.deleteArchive(XWikiAttachment attachment,
XWikiContext context,
boolean transaction) |
void |
XWikiVersioningStoreInterface.deleteArchive(XWikiDocument doc,
boolean bTransaction,
XWikiContext context)
Delete all history for a document.
|
void |
XWikiHibernateVersioningStore.deleteArchive(XWikiDocument doc,
boolean bTransaction,
XWikiContext context) |
void |
AttachmentRecycleBinStore.deleteFromRecycleBin(long index,
XWikiContext context,
boolean bTransaction)
Permanently delete attachment from recycle bin.
|
void |
XWikiHibernateRecycleBinStore.deleteFromRecycleBin(XWikiDocument doc,
long index,
XWikiContext context,
boolean bTransaction) |
void |
XWikiRecycleBinStoreInterface.deleteFromRecycleBin(XWikiDocument doc,
long index,
XWikiContext context,
boolean bTransaction)
Permanently delete document from recycle bin.
|
void |
XWikiStoreInterface.deleteLinks(long docId,
XWikiContext context,
boolean bTransaction) |
void |
XWikiCacheStore.deleteLinks(long docId,
XWikiContext context,
boolean bTransaction) |
void |
XWikiHibernateStore.deleteLinks(long docId,
XWikiContext context,
boolean bTransaction) |
void |
XWikiStoreInterface.deleteLock(XWikiLock lock,
XWikiContext context,
boolean bTransaction) |
void |
XWikiCacheStore.deleteLock(XWikiLock lock,
XWikiContext context,
boolean bTransaction) |
void |
XWikiHibernateStore.deleteLock(XWikiLock lock,
XWikiContext context,
boolean bTransaction) |
void |
XWikiStoreInterface.deleteWiki(String wikiName,
XWikiContext context)
Delete a wiki database.
|
void |
XWikiCacheStore.deleteWiki(String wikiName,
XWikiContext context) |
void |
XWikiHibernateStore.deleteWiki(String wikiName,
XWikiContext context) |
void |
XWikiAttachmentStoreInterface.deleteXWikiAttachment(XWikiAttachment attachment,
boolean parentUpdate,
XWikiContext context,
boolean bTransaction) |
void |
XWikiHibernateAttachmentStore.deleteXWikiAttachment(XWikiAttachment attachment,
boolean parentUpdate,
XWikiContext context,
boolean bTransaction) |
void |
XWikiAttachmentStoreInterface.deleteXWikiAttachment(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction) |
void |
XWikiHibernateAttachmentStore.deleteXWikiAttachment(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction) |
void |
XWikiHibernateStore.deleteXWikiCollection(BaseCollection object,
XWikiContext context,
boolean bTransaction,
boolean evict)
Deprecated.
This is internal to XWikiHibernateStore and may be removed in the future.
|
void |
XWikiStoreInterface.deleteXWikiDoc(XWikiDocument doc,
XWikiContext context) |
void |
XWikiCacheStore.deleteXWikiDoc(XWikiDocument doc,
XWikiContext context) |
void |
XWikiHibernateStore.deleteXWikiDoc(XWikiDocument doc,
XWikiContext context) |
T |
XWikiHibernateBaseStore.HibernateCallback.doInHibernate(org.hibernate.Session session)
method executed by
XWikiHibernateBaseStore 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 context,
boolean doCommit,
XWikiHibernateBaseStore.HibernateCallback<T> cb)
Execute method for operations in hibernate.
|
<T> T |
XWikiHibernateBaseStore.executeRead(XWikiContext context,
boolean bTransaction,
XWikiHibernateBaseStore.HibernateCallback<T> cb)
|
<T> T |
XWikiHibernateBaseStore.executeRead(XWikiContext context,
XWikiHibernateBaseStore.HibernateCallback<T> cb)
Execute method for read-only operations in hibernate.
|
<T> T |
XWikiHibernateBaseStore.executeWrite(XWikiContext context,
boolean bTransaction,
XWikiHibernateBaseStore.HibernateCallback<T> cb)
|
<T> T |
XWikiHibernateBaseStore.executeWrite(XWikiContext context,
XWikiHibernateBaseStore.HibernateCallback<T> cb)
Execute method for read-write operations in hibernate.
|
boolean |
XWikiStoreInterface.exists(XWikiDocument doc,
XWikiContext context) |
boolean |
XWikiCacheStore.exists(XWikiDocument doc,
XWikiContext context) |
boolean |
XWikiHibernateStore.exists(XWikiDocument doc,
XWikiContext context)
Verifies if a wiki document exists
|
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[] |
XWikiRecycleBinStoreInterface.getAllDeletedDocuments(XWikiDocument doc,
XWikiContext context,
boolean bTransaction) |
byte[] |
VoidAttachmentVersioningStore.VoidAttachmentArchive.getArchive(XWikiContext context)
Get the archive, loading it from the database if necessary.
|
List<String> |
XWikiStoreInterface.getClassList(XWikiContext context) |
List<String> |
XWikiCacheStore.getClassList(XWikiContext context) |
List<String> |
XWikiHibernateStore.getClassList(XWikiContext context) |
DeletedAttachment |
AttachmentRecycleBinStore.getDeletedAttachment(long index,
XWikiContext context,
boolean bTransaction)
Returns a
handler for a deleted attachment. |
XWikiDeletedDocument |
XWikiHibernateRecycleBinStore.getDeletedDocument(XWikiDocument doc,
long index,
XWikiContext context,
boolean bTransaction) |
XWikiDeletedDocument |
XWikiRecycleBinStoreInterface.getDeletedDocument(XWikiDocument doc,
long index,
XWikiContext context,
boolean bTransaction) |
XWikiAttachment |
VoidAttachmentVersioningStore.VoidAttachmentArchive.getRevision(XWikiAttachment attachment,
String rev,
XWikiContext context)
Get an old revision of the attachment which this is an archive of.
|
List<String> |
XWikiStoreInterface.getTranslationList(XWikiDocument doc,
XWikiContext context) |
List<String> |
XWikiCacheStore.getTranslationList(XWikiDocument doc,
XWikiContext context) |
List<String> |
XWikiHibernateStore.getTranslationList(XWikiDocument doc,
XWikiContext context) |
XWikiDocumentArchive |
XWikiVersioningStoreInterface.getXWikiDocumentArchive(XWikiDocument doc,
XWikiContext context) |
XWikiDocumentArchive |
XWikiHibernateVersioningStore.getXWikiDocumentArchive(XWikiDocument doc,
XWikiContext context) |
org.suigeneris.jrcs.rcs.Version[] |
XWikiVersioningStoreInterface.getXWikiDocVersions(XWikiDocument doc,
XWikiContext context) |
org.suigeneris.jrcs.rcs.Version[] |
XWikiHibernateVersioningStore.getXWikiDocVersions(XWikiDocument doc,
XWikiContext context) |
void |
XWikiCacheStoreInterface.initCache(int capacity,
int pageExistCapacity,
XWikiContext context) |
void |
XWikiCacheStore.initCache(int capacity,
int pageExistCacheCapacity,
XWikiContext context) |
void |
XWikiCacheStore.initCache(XWikiContext context) |
boolean |
XWikiStoreInterface.injectCustomMapping(BaseClass doc1class,
XWikiContext xWikiContext) |
boolean |
XWikiDefaultStore.injectCustomMapping(BaseClass doc1class,
XWikiContext xWikiContext) |
boolean |
XWikiCacheStore.injectCustomMapping(BaseClass doc1class,
XWikiContext context) |
boolean |
XWikiHibernateStore.injectCustomMapping(BaseClass doc1class,
XWikiContext context) |
boolean |
XWikiHibernateStore.injectCustomMapping(String className,
String custommapping,
XWikiContext context) |
void |
XWikiStoreInterface.injectCustomMappings(XWikiContext context) |
void |
XWikiDefaultStore.injectCustomMappings(XWikiContext context) |
void |
XWikiCacheStore.injectCustomMappings(XWikiContext context) |
void |
XWikiHibernateStore.injectCustomMappings(XWikiContext context) |
boolean |
XWikiStoreInterface.injectCustomMappings(XWikiDocument doc,
XWikiContext context) |
boolean |
XWikiDefaultStore.injectCustomMappings(XWikiDocument doc,
XWikiContext xWikiContext) |
boolean |
XWikiCacheStore.injectCustomMappings(XWikiDocument doc,
XWikiContext context) |
boolean |
XWikiHibernateStore.injectCustomMappings(XWikiDocument doc,
XWikiContext context) |
org.hibernate.SessionFactory |
XWikiHibernateStore.injectCustomMappingsInSessionFactory(BaseClass bclass,
XWikiContext context) |
org.hibernate.SessionFactory |
XWikiHibernateStore.injectCustomMappingsInSessionFactory(XWikiContext context) |
void |
XWikiStoreInterface.injectUpdatedCustomMappings(XWikiContext context) |
void |
XWikiDefaultStore.injectUpdatedCustomMappings(XWikiContext context) |
void |
XWikiCacheStore.injectUpdatedCustomMappings(XWikiContext context) |
void |
XWikiHibernateStore.injectUpdatedCustomMappings(XWikiContext context) |
boolean |
XWikiStoreInterface.isCustomMappingValid(BaseClass bclass,
String custommapping1,
XWikiContext context) |
boolean |
XWikiCacheStore.isCustomMappingValid(BaseClass bclass,
String custommapping1,
XWikiContext context) |
boolean |
XWikiStoreInterface.isWikiNameAvailable(String wikiName,
XWikiContext context)
Indicate if the provided wiki name could be used to create a new wiki.
|
boolean |
XWikiCacheStore.isWikiNameAvailable(String wikiName,
XWikiContext context) |
boolean |
XWikiHibernateStore.isWikiNameAvailable(String wikiName,
XWikiContext context) |
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 context,
boolean bTransaction) |
List<DocumentReference> |
XWikiStoreInterface.loadBacklinks(DocumentReference documentReference,
boolean bTransaction,
XWikiContext context) |
List<DocumentReference> |
XWikiCacheStore.loadBacklinks(DocumentReference documentReference,
boolean bTransaction,
XWikiContext context) |
List<DocumentReference> |
XWikiHibernateStore.loadBacklinks(DocumentReference documentReference,
boolean bTransaction,
XWikiContext context) |
List<String> |
XWikiStoreInterface.loadBacklinks(String fullName,
XWikiContext context,
boolean bTransaction)
Deprecated.
|
List<String> |
XWikiCacheStore.loadBacklinks(String fullName,
XWikiContext context,
boolean bTransaction) |
List<String> |
XWikiHibernateStore.loadBacklinks(String fullName,
XWikiContext context,
boolean bTransaction)
Deprecated.
|
List<XWikiLink> |
XWikiStoreInterface.loadLinks(long docId,
XWikiContext context,
boolean bTransaction) |
List<XWikiLink> |
XWikiCacheStore.loadLinks(long docId,
XWikiContext context,
boolean bTransaction) |
List<XWikiLink> |
XWikiHibernateStore.loadLinks(long docId,
XWikiContext context,
boolean bTransaction) |
XWikiLock |
XWikiStoreInterface.loadLock(long docId,
XWikiContext context,
boolean bTransaction) |
XWikiLock |
XWikiCacheStore.loadLock(long docId,
XWikiContext context,
boolean bTransaction) |
XWikiLock |
XWikiHibernateStore.loadLock(long docId,
XWikiContext context,
boolean bTransaction) |
XWikiRCSNodeContent |
XWikiVersioningStoreInterface.loadRCSNodeContent(XWikiRCSNodeId id,
boolean bTransaction,
XWikiContext context)
Load
XWikiRCSNodeContent on demand. |
XWikiRCSNodeContent |
XWikiHibernateVersioningStore.loadRCSNodeContent(XWikiRCSNodeId id,
boolean bTransaction,
XWikiContext context) |
void |
XWikiHibernateStore.loadXWikiCollection(BaseCollection object,
XWikiContext context,
boolean bTransaction)
Deprecated.
This is internal to XWikiHibernateStore and may be removed in the future.
|
XWikiDocument |
XWikiVersioningStoreInterface.loadXWikiDoc(XWikiDocument doc,
String version,
XWikiContext context) |
XWikiDocument |
XWikiHibernateVersioningStore.loadXWikiDoc(XWikiDocument basedoc,
String sversion,
XWikiContext context) |
XWikiDocument |
XWikiStoreInterface.loadXWikiDoc(XWikiDocument doc,
XWikiContext context) |
XWikiDocument |
XWikiCacheStore.loadXWikiDoc(XWikiDocument doc,
XWikiContext context) |
XWikiDocument |
XWikiHibernateStore.loadXWikiDoc(XWikiDocument doc,
XWikiContext context) |
void |
XWikiVersioningStoreInterface.loadXWikiDocArchive(XWikiDocumentArchive archivedoc,
boolean bTransaction,
XWikiContext context) |
void |
XWikiHibernateVersioningStore.loadXWikiDocArchive(XWikiDocumentArchive archivedoc,
boolean bTransaction,
XWikiContext context) |
void |
XWikiVersioningStoreInterface.resetRCSArchive(XWikiDocument doc,
boolean bTransaction,
XWikiContext context) |
void |
XWikiHibernateVersioningStore.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(XWikiDocument doc,
long index,
XWikiContext context,
boolean bTransaction) |
XWikiDocument |
XWikiRecycleBinStoreInterface.restoreFromRecycleBin(XWikiDocument doc,
long index,
XWikiContext context,
boolean bTransaction) |
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 |
XWikiHibernateAttachmentStore.saveAttachmentContent(XWikiAttachment attachment,
boolean parentUpdate,
XWikiContext context,
boolean bTransaction) |
void |
XWikiAttachmentStoreInterface.saveAttachmentContent(XWikiAttachment attachment,
XWikiContext context,
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 context,
boolean bTransaction) |
void |
XWikiStoreInterface.saveLinks(XWikiDocument doc,
XWikiContext context,
boolean bTransaction) |
void |
XWikiCacheStore.saveLinks(XWikiDocument doc,
XWikiContext context,
boolean bTransaction) |
void |
XWikiHibernateStore.saveLinks(XWikiDocument doc,
XWikiContext context,
boolean bTransaction) |
void |
XWikiStoreInterface.saveLock(XWikiLock lock,
XWikiContext context,
boolean bTransaction) |
void |
XWikiCacheStore.saveLock(XWikiLock lock,
XWikiContext context,
boolean bTransaction) |
void |
XWikiHibernateStore.saveLock(XWikiLock lock,
XWikiContext 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 context,
boolean bTransaction) |
void |
XWikiRecycleBinStoreInterface.saveToRecycleBin(XWikiDocument doc,
String deleter,
Date date,
XWikiContext context,
boolean bTransaction)
Save document to recycle bin.
|
void |
XWikiHibernateStore.saveXWikiCollection(BaseCollection object,
XWikiContext context,
boolean bTransaction)
Deprecated.
This is internal to XWikiHibernateStore and may be removed in the future.
|
void |
XWikiStoreInterface.saveXWikiDoc(XWikiDocument doc,
XWikiContext context) |
void |
XWikiCacheStore.saveXWikiDoc(XWikiDocument doc,
XWikiContext context) |
void |
XWikiHibernateStore.saveXWikiDoc(XWikiDocument doc,
XWikiContext context) |
void |
XWikiStoreInterface.saveXWikiDoc(XWikiDocument doc,
XWikiContext context,
boolean bTransaction) |
void |
XWikiCacheStore.saveXWikiDoc(XWikiDocument doc,
XWikiContext context,
boolean bTransaction) |
void |
XWikiHibernateStore.saveXWikiDoc(XWikiDocument doc,
XWikiContext context,
boolean bTransaction) |
void |
XWikiVersioningStoreInterface.saveXWikiDocArchive(XWikiDocumentArchive archivedoc,
boolean bTransaction,
XWikiContext context) |
void |
XWikiHibernateVersioningStore.saveXWikiDocArchive(XWikiDocumentArchive archivedoc,
boolean bTransaction,
XWikiContext context) |
List |
XWikiHibernateStore.search(org.hibernate.Query query,
int nb,
int start,
XWikiContext context) |
<T> List<T> |
XWikiStoreInterface.search(String sql,
int nb,
int start,
List<?> parameterValues,
XWikiContext context)
Execute a reading request with parameters and return result.
|
<T> List<T> |
XWikiCacheStore.search(String sql,
int nb,
int start,
List<?> parameterValues,
XWikiContext context) |
<T> List<T> |
XWikiHibernateStore.search(String sql,
int nb,
int start,
List<?> parameterValues,
XWikiContext context) |
<T> List<T> |
XWikiStoreInterface.search(String sql,
int nb,
int start,
Object[][] whereParams,
List<?> parameterValues,
XWikiContext context)
Execute a reading request with parameters and return result.
|
<T> List<T> |
XWikiCacheStore.search(String sql,
int nb,
int start,
Object[][] whereParams,
List<?> parameterValues,
XWikiContext context) |
<T> List<T> |
XWikiHibernateStore.search(String sql,
int nb,
int start,
Object[][] whereParams,
List<?> parameterValues,
XWikiContext context) |
<T> List<T> |
XWikiStoreInterface.search(String sql,
int nb,
int start,
Object[][] whereParams,
XWikiContext context)
Execute a reading request and return result.
|
<T> List<T> |
XWikiCacheStore.search(String sql,
int nb,
int start,
Object[][] whereParams,
XWikiContext context) |
<T> List<T> |
XWikiHibernateStore.search(String sql,
int nb,
int start,
Object[][] whereParams,
XWikiContext context) |
<T> List<T> |
XWikiStoreInterface.search(String sql,
int nb,
int start,
XWikiContext context)
Execute a reading request and return result.
|
<T> List<T> |
XWikiCacheStore.search(String sql,
int nb,
int start,
XWikiContext context) |
<T> List<T> |
XWikiHibernateStore.search(String sql,
int nb,
int start,
XWikiContext context) |
List<DocumentReference> |
XWikiStoreInterface.searchDocumentReferences(String parametrizedSqlClause,
int nb,
int start,
List<?> parameterValues,
XWikiContext context)
Search documents by passing HQL where clause values as parameters.
|
List<DocumentReference> |
XWikiCacheStore.searchDocumentReferences(String parametrizedSqlClause,
int nb,
int start,
List<?> parameterValues,
XWikiContext context) |
List<DocumentReference> |
XWikiHibernateStore.searchDocumentReferences(String parametrizedSqlClause,
int nb,
int start,
List<?> parameterValues,
XWikiContext context) |
List<DocumentReference> |
XWikiStoreInterface.searchDocumentReferences(String wheresql,
int nb,
int start,
String selectColumns,
XWikiContext context) |
List<DocumentReference> |
XWikiCacheStore.searchDocumentReferences(String wheresql,
int nb,
int start,
String selectColumns,
XWikiContext context) |
List<DocumentReference> |
XWikiHibernateStore.searchDocumentReferences(String wheresql,
int nb,
int start,
String selectColumns,
XWikiContext context) |
List<DocumentReference> |
XWikiStoreInterface.searchDocumentReferences(String wheresql,
int nb,
int start,
XWikiContext context) |
List<DocumentReference> |
XWikiCacheStore.searchDocumentReferences(String wheresql,
int nb,
int start,
XWikiContext context) |
List<DocumentReference> |
XWikiHibernateStore.searchDocumentReferences(String wheresql,
int nb,
int start,
XWikiContext context) |
List<DocumentReference> |
XWikiStoreInterface.searchDocumentReferences(String parametrizedSqlClause,
List<?> parameterValues,
XWikiContext context)
Same as
XWikiStoreInterface.searchDocumentReferences(String, int, int, List, XWikiContext) but returns all rows. |
List<DocumentReference> |
XWikiCacheStore.searchDocumentReferences(String parametrizedSqlClause,
List<?> parameterValues,
XWikiContext context) |
List<DocumentReference> |
XWikiHibernateStore.searchDocumentReferences(String parametrizedSqlClause,
List<?> parameterValues,
XWikiContext context) |
List<DocumentReference> |
XWikiStoreInterface.searchDocumentReferences(String wheresql,
XWikiContext context) |
List<DocumentReference> |
XWikiCacheStore.searchDocumentReferences(String wheresql,
XWikiContext context) |
List<DocumentReference> |
XWikiHibernateStore.searchDocumentReferences(String wheresql,
XWikiContext context) |
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> |
XWikiCacheStore.searchDocuments(String wheresql,
boolean distinctbylanguage,
boolean customMapping,
boolean checkRight,
int nb,
int start,
List<?> parameterValues,
XWikiContext context) |
List<XWikiDocument> |
XWikiHibernateStore.searchDocuments(String wheresql,
boolean distinctbylanguage,
boolean customMapping,
boolean checkRight,
int nb,
int start,
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> |
XWikiCacheStore.searchDocuments(String wheresql,
boolean distinctbyname,
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,
XWikiContext context) |
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> |
XWikiCacheStore.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,
int nb,
int start,
List<?> parameterValues,
XWikiContext context) |
List<XWikiDocument> |
XWikiStoreInterface.searchDocuments(String wheresql,
boolean distinctbylanguage,
boolean customMapping,
int nb,
int start,
XWikiContext context)
Search documents in the storing system.
|
List<XWikiDocument> |
XWikiDefaultStore.searchDocuments(String wheresql,
boolean distinctbyname,
boolean customMapping,
int nb,
int start,
XWikiContext context) |
List<XWikiDocument> |
XWikiCacheStore.searchDocuments(String wheresql,
boolean distinctbyname,
boolean customMapping,
int nb,
int start,
XWikiContext context) |
List<XWikiDocument> |
XWikiHibernateStore.searchDocuments(String wheresql,
boolean distinctbylanguage,
boolean customMapping,
int nb,
int start,
XWikiContext context) |
List<XWikiDocument> |
XWikiStoreInterface.searchDocuments(String wheresql,
boolean distinctbylanguage,
boolean customMapping,
XWikiContext context)
Search documents in the storing system.
|
List<XWikiDocument> |
XWikiDefaultStore.searchDocuments(String wheresql,
boolean distinctbylanguage,
boolean customMapping,
XWikiContext context) |
List<XWikiDocument> |
XWikiCacheStore.searchDocuments(String wheresql,
boolean distinctbyname,
boolean customMapping,
XWikiContext context) |
List<XWikiDocument> |
XWikiHibernateStore.searchDocuments(String wheresql,
boolean distinctbylanguage,
boolean customMapping,
XWikiContext context) |
List<XWikiDocument> |
XWikiStoreInterface.searchDocuments(String wheresql,
boolean distinctbylanguage,
int nb,
int start,
List<?> parameterValues,
XWikiContext context)
Search documents in the storing system.
|
List<XWikiDocument> |
XWikiCacheStore.searchDocuments(String wheresql,
boolean distinctbylanguage,
int nb,
int start,
List<?> parameterValues,
XWikiContext context) |
List<XWikiDocument> |
XWikiHibernateStore.searchDocuments(String wheresql,
boolean distinctbylanguage,
int nb,
int start,
List<?> parameterValues,
XWikiContext context) |
List<XWikiDocument> |
XWikiStoreInterface.searchDocuments(String wheresql,
boolean distinctbylanguage,
int nb,
int start,
XWikiContext context)
Search documents in the storing system.
|
List<XWikiDocument> |
XWikiDefaultStore.searchDocuments(String wheresql,
boolean distinctbyname,
int nb,
int start,
XWikiContext context) |
List<XWikiDocument> |
XWikiCacheStore.searchDocuments(String wheresql,
boolean distinctbyname,
int nb,
int start,
XWikiContext context) |
List<XWikiDocument> |
XWikiHibernateStore.searchDocuments(String wheresql,
boolean distinctbylanguage,
int nb,
int start,
XWikiContext context) |
List<XWikiDocument> |
XWikiStoreInterface.searchDocuments(String wheresql,
boolean distinctbylanguage,
XWikiContext context)
Search documents in the storing system.
|
List<XWikiDocument> |
XWikiDefaultStore.searchDocuments(String wheresql,
boolean distinctbylanguage,
XWikiContext context) |
List<XWikiDocument> |
XWikiCacheStore.searchDocuments(String wheresql,
boolean distinctbyname,
XWikiContext context) |
List<XWikiDocument> |
XWikiHibernateStore.searchDocuments(String wheresql,
boolean distinctbylanguage,
XWikiContext context) |
List<XWikiDocument> |
XWikiStoreInterface.searchDocuments(String wheresql,
int nb,
int start,
List<?> parameterValues,
XWikiContext context)
Search documents in the storing system.
|
List<XWikiDocument> |
XWikiCacheStore.searchDocuments(String wheresql,
int nb,
int start,
List<?> parameterValues,
XWikiContext context) |
List<XWikiDocument> |
XWikiHibernateStore.searchDocuments(String wheresql,
int nb,
int start,
List<?> parameterValues,
XWikiContext context) |
List<XWikiDocument> |
XWikiStoreInterface.searchDocuments(String wheresql,
int nb,
int start,
XWikiContext context)
Search documents in the storing system.
|
List<XWikiDocument> |
XWikiDefaultStore.searchDocuments(String wheresql,
int nb,
int start,
XWikiContext context) |
List<XWikiDocument> |
XWikiCacheStore.searchDocuments(String wheresql,
int nb,
int start,
XWikiContext context) |
List<XWikiDocument> |
XWikiHibernateStore.searchDocuments(String wheresql,
int nb,
int start,
XWikiContext context) |
List<XWikiDocument> |
XWikiStoreInterface.searchDocuments(String wheresql,
List<?> parameterValues,
XWikiContext context)
Search documents in the storing system.
|
List<XWikiDocument> |
XWikiCacheStore.searchDocuments(String wheresql,
List<?> parameterValues,
XWikiContext context) |
List<XWikiDocument> |
XWikiHibernateStore.searchDocuments(String wheresql,
List<?> parameterValues,
XWikiContext context) |
List<XWikiDocument> |
XWikiStoreInterface.searchDocuments(String wheresql,
XWikiContext context)
Search documents in the storing system.
|
List<XWikiDocument> |
XWikiDefaultStore.searchDocuments(String wheresql,
XWikiContext context) |
List<XWikiDocument> |
XWikiCacheStore.searchDocuments(String wheresql,
XWikiContext context) |
List<XWikiDocument> |
XWikiHibernateStore.searchDocuments(String wheresql,
XWikiContext context) |
List<String> |
XWikiStoreInterface.searchDocumentsNames(String parametrizedSqlClause,
int nb,
int start,
List<?> parameterValues,
XWikiContext context)
Deprecated.
|
List<String> |
XWikiCacheStore.searchDocumentsNames(String parametrizedSqlClause,
int nb,
int start,
List<?> parameterValues,
XWikiContext context) |
List<String> |
XWikiHibernateStore.searchDocumentsNames(String parametrizedSqlClause,
int nb,
int start,
List<?> parameterValues,
XWikiContext context) |
List<String> |
XWikiStoreInterface.searchDocumentsNames(String wheresql,
int nb,
int start,
String selectColumns,
XWikiContext context)
Deprecated.
|
List<String> |
XWikiCacheStore.searchDocumentsNames(String wheresql,
int nb,
int start,
String selectColumns,
XWikiContext context) |
List<String> |
XWikiHibernateStore.searchDocumentsNames(String wheresql,
int nb,
int start,
String selectColumns,
XWikiContext context) |
List<String> |
XWikiStoreInterface.searchDocumentsNames(String wheresql,
int nb,
int start,
XWikiContext context)
Deprecated.
|
List |
XWikiDefaultStore.searchDocumentsNames(String wheresql,
int nb,
int start,
XWikiContext context) |
List<String> |
XWikiCacheStore.searchDocumentsNames(String wheresql,
int nb,
int start,
XWikiContext context) |
List<String> |
XWikiHibernateStore.searchDocumentsNames(String wheresql,
int nb,
int start,
XWikiContext context) |
List<String> |
XWikiStoreInterface.searchDocumentsNames(String parametrizedSqlClause,
List<?> parameterValues,
XWikiContext context)
Deprecated.
|
List<String> |
XWikiCacheStore.searchDocumentsNames(String parametrizedSqlClause,
List<?> parameterValues,
XWikiContext context) |
List<String> |
XWikiHibernateStore.searchDocumentsNames(String parametrizedSqlClause,
List<?> parameterValues,
XWikiContext context) |
List<String> |
XWikiStoreInterface.searchDocumentsNames(String wheresql,
XWikiContext context)
Deprecated.
|
List |
XWikiDefaultStore.searchDocumentsNames(String wheresql,
XWikiContext context) |
List<String> |
XWikiCacheStore.searchDocumentsNames(String wheresql,
XWikiContext context) |
List<String> |
XWikiHibernateStore.searchDocumentsNames(String wheresql,
XWikiContext context) |
void |
VoidAttachmentVersioningStore.VoidAttachmentArchive.setArchive(byte[] data)
Set the archive from a byte array representation of a JRCS archive.
|
void |
XWikiHibernateBaseStore.setDatabase(org.hibernate.Session session,
XWikiContext context)
Virtual Wikis Allows to switch database connection
|
void |
VoidAttachmentVersioningStore.VoidAttachmentArchive.updateArchive(byte[] data,
XWikiContext context) |
void |
VoidAttachmentVersioningStore.VoidAttachmentArchive.updateArchive(XWikiContext context) |
void |
XWikiHibernateBaseStore.updateSchema(BaseClass bclass,
XWikiContext context)
Custom Mapping This function update the schema based on the dynamic custom mapping provided by the class
|
void |
XWikiVersioningStoreInterface.updateXWikiDocArchive(XWikiDocument doc,
boolean bTransaction,
XWikiContext context) |
void |
XWikiHibernateVersioningStore.updateXWikiDocArchive(XWikiDocument doc,
boolean bTransaction,
XWikiContext context) |
Constructor and Description |
---|
XWikiCacheStore(XWikiStoreInterface store,
XWikiContext context) |
Modifier and Type | Method and Description |
---|---|
void |
HibernateAttachmentVersioningStore.deleteArchive(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction) |
void |
HibernateAttachmentRecycleBinStore.deleteFromRecycleBin(long index,
XWikiContext context,
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 context,
boolean bTransaction) |
void |
HibernateAttachmentVersioningStore.saveArchive(XWikiAttachmentArchive archive,
XWikiContext context,
boolean bTransaction) |
void |
HibernateAttachmentRecycleBinStore.saveToRecycleBin(XWikiAttachment attachment,
String deleter,
Date date,
XWikiContext context,
boolean bTransaction) |
Modifier and Type | Method and Description |
---|---|
void |
R43000XWIKI6691DataMigration.hibernateMigrate() |
void |
R35102XWIKI7771DataMigration.hibernateMigrate() |
void |
LegacyDataMigration.hibernateMigrate() |
void |
R35101XWIKI7645DataMigration.hibernateMigrate() |
void |
R72000XWIKI12153DataMigration.hibernateMigrate() |
void |
R40000XWIKI6990DataMigration.hibernateMigrate() |
void |
R4359XWIKI1459DataMigration.hibernateMigrate() |
void |
R42000XWIKI7726DataMigration.hibernateMigrate() |
protected abstract void |
AbstractHibernateDataMigration.hibernateMigrate()
Execute the migration itself.
|
void |
R35100XWIKI7564DataMigration.hibernateMigrate() |
void |
R4340XWIKI883DataMigration.hibernateMigrate() |
void |
R7350XWIKI2079DataMigration.hibernateMigrate() |
void |
R6079XWIKI1878DataMigration.hibernateMigrate() |
void |
R54600TranslationDataMigration.hibernateMigrate() |
void |
R15428XWIKI2977DataMigration.hibernateMigrate() |
Modifier and Type | Method and Description |
---|---|
void |
XWikiGroupService.addUserToGroup(String user,
String database,
String group,
XWikiContext context)
Adding the user to the group cache.
|
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 document
doc , 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(String username,
String password,
String rememberme,
XWikiContext context)
Authenticates the user.
|
XWikiUser |
XWikiAuthService.checkAuth(XWikiContext context) |
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.
|
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) |
void |
XWikiGroupService.initCache(XWikiContext context) |
boolean |
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.
|
void |
XWikiAuthService.showLogin(XWikiContext context) |
Modifier and Type | Method and Description |
---|---|
void |
XWikiGroupServiceImpl.addUserToGroup(String username,
String database,
String group,
XWikiContext context) |
Principal |
GroovyAuthServiceImpl.authenticate(String username,
String password,
XWikiContext context) |
Principal |
XWikiAuthServiceImpl.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) |
boolean |
XWikiRightServiceImpl.checkAccess(String action,
XWikiDocument doc,
XWikiContext context) |
XWikiUser |
GroovyAuthServiceImpl.checkAuth(String username,
String password,
String rememberme,
XWikiContext context) |
XWikiUser |
AppServerTrustedKerberosAuthServiceImpl.checkAuth(String username,
String password,
String rememberme,
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 parameters
|
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 |
GroovyAuthServiceImpl.checkAuth(XWikiContext context) |
XWikiUser |
AppServerTrustedKerberosAuthServiceImpl.checkAuth(XWikiContext context) |
XWikiUser |
XWikiAuthServiceImpl.checkAuth(XWikiContext context) |
XWikiUser |
AppServerTrustedAuthServiceImpl.checkAuth(XWikiContext context) |
protected 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) |
int |
XWikiGroupServiceImpl.countAllGroupsNamesForMember(String member,
XWikiContext context) |
int |
XWikiGroupServiceImpl.countAllMatchedGroups(Object[][] matchFields,
XWikiContext context) |
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) |
boolean |
XWikiRightServiceImpl.hasAccessLevel(String right,
String username,
String docname,
XWikiContext context) |
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) |
List<String> |
XWikiRightServiceImpl.listAllLevels(XWikiContext context) |
Collection<String> |
XWikiGroupServiceImpl.listGroupsForUser(String member,
XWikiContext context) |
List<String> |
XWikiGroupServiceImpl.listMemberForGroup(String group,
XWikiContext context) |
void |
XWikiGroupServiceImpl.removeUserOrGroupFromAllGroups(String memberWiki,
String memberSpace,
String memberName,
XWikiContext context) |
void |
GroovyAuthServiceImpl.showLogin(XWikiContext context) |
void |
XWikiAuthServiceImpl.showLogin(XWikiContext context) |
Modifier and Type | Method and Description |
---|---|
static String |
Util.getHTMLExceptionMessage(XWikiException xe,
XWikiContext context) |
Modifier and Type | Method and Description |
---|---|
boolean |
PropAddAction.action(XWikiContext context) |
boolean |
ObjectAddAction.action(XWikiContext context) |
boolean |
SaveAndContinueAction.action(XWikiContext context) |
boolean |
RegisterAction.action(XWikiContext context) |
boolean |
CommentAddAction.action(XWikiContext context) |
boolean |
AbstractPropChangeAction.action(XWikiContext context)
Tries to change the specified property, and redirect back to the class editor (or the specified
xredirect
location). |
boolean |
SaveAction.action(XWikiContext context) |
boolean |
LockAction.action(XWikiContext context) |
boolean |
PropUpdateAction.action(XWikiContext context) |
boolean |
RollbackAction.action(XWikiContext context) |
boolean |
DeleteSpaceAction.action(XWikiContext context) |
boolean |
DeleteVersionsAction.action(XWikiContext context) |
boolean |
LogoutAction.action(XWikiContext context) |
boolean |
UndeleteAction.action(XWikiContext context) |
boolean |
ObjectsSynchronizeAction.action(XWikiContext context) |
boolean |
PreviewAction.action(XWikiContext context) |
boolean |
CancelAction.action(XWikiContext context) |
boolean |
DeleteAction.action(XWikiContext context) |
boolean |
RedirectAction.action(XWikiContext context) |
boolean |
GetAction.action(XWikiContext context) |
boolean |
XWikiAction.action(XWikiContext context) |
boolean |
ObjectRemoveAction.action(XWikiContext context) |
boolean |
ResetVersionsAction.action(XWikiContext context) |
boolean |
DeleteAttachmentAction.action(XWikiContext context) |
boolean |
UploadAction.action(XWikiContext context) |
boolean |
ViewAction.action(XWikiContext context) |
void |
PropDisableAction.changePropertyDefinition(BaseClass xclass,
String propertyName,
XWikiContext context)
The method which does the actual modification of the property definition.
|
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)
The method which does the actual modification of the property definition.
|
void |
PropEnableAction.changePropertyDefinition(BaseClass xclass,
String propertyName,
XWikiContext context)
The method which does the actual modification of the property definition.
|
protected boolean |
XWikiAction.csrfTokenCheck(XWikiContext context)
Perform CSRF check and redirect to the resubmission page if needed.
|
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 XWikiContext |
XWikiAction.initializeXWikiContext(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
static void |
Utils.parseTemplate(String template,
boolean write,
XWikiContext context)
Generate the response by parsing a velocity template and (optionally) printing the result to the
Response . |
static void |
Utils.parseTemplate(String template,
XWikiContext context)
Generate the response by parsing a velocity template and printing the result to the
Response . |
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) |
String |
SkinAction.render(String path,
XWikiContext context) |
String |
LoginAction.render(XWikiContext context) |
String |
PropAddAction.render(XWikiContext context) |
String |
DownloadAction.render(XWikiContext context) |
String |
SkinAction.render(XWikiContext context) |
String |
SaveAndContinueAction.render(XWikiContext context) |
String |
RegisterAction.render(XWikiContext context) |
String |
UnknownAction.render(XWikiContext context) |
String |
PDFAction.render(XWikiContext context)
Deprecated.
|
String |
CommentAddAction.render(XWikiContext context) |
String |
AbstractPropChangeAction.render(XWikiContext context) |
String |
SaveAction.render(XWikiContext context) |
String |
PropUpdateAction.render(XWikiContext context) |
String |
RollbackAction.render(XWikiContext context) |
String |
DeleteSpaceAction.render(XWikiContext context) |
String |
TempResourceAction.render(XWikiContext context) |
String |
DeleteVersionsAction.render(XWikiContext context) |
String |
CreateAction.render(XWikiContext context) |
String |
LoginSubmitAction.render(XWikiContext context) |
String |
InlineAction.render(XWikiContext context)
Deprecated.
|
String |
EditAction.render(XWikiContext context) |
String |
ViewAttachRevAction.render(XWikiContext context) |
String |
ObjectsSynchronizeAction.render(XWikiContext context) |
String |
PreviewAction.render(XWikiContext context) |
String |
DeleteAction.render(XWikiContext context) |
String |
ExportAction.render(XWikiContext context) |
String |
LoginErrorAction.render(XWikiContext context) |
String |
DownloadRevAction.render(XWikiContext context) |
String |
GetAction.render(XWikiContext context) |
String |
XWikiAction.render(XWikiContext context) |
String |
TexAction.render(XWikiContext context) |
String |
ObjectRemoveAction.render(XWikiContext context) |
String |
AdminAction.render(XWikiContext context) |
String |
ViewrevAction.render(XWikiContext context) |
String |
ResetVersionsAction.render(XWikiContext context) |
String |
UploadAction.render(XWikiContext context) |
String |
AttachAction.render(XWikiContext context) |
String |
DotAction.render(XWikiContext context)
Deprecated.
|
String |
ViewAction.render(XWikiContext context) |
String |
SVGAction.render(XWikiContext context) |
String |
ImportAction.render(XWikiContext context) |
boolean |
SkinAction.renderFileFromAttachment(String filename,
XWikiDocument doc,
XWikiContext context)
Tries to serve the content of an attachment as a skin file.
|
boolean |
SaveAction.save(XWikiContext context)
Saves the current document, updated according to the parameters sent in the request.
|
protected void |
XWikiAction.sendRedirect(XWikiResponse response,
String url) |
boolean |
UploadAction.uploadAttachment(String fieldName,
String filename,
FileUploadPlugin fileupload,
XWikiDocument doc,
XWikiContext context)
Attach a file to the current document.
|
Modifier and Type | Method and Description |
---|---|
static XWikiObject |
DomainObjectFactory.createXWikiObject(XWiki xwiki,
XWikiContext xwikiContext,
Document document,
Object object)
Create an XWikiObject containing all the information and attributed of a given xwiki object.
|
static XWikiPageSummary |
DomainObjectFactory.createXWikiPageSummary(Document document)
Create a page summary description from an XWiki document.
|
Copyright © 2004–2015 XWiki. All rights reserved.