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)
Deprecated.
since 11.8RC1 prefer using
XWikiUser.isDisabled(XWikiContext) . |
int |
XWiki.checkActive(XWikiContext context)
Deprecated.
since 11.8RC1 prefer using
XWikiUser.isDisabled(XWikiContext) . |
XWikiUser |
XWiki.checkAuth(XWikiContext context)
Authenticate the user from the context and check if the user is disabled or not.
|
void |
XWiki.checkDeletingDocument(DocumentReference userReference,
XWikiDocument document,
XWikiContext context)
Check if the user is allowed to delete the document.
|
void |
XWiki.checkSavingDocument(DocumentReference userReference,
XWikiDocument document,
String comment,
boolean isMinorEdit,
XWikiContext context)
Check if the user is allowed to save the document.
|
void |
XWiki.checkSavingDocument(DocumentReference userReference,
XWikiDocument document,
String comment,
XWikiContext context)
Check if the user is allowed to save the document.
|
void |
XWiki.checkSavingDocument(DocumentReference userReference,
XWikiDocument document,
XWikiContext context)
Check if the user is allowed to save the document.
|
boolean |
XWiki.copyDocument(DocumentReference sourceDocumentReference,
DocumentReference targetDocumentReference,
boolean reset,
boolean force,
boolean resetCreationData,
XWikiContext context) |
boolean |
XWiki.copyDocument(DocumentReference sourceDocumentReference,
DocumentReference targetDocumentReference,
boolean reset,
XWikiContext context) |
boolean |
XWiki.copyDocument(DocumentReference sourceDocumentReference,
DocumentReference targetDocumentReference,
String wikilocale,
boolean reset,
boolean force,
boolean resetCreationData,
XWikiContext context) |
boolean |
XWiki.copyDocument(DocumentReference sourceDocumentReference,
DocumentReference targetDocumentReference,
String wikilocale,
boolean reset,
boolean force,
XWikiContext context) |
boolean |
XWiki.copyDocument(DocumentReference sourceDocumentReference,
DocumentReference targetDocumentReference,
String wikilocale,
boolean reset,
XWikiContext context) |
boolean |
XWiki.copyDocument(DocumentReference sourceDocumentReference,
DocumentReference targetDocumentReference,
String wikilocale,
XWikiContext context) |
boolean |
XWiki.copyDocument(DocumentReference sourceDocumentReference,
DocumentReference targetDocumentReference,
XWikiContext context) |
int |
XWiki.copySpaceBetweenWikis(String space,
String sourceWiki,
String targetWiki,
String locale,
boolean clean,
XWikiContext context) |
int |
XWiki.copySpaceBetweenWikis(String space,
String sourceWiki,
String targetWiki,
String locale,
XWikiContext context) |
int |
XWiki.copyWiki(String sourceWiki,
String targetWiki,
String locale,
boolean clean,
XWikiContext context)
Deprecated.
since 5.3, use
WikiManager.copy(String, String, String, boolean, boolean, boolean) instead |
int |
XWiki.copyWiki(String sourceWiki,
String targetWiki,
String locale,
XWikiContext context)
Deprecated.
since 5.3, use
WikiManager.copy(String, String, String, boolean, boolean, boolean) instead |
int |
XWiki.countAttachments(String parametrizedSqlClause,
List<?> parameterValues,
XWikiContext context)
Count attachments returned by a given parameterized query
|
protected Object |
XWiki.createClassFromConfig(String param,
String defClass,
XWikiContext context) |
boolean |
XWiki.createEmptyUser(String xwikiname,
String userRights,
XWikiContext context)
Method allows to create an empty user with no password (he won't be able to login) This method is usefull for
authentication like LDAP or App Server trusted
|
int |
XWiki.createUser(boolean withValidation,
String userRights,
XWikiContext context) |
int |
XWiki.createUser(String userName,
Map<String,?> map,
EntityReference parentReference,
String content,
org.xwiki.rendering.syntax.Syntax syntax,
String userRights,
XWikiContext context)
Create a new user.
|
int |
XWiki.createUser(String userName,
Map<String,?> map,
String parent,
String content,
String syntaxId,
String userRights,
XWikiContext context)
Deprecated.
since 2.4RC1 use
XWiki.createUser(String, Map, EntityReference, String, Syntax, String, XWikiContext) instead |
int |
XWiki.createUser(String xwikiname,
Map<String,?> map,
String parent,
String content,
String userRights,
XWikiContext context)
Deprecated.
starting with XE 1.8.1 use
XWiki.createUser(String, Map, String, String, String, String, XWikiContext) instead |
int |
XWiki.createUser(String userName,
Map<String,?> map,
String userRights,
XWikiContext context)
Create a new user.
|
int |
XWiki.createUser(String userName,
Map<String,?> map,
XWikiContext context)
Create a new user.
|
int |
XWiki.createUser(XWikiContext context) |
void |
XWiki.deleteAllDocuments(XWikiDocument doc,
boolean toTrash,
XWikiContext context) |
void |
XWiki.deleteAllDocuments(XWikiDocument doc,
XWikiContext context) |
void |
XWiki.deleteDocument(XWikiDocument doc,
boolean totrash,
XWikiContext context) |
void |
XWiki.deleteDocument(XWikiDocument doc,
XWikiContext context) |
void |
XWiki.deleteDocumentVersions(XWikiDocument document,
String version1,
String version2,
XWikiContext context)
Delete a range of versions from a document history.
|
String |
XWiki.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(long index,
XWikiContext context) |
XWikiDeletedDocument |
XWiki.getDeletedDocument(String fullname,
String locale,
int index,
XWikiContext context)
Deprecated.
since 9.4RC1. Use
XWiki.getDeletedDocument(long, XWikiContext) instead. |
XWikiDeletedDocument[] |
XWiki.getDeletedDocuments(String fullname,
String locale,
XWikiContext context) |
XWikiDeletedDocument[] |
XWiki.getDeletedDocuments(String batchId,
XWikiContext context) |
XWikiDocument |
XWiki.getDocument(DocumentReference reference,
String revision,
XWikiContext context)
Deprecated.
sine 9.10RC1, use
DocumentRevisionProvider.getRevision(DocumentReference, String) instead |
XWikiDocument |
XWiki.getDocument(DocumentReference reference,
XWikiContext context) |
XWikiDocument |
XWiki.getDocument(EntityReference reference,
XWikiContext context)
Loads a XWikiDocument from the store.
|
XWikiDocument |
XWiki.getDocument(PageReference reference,
XWikiContext context) |
XWikiDocument |
XWiki.getDocument(String reference,
EntityType type,
XWikiContext xcontext)
Loads a XWikiDocument from the store.
|
XWikiDocument |
XWiki.getDocument(String spaces,
String fullname,
XWikiContext context)
Deprecated.
since 2.2M1 use
XWiki.getDocument(DocumentReference, XWikiContext) instead |
XWikiDocument |
XWiki.getDocument(String fullname,
XWikiContext context)
Deprecated.
since 2.2M1 use
XWiki.getDocument(DocumentReference, XWikiContext) instead |
XWikiDocument |
XWiki.getDocument(XWikiDocument document,
String revision,
XWikiContext context)
Deprecated.
sine 9.10RC1, use
DocumentRevisionProvider.getRevision(XWikiDocument, String) instead |
XWikiDocument |
XWiki.getDocument(XWikiDocument doc,
XWikiContext context) |
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)
Deprecated.
use query service instead
|
List<String> |
XWiki.getSpaces(XWikiContext context)
Deprecated.
use query service instead
|
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 xcontext)
Return the XWiki object (as in "the Wiki API") corresponding to the requested wiki.
|
static XWiki |
XWiki.getXWiki(XWikiContext context)
Return the XWiki object (as in "the Wiki API") corresponding to the requested wiki.
|
String |
XWiki.include(String topic,
boolean isForm,
XWikiContext context) |
XWikiContext |
XWikiContextInitializer.initialize(org.xwiki.context.ExecutionContext econtext) |
boolean |
XWiki.initializeWiki(String wikiId,
boolean wait,
XWikiContext xcontext)
Make sure the wiki is initializing or wait for it.
|
void |
XWiki.initXWiki(XWikiConfig config,
XWikiContext context,
XWikiEngineContext engineContext,
boolean noupdate)
Deprecated.
since 6.1M2, use
XWiki.initXWiki(XWikiContext, XWikiEngineContext, boolean) instead |
void |
XWiki.initXWiki(XWikiContext context,
XWikiEngineContext engineContext,
boolean noupdate)
Initialize all xwiki subsystems.
|
void |
XWikiConfig.loadConfig(InputStream is,
String path)
Deprecated.
|
Object |
XWiki.parseGroovyFromPage(String fullName,
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.renameByCopyAndDelete(XWikiDocument sourceDoc,
DocumentReference newDocumentReference,
List<DocumentReference> backlinkDocumentReferences,
List<DocumentReference> childDocumentReferences,
XWikiContext context)
Deprecated.
Old implementation of the rename by copy and delete. Since 12.5 the implementation using
XWikiStoreInterface.renameXWikiDoc(XWikiDocument, DocumentReference, XWikiContext) should be preferred. |
boolean |
XWiki.renameDocument(DocumentReference sourceDocumentReference,
DocumentReference targetDocumentReference,
boolean overwrite,
List<DocumentReference> backlinkDocumentReferences,
List<DocumentReference> childDocumentReferences,
XWikiContext context)
API to rename a document to another document.
|
void |
XWiki.restoreFromRecycleBin(long index,
String comment,
XWikiContext context)
Restore a document with passed index from recycle bin.
|
void |
XWiki.restoreFromRecycleBin(XWikiDocument doc,
long index,
String comment,
XWikiContext context)
Deprecated.
since 9.4RC1. Use
XWiki.restoreFromRecycleBin(long, String, XWikiContext) instead. |
void |
XWiki.restoreFromRecycleBin(XWikiDocument doc,
String comment,
XWikiContext context)
Restore a document with passed index from recycle bin.
|
XWikiDocument |
XWiki.rollback(XWikiDocument tdoc,
String rev,
boolean addRevision,
XWikiContext xcontext) |
XWikiDocument |
XWiki.rollback(XWikiDocument tdoc,
String rev,
XWikiContext context) |
void |
XWiki.saveDocument(XWikiDocument document,
String comment,
boolean isMinorEdit,
XWikiContext context)
Save the passed document in the store.
|
void |
XWiki.saveDocument(XWikiDocument doc,
String comment,
XWikiContext context) |
void |
XWiki.saveDocument(XWikiDocument doc,
XWikiContext context) |
<T> List<T> |
XWiki.search(String sql,
int nb,
int start,
Object[][] whereParams,
XWikiContext context) |
<T> List<T> |
XWiki.search(String sql,
int nb,
int start,
XWikiContext context) |
<T> List<T> |
XWiki.search(String sql,
Object[][] whereParams,
XWikiContext context) |
<T> List<T> |
XWiki.search(String sql,
XWikiContext context) |
List<XWikiAttachment> |
XWiki.searchAttachments(String parametrizedSqlClause,
boolean checkRight,
int nb,
int start,
List<?> parameterValues,
XWikiContext context)
Deprecated.
since 9.7RC1, use the QueryManager instead along with the "attachment" query filter
|
void |
XWiki.sendConfirmationEmail(String xwikiname,
String password,
String email,
String message,
String contentfield,
XWikiContext context) |
void |
XWiki.sendValidationEmail(String xwikiname,
String password,
String email,
String addfieldname,
String addfieldvalue,
String contentfield,
XWikiContext context) |
void |
XWiki.sendValidationEmail(String xwikiname,
String password,
String email,
String validkey,
String contentfield,
XWikiContext context) |
void |
XWiki.setUserDefaultGroup(String fullwikiname,
XWikiContext context) |
void |
XWiki.updateDatabase(String wikiId,
boolean force,
boolean initDocuments,
XWikiContext context)
Deprecated.
since 8.4RC1, use
XWiki.initializeWiki(String, boolean, XWikiContext) instead |
void |
XWiki.updateDatabase(String wikiId,
boolean force,
XWikiContext context)
Deprecated.
since 8.4RC1, use
XWiki.initializeWiki(String, boolean, XWikiContext) instead |
void |
XWiki.updateDatabase(String wikiId,
XWikiContext context)
Deprecated.
since 8.4RC1, use
XWiki.initializeWiki(String, boolean, XWikiContext) instead |
boolean |
XWiki.validateDocument(XWikiDocument doc,
XWikiContext context) |
int |
XWiki.validateUser(boolean withConfirmEmail,
XWikiContext context) |
Constructor and Description |
---|
XWiki(InputStream is,
XWikiContext context,
XWikiEngineContext engine_context)
Deprecated.
use
XWiki(XWikiContext, XWikiEngineContext, boolean) instead |
XWiki(String xwikicfgpath,
XWikiContext context)
Deprecated.
use
XWiki(XWikiContext) instead |
XWiki(String xwikicfgpath,
XWikiContext context,
XWikiEngineContext engine_context,
boolean noupdate)
Deprecated.
use
XWiki(XWikiContext, XWikiEngineContext, boolean) instead |
XWiki(XWikiConfig config,
XWikiContext context)
Deprecated.
since 6.1M3, use
XWiki(XWikiContext) instead |
XWiki(XWikiConfig config,
XWikiContext context,
XWikiEngineContext engine_context,
boolean noupdate)
Deprecated.
since 6.1M3, use
XWiki(XWikiContext, XWikiEngineContext, boolean) instead |
XWiki(XWikiContext context)
Initialize all xwiki subsystems.
|
XWiki(XWikiContext context,
XWikiEngineContext engineContext,
boolean noupdate)
Initialize all xwiki subsystems.
|
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 wikilocale,
boolean resetHistory,
boolean overwrite)
API to copy a translation of a document to another document of the same name in another wiki additionally
resetting the version and overwriting the previous 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 wikilocale)
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 wikilocale)
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 wikilocale,
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 wikilocale,
boolean reset,
boolean force)
API to copy a translation of a document to another document of the same name in another wiki additionally
resetting the version and overwriting the previous document
|
int |
XWiki.copySpaceBetweenWikis(String space,
String sourceWiki,
String targetWiki,
String locale,
boolean clean)
Privileged API to copy a space to another wiki, optionally deleting all document of the target 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.
|
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.displayDocument() |
String |
Document.displayDocument(boolean restricted) |
String |
Document.displayDocument(org.xwiki.rendering.syntax.Syntax targetSyntax) |
String |
Document.displayDocument(org.xwiki.rendering.syntax.Syntax targetSyntax,
boolean restricted) |
String |
Document.displayRendered(PropertyClass pclass,
String prefix,
Collection object) |
boolean |
XWiki.exists(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
environment (Servlet, Portlet, PDF, etc..) The URL generation can be modified by implementing a new
XWikiURLFactory object For compatibility with any target environment (and especially the portlet environment) It
is important to always use the URL functions to generate URL and never hardcode URLs
|
List<DocumentReference> |
Document.getBackLinkedReferences()
Retrieve the references of the page containing a link to the current page.
|
List<String> |
Document.getBacklinks() |
List<String> |
Document.getChildren()
Get document children.
|
List<String> |
Document.getChildren(int nb,
int start)
Get document children.
|
List<DocumentReference> |
Document.getChildrenReferences()
Get document children references.
|
Class |
XWiki.getClass(EntityReference docReference)
Get the XWiki Class object defined in the passed Document name.
|
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()
Gets the default edit mode for this document.
|
String |
Document.getDefaultEditURL() |
DeletedDocument |
XWiki.getDeletedDocument(String index) |
DeletedDocument |
XWiki.getDeletedDocument(String fullname,
String locale,
String index)
Deprecated.
since 9.4RC1. Use
XWiki.getDeletedDocument(String) instead. |
List<DeletedDocument> |
XWiki.getDeletedDocuments(String batchId) |
List<DeletedDocument> |
XWiki.getDeletedDocuments(String fullname,
String locale) |
Document |
XWiki.getDocument(DocumentReference reference)
Loads a Document from the database.
|
Document |
XWiki.getDocument(DocumentReference reference,
String revision)
Load a specific revision of a document
|
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 documentReference)
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) |
Document |
XWiki.getEntityDocument(String reference,
EntityType type)
Loads an Document from the database.
|
String |
Document.getEscapedContent()
Get the document's content XML-escaped.
|
List<org.suigeneris.jrcs.diff.delta.Delta> |
Document.getLastChanges() |
List<XWikiLink> |
Document.getLinks() |
List<MetaDataDiff> |
Document.getMetaDataDiff(Document origdoc,
Document newdoc) |
Object |
XWiki.getObjectFromRequest(String className)
API to create an object from the request The parameters are the ones that are created from
doc.display("field","edit") calls
|
String |
Document.getParentURL() |
Document |
Document.getPreviousDocument()
Allow to easily access the previous revision of a document
|
String |
Document.getRealLanguage()
Deprecated.
since 8.0M1, use
Document.getRealLocale() instead |
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(boolean transformationContextIsolated)
Execute and render the document in the current context.
|
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)
Deprecated.
use query service instead
|
List<String> |
XWiki.getSpaces()
Deprecated.
use query service instead
|
String |
Document.getTranslatedContent() |
String |
Document.getTranslatedContent(String locale) |
Document |
Document.getTranslatedDocument() |
Document |
Document.getTranslatedDocument(String locale) |
List<Locale> |
Document.getTranslationLocales() |
String |
XWiki.getURL(DocumentReference reference)
API to retrieve the URL of an a Wiki Document in view mode The URL is generated differently depending on the
environment (Servlet, Portlet, PDF, etc..) The URL generation can be modified by implementing a new
XWikiURLFactory object For compatibility with any target environment (and especially the portlet environment) It
is important to always use the URL functions to generate URL and never hardcode 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)
Retrieve the URL of an entity using the default mode/action for that entity type.
|
String |
XWiki.getURL(EntityReference reference,
String action,
String querystring)
API to retrieve the URL of an entity in any mode, optionally adding a query string The URL is generated
differently depending on the environment (Servlet, Portlet, PDF, etc..) The URL generation can be modified by
implementing a new XWikiURLFactory object.
|
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
environment (Servlet, Portlet, PDF, etc..) The URL generation can be modified by implementing a new
XWikiURLFactory object For compatibility with any target environment (and especially the portlet environment) It
is important to always use the URL functions to generate URL and never hardcode 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,
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. |
boolean |
XWiki.renameDocument(DocumentReference sourceDocumentReference,
DocumentReference targetDocumentReference,
boolean overwrite,
List<DocumentReference> backlinkDocumentReferences,
List<DocumentReference> childDocumentReferences)
API to rename a document to another document.
|
void |
Document.save() |
void |
Document.save(String comment) |
void |
Document.save(String comment,
boolean minorEdit) |
void |
Document.saveAsAuthor()
Save the document if the current author of the script calling this method has permission to do so.
|
void |
Document.saveAsAuthor(String comment)
Save the document if the current author of the script calling this method has permission to do so.
|
void |
Document.saveAsAuthor(String comment,
boolean minorEdit)
Save the document if the current author of the script calling this method has permission to do so.
|
protected void |
Document.saveDocument(String comment,
boolean minorEdit) |
void |
Document.saveWithProgrammingRights() |
void |
Document.saveWithProgrammingRights(String comment) |
void |
Document.saveWithProgrammingRights(String comment,
boolean minorEdit) |
List<Attachment> |
XWiki.searchAttachments(String parametrizedSqlClause,
int nb,
int start,
List<?> parameterValues)
Search attachments by passing HQL where clause values as parameters.
|
List<String> |
XWiki.searchDocuments(String wheresql)
Deprecated.
use query service instead
|
List<Document> |
XWiki.searchDocuments(String wheresql,
boolean distinctbylocale)
API allowing to search for documents allowing to have mutliple entries per locale
|
List<Document> |
XWiki.searchDocuments(String wheresql,
boolean distinctbylocale,
int nb,
int start)
API allowing to search for documents allowing to have multiple entries per locale
|
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)
Deprecated.
since 9.10RC1, use
XWikiDocument.setAttachment(String, InputStream, XWikiContext) instead |
BaseObject |
XWikiDocument.addObjectFromRequest(String className,
int num,
XWikiContext context)
Deprecated.
|
BaseObject |
XWikiDocument.addObjectFromRequest(String className,
String prefix,
int num,
XWikiContext context)
Deprecated.
|
BaseObject |
XWikiDocument.addObjectFromRequest(String className,
String prefix,
XWikiContext context)
Deprecated.
|
BaseObject |
XWikiDocument.addObjectFromRequest(String className,
XWikiContext context)
Deprecated.
|
List<BaseObject> |
XWikiDocument.addObjectsFromRequest(String className,
String pref,
XWikiContext context)
Deprecated.
|
List<BaseObject> |
XWikiDocument.addObjectsFromRequest(String className,
XWikiContext context)
Deprecated.
|
void |
XWikiDocument.addToZip(ZipOutputStream zos,
boolean withVersions,
XWikiContext context)
Deprecated.
since 4.2M2
|
void |
XWikiDocument.addToZip(ZipOutputStream zos,
String zipname,
boolean withVersions,
XWikiContext context)
Deprecated.
since 4.1M2
|
void |
XWikiDocument.addToZip(ZipOutputStream zos,
XWikiContext context)
Deprecated.
since 4.1M2
|
BaseObject |
XWikiDocument.addXObjectFromRequest(DocumentReference classReference,
int num,
XWikiContext context)
Adds object from an new object creation form.
|
BaseObject |
XWikiDocument.addXObjectFromRequest(DocumentReference classReference,
String prefix,
XWikiContext context)
Adds an object from an new object creation form.
|
BaseObject |
XWikiDocument.addXObjectFromRequest(EntityReference classReference,
String prefix,
int num,
XWikiContext context)
Adds object from an new object creation form.
|
BaseObject |
XWikiDocument.addXObjectFromRequest(EntityReference classReference,
XWikiContext context)
Adds an object from an new object creation form.
|
BaseObject |
XWikiDocument.addXObjectFromRequest(XWikiContext context)
Adds an object from an new object creation form.
|
List<BaseObject> |
XWikiDocument.addXObjectsFromRequest(DocumentReference classReference,
String pref,
XWikiContext context)
Adds multiple objects from an new objects creation form.
|
List<BaseObject> |
XWikiDocument.addXObjectsFromRequest(DocumentReference classReference,
XWikiContext context)
Adds multiple objects from an new objects creation form.
|
XWikiDocumentArchive |
XWikiDocumentArchive.clone(long docId,
XWikiContext context) |
XWikiDocument |
XWikiDocument.cloneRename(DocumentReference newDocumentReference,
XWikiContext context)
Clone a document and change its reference.
|
boolean |
XWikiAttachment.contentExists(XWikiContext xcontext) |
void |
XWikiDocument.convertSyntax(String targetSyntaxId,
XWikiContext context)
Convert the current document content from its current syntax to the new syntax passed as parameter.
|
void |
XWikiDocument.convertSyntax(org.xwiki.rendering.syntax.Syntax targetSyntax,
XWikiContext context)
Convert the current document content from its current syntax to the new syntax passed as parameter.
|
XWikiDocument |
XWikiDocument.copyDocument(DocumentReference newDocumentReference,
XWikiContext context) |
XWikiDocument |
XWikiDocument.copyDocument(String newDocumentName,
XWikiContext context)
Deprecated.
since 2.2M1 use
XWikiDocument.copyDocument(DocumentReference, XWikiContext) instead |
int |
XWikiDocument.createNewObject(String className,
XWikiContext context)
Deprecated.
since 2.2M1 use
XWikiDocument.createXObject(EntityReference, XWikiContext) instead |
int |
XWikiDocument.createXObject(EntityReference classReference,
XWikiContext context)
Create and add a new object to the document with the provided class.
|
String |
XWikiDocument.displayDocument(boolean restricted,
XWikiContext context)
Execute and render the current document in the current context.
|
String |
XWikiDocument.displayDocument(org.xwiki.rendering.syntax.Syntax targetSyntax,
boolean restricted,
XWikiContext context)
Execute and render the current document in the current context.
|
String |
XWikiDocument.displayDocument(org.xwiki.rendering.syntax.Syntax targetSyntax,
XWikiContext context)
Execute and render the current document in the current context.
|
String |
XWikiDocument.displayDocument(XWikiContext context)
Execute and render the current document in the current context.
|
String |
XWikiDocument.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)
Deprecated.
since 9.0RC1, use
XWikiDocument.fromXML(InputStream) instead |
void |
XWikiAttachment.fromXML(org.dom4j.Element docel) |
void |
XWikiAttachment.fromXML(org.xwiki.filter.input.InputSource source) |
void |
XWikiDocument.fromXML(org.xwiki.filter.input.InputSource source,
boolean withArchive) |
void |
XWikiDocument.fromXML(InputStream is) |
void |
XWikiDocument.fromXML(InputStream source,
boolean withArchive) |
void |
XWikiAttachment.fromXML(String source) |
void |
XWikiDocument.fromXML(String xml) |
void |
XWikiDocument.fromXML(String source,
boolean withArchive) |
byte[] |
XWikiAttachmentArchive.getArchive()
Get the archive if it is currently stored in RAM.
|
byte[] |
XWikiAttachmentArchive.getArchive(XWikiContext context)
Get the archive, loading it from the database if necessary.
|
String |
XWikiDocumentArchive.getArchive(XWikiContext context) |
String |
XWikiAttachmentArchive.getArchiveAsString()
Get the archive if it is currently stored in RAM.
|
String |
XWikiAttachmentArchive.getArchiveAsString(XWikiContext context)
Get the archive, loading it from the database if necessary.
|
XWikiAttachmentArchive |
XWikiAttachment.getAttachmentArchive(XWikiContext xcontext) |
XWikiAttachmentContent |
XWikiAttachment.getAttachmentContent(XWikiContext xcontext) |
XWikiAttachment |
XWikiAttachment.getAttachmentRevision(String rev,
XWikiContext context) |
List<String> |
XWikiDocument.getBackLinkedPages(XWikiContext context)
Deprecated.
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 xcontext)
Deprecated.
|
String |
DeletedAttachmentContent.getContentAsString() |
String |
XWikiDeletedDocumentContent.getContentAsString() |
List<org.suigeneris.jrcs.diff.delta.Delta> |
XWikiDocument.getContentDiff(String fromRev,
String toRev,
XWikiContext context) |
List<org.suigeneris.jrcs.diff.delta.Delta> |
XWikiDocument.getContentDiff(String fromRev,
XWikiContext context) |
List<org.suigeneris.jrcs.diff.delta.Delta> |
XWikiDocument.getContentDiff(XWikiDocument fromDoc,
XWikiDocument toDoc,
XWikiContext context) |
InputStream |
XWikiAttachment.getContentInputStream(XWikiContext xcontext)
Retrieve the content of this attachment as an input stream.
|
long |
XWikiAttachment.getContentLongSize(XWikiContext context) |
String |
XWikiDocument.getContentOfSection(int sectionNumber)
Return the content of a section.
|
int |
XWikiAttachment.getContentSize(XWikiContext context)
Deprecated.
since 9.0RC1, use
XWikiAttachment.getContentLongSize(XWikiContext) instead |
String |
XWikiDocument.getDefaultEditMode(XWikiContext context)
Gets the default edit mode for this document.
|
String |
XWikiDocument.getDefaultEditURL(XWikiContext context) |
XWikiDocumentArchive |
XWikiDocument.getDocumentArchive(XWikiContext context) |
XWikiDocumentArchive |
LazyXWikiDocument.getDocumentArchive(XWikiContext context) |
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(boolean transformationContextIsolated,
XWikiContext context) |
String |
XWikiDocument.getRenderedContent(org.xwiki.rendering.syntax.Syntax targetSyntax,
boolean transformationContextIsolated,
XWikiContext context)
Execute and render the document or its translation in the current context.
|
String |
XWikiDocument.getRenderedContent(org.xwiki.rendering.syntax.Syntax targetSyntax,
XWikiContext context) |
String |
XWikiDocument.getRenderedContent(XWikiContext context) |
List<org.suigeneris.jrcs.diff.delta.Delta> |
XWikiDocument.getRenderedContentDiff(String fromRev,
String toRev,
XWikiContext context) |
List<org.suigeneris.jrcs.diff.delta.Delta> |
XWikiDocument.getRenderedContentDiff(String fromRev,
XWikiContext context) |
List<org.suigeneris.jrcs.diff.delta.Delta> |
XWikiDocument.getRenderedContentDiff(XWikiDocument fromDoc,
XWikiDocument toDoc,
XWikiContext context) |
XWikiDocument |
DocumentRevisionProvider.getRevision(DocumentReference reference,
String revision)
Load the document in the provided revision.
|
XWikiAttachment |
XWikiAttachmentArchive.getRevision(XWikiAttachment attachment,
String rev,
XWikiContext context)
Get an old revision of the attachment which this is an archive of.
|
XWikiDocument |
DocumentRevisionProvider.getRevision(XWikiDocument document,
String revision)
Load the document in the provided revision.
|
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 locale,
XWikiContext context) |
String |
XWikiDocument.getTranslatedContent(XWikiContext context) |
XWikiDocument |
XWikiDocument.getTranslatedDocument(Locale locale,
XWikiContext context)
Return the document in the provided language.
|
XWikiDocument |
XWikiDocument.getTranslatedDocument(String language,
XWikiContext context)
Deprecated.
since 4.3M2 use
XWikiDocument.getTranslatedDocument(Locale, XWikiContext) insead |
XWikiDocument |
XWikiDocument.getTranslatedDocument(XWikiContext context) |
List<String> |
XWikiDocument.getTranslationList(XWikiContext context)
Deprecated.
since 5.1M2 use
XWikiDocument.getTranslationLocales(XWikiContext) instead |
List<Locale> |
XWikiDocument.getTranslationLocales(XWikiContext context)
The locales of the translation of this document (the default locale is not included).
|
Set<XWikiLink> |
XWikiDocument.getUniqueWikiLinkedPages(XWikiContext context)
Get a list of unique links from this document to others documents.
|
List<org.suigeneris.jrcs.rcs.Version> |
XWikiAttachment.getVersionList()
Get the list of all versions up to the current.
|
String |
XWikiDocumentArchive.getVersionXml(org.suigeneris.jrcs.rcs.Version version,
XWikiContext context)
Return the XML corresponding to a version.
|
String |
XWikiDocument.getXMLContent(XWikiContext context)
Retrieve the document in the current context language as an XML string.
|
List<org.suigeneris.jrcs.diff.delta.Delta> |
XWikiDocument.getXMLDiff(XWikiDocument fromDoc,
XWikiDocument toDoc,
XWikiContext context) |
BaseObject |
XWikiDocument.getXObject(EntityReference classReference,
int number,
boolean create,
XWikiContext xcontext)
Get an xobject with the passed xclass at the passed location.
|
XWikiAttachment |
DeletedAttachmentContent.getXWikiAttachment(XWikiAttachment attachment) |
XWikiDocument |
XWikiDeletedDocumentContent.getXWikiDocument(XWikiDocument document) |
void |
XWikiDocument.insertText(String text,
String marker,
XWikiContext context) |
void |
XWikiDocument.loadArchive(XWikiContext context) |
void |
LazyXWikiDocument.loadArchive(XWikiContext context) |
void |
XWikiDocument.loadAttachmentContent(XWikiAttachment attachment,
XWikiContext context)
Deprecated.
since 9.9RC1, use
XWikiAttachment.loadContent(XWikiContext) |
void |
XWikiAttachment.loadAttachmentContent(XWikiContext xcontext) |
void |
XWikiDocument.loadAttachments(XWikiContext context) |
void |
XWikiDocument.loadAttachmentsContent(XWikiContext context)
Load attachment content from database.
|
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
<spacename>.<classname>_<number>_<propertyname> . |
void |
XWikiDocument.readTranslationMetaFromForm(EditForm eform,
XWikiContext context) |
void |
XWikiDocument.removeLock(XWikiContext context) |
void |
XWikiDocumentArchive.removeVersions(org.suigeneris.jrcs.rcs.Version newerVersion,
org.suigeneris.jrcs.rcs.Version olderVersion,
XWikiContext context)
Remove document versions from vfrom to vto, inclusive.
|
void |
XWikiDocument.rename(DocumentReference newDocumentReference,
List<DocumentReference> backlinkDocumentReferences,
List<DocumentReference> childDocumentReferences,
XWikiContext context)
Deprecated.
Since 12.5RC1 prefer using
XWiki.renameDocument(DocumentReference, DocumentReference, boolean, List, List, XWikiContext) . |
void |
XWikiDocument.rename(DocumentReference newDocumentReference,
List<DocumentReference> backlinkDocumentReferences,
XWikiContext context)
Deprecated.
Since 12.5RC1 prefer using
XWiki.renameDocument(DocumentReference, DocumentReference, boolean, List, List, XWikiContext) . |
void |
XWikiDocument.rename(DocumentReference newDocumentReference,
XWikiContext context)
Deprecated.
Since 12.5RC1 prefer using
XWiki.renameDocument(DocumentReference, DocumentReference, boolean, List, List, XWikiContext) . |
protected static String |
XWikiDocument.renderXDOM(org.xwiki.rendering.block.XDOM content,
org.xwiki.rendering.syntax.Syntax targetSyntax)
Render provided XDOM into content of the provided syntax identifier.
|
void |
XWikiDocument.resetArchive(XWikiContext context) |
XWikiAttachment |
DeletedAttachment.restoreAttachment() |
XWikiAttachment |
DeletedAttachment.restoreAttachment(XWikiAttachment attachment)
Restore a
XWikiAttachment from a DeletedAttachment . |
XWikiAttachment |
DeletedAttachment.restoreAttachment(XWikiAttachment attachment,
XWikiContext context)
Deprecated.
since 9.9RC1, use
DeletedAttachment.restoreAttachment(XWikiAttachment) instead |
XWikiDocument |
XWikiDeletedDocument.restoreDocument(XWikiContext context) |
XWikiDocument |
XWikiDeletedDocument.restoreDocument(XWikiDocument doc,
XWikiContext context) |
void |
XWikiDocument.saveAllAttachments(boolean updateParent,
boolean transaction,
XWikiContext context)
Deprecated.
should not be used, save the document instead
|
void |
XWikiDocument.saveAllAttachments(XWikiContext context)
Deprecated.
should not be used, save the document instead
|
void |
XWikiDocument.saveAttachmentContent(XWikiAttachment attachment,
boolean updateParent,
boolean transaction,
XWikiContext context)
Deprecated.
should not be used, save the document instead
|
void |
XWikiDocument.saveAttachmentContent(XWikiAttachment attachment,
XWikiContext context)
Deprecated.
should not be used, save the document instead
|
void |
XWikiDocument.saveAttachmentsContent(List<XWikiAttachment> attachments,
XWikiContext context)
Deprecated.
should not be used, save the document instead
|
void |
XWikiAttachmentArchive.setArchive(byte[] data)
Set the archive from a byte array representation of a JRCS archive.
|
void |
XWikiAttachment.setArchive(String data) |
void |
XWikiAttachmentArchive.setArchive(String data)
Set the archive from a byte array representation of a JRCS archive.
|
void |
XWikiDocumentArchive.setArchive(String text)
Deserialize class.
|
protected void |
DeletedAttachment.setAttachment(XWikiAttachment attachment,
XWikiContext context)
Deprecated.
since 9.9RC1, use
DeletedAttachment(long, String, String, String, String, Date, DeletedAttachmentContent)
instead |
void |
XWikiDocument.setContent(org.xwiki.rendering.block.XDOM content) |
protected void |
XWikiDeletedDocument.setDocument(XWikiDocument doc,
XWikiContext context)
Deprecated.
since 9.0RC1, use
instead |
void |
XWikiDocument.setDocumentArchive(String sarch) |
void |
XWikiDocument.setLock(String userName,
XWikiContext context) |
void |
XWikiDocument.setTags(String tagsStr,
XWikiContext context)
add tags to the document.
|
String |
XWikiDocument.toFullXML(XWikiContext context)
Retrieve the document as an XML string.
|
String |
XWikiAttachment.toStringXML(boolean bWithAttachmentContent,
boolean bWithVersions,
XWikiContext context)
Retrieve an attachment as an XML string.
|
String |
XWikiAttachment.toXML()
Retrieve an attachment as an XML string.
|
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(DocumentInstanceInputProperties documentProperties,
XAROutputProperties xarProperties)
Serialize the document to an OutputStream.
|
void |
XWikiDocument.toXML(OutputStream out,
boolean bWithObjects,
boolean bWithRendering,
boolean bWithAttachmentContent,
boolean bWithVersions,
XWikiContext context)
Serialize the document to an OutputStream.
|
void |
XWikiDocument.toXML(org.xwiki.filter.output.OutputTarget out,
boolean bWithObjects,
boolean bWithRendering,
boolean bWithAttachmentContent,
boolean bWithVersions,
boolean format,
String encoding)
Serialize the document to an OutputStream.
|
void |
XWikiAttachment.toXML(org.xwiki.filter.output.OutputTarget out,
boolean bWithAttachmentContent,
boolean bWithVersions,
boolean format,
String encoding)
Write an XML representation of the attachment into an
XMLWriter |
void |
XWikiAttachment.toXML(org.xwiki.filter.output.OutputTarget out,
boolean bWithAttachmentContent,
boolean bWithVersions,
boolean format,
XWikiContext context)
Write an XML representation of the attachment into an
XMLWriter |
void |
XWikiDocument.toXML(com.xpn.xwiki.internal.xml.XMLWriter wr,
boolean bWithObjects,
boolean bWithRendering,
boolean bWithAttachmentContent,
boolean bWithVersions,
XWikiContext context)
Deprecated.
since 9.0RC1, use
XWikiDocument.toXML(OutputTarget, boolean, boolean, boolean, boolean, boolean, String)
instead |
void |
XWikiAttachment.toXML(com.xpn.xwiki.internal.xml.XMLWriter wr,
boolean bWithAttachmentContent,
boolean bWithVersions,
XWikiContext context)
Write an XML representation of the attachment into an
XMLWriter |
org.dom4j.Element |
XWikiAttachment.toXML(XWikiContext context)
Retrieve XML representation of attachment's metadata into an
Element . |
String |
XWikiDocument.toXML(XWikiContext context)
Retrieve the document as an XML string.
|
org.dom4j.Document |
XWikiDocument.toXMLDocument(boolean bWithObjects,
boolean bWithRendering,
boolean bWithAttachmentContent,
boolean bWithVersions,
XWikiContext context)
Deprecated.
since 9.0RC1, use
XWikiDocument.toXML(OutputTarget, boolean, boolean, boolean, boolean, boolean, String)
instead |
org.dom4j.Document |
LazyXWikiDocument.toXMLDocument(boolean bWithObjects,
boolean bWithRendering,
boolean bWithAttachmentContent,
boolean bWithVersions,
XWikiContext context) |
org.dom4j.Document |
XWikiDocument.toXMLDocument(XWikiContext context)
Deprecated.
since 9.0RC1, use
XWikiDocument.toXML(OutputTarget, boolean, boolean, boolean, boolean, boolean, String)
instead |
void |
XWikiAttachmentArchive.updateArchive(byte[] data,
XWikiContext context)
Deprecated.
since 7.1M1, use
XWikiAttachmentArchive.updateArchive(XWikiContext) instead |
void |
XWikiAttachmentArchive.updateArchive(XWikiContext context)
Update the archive.
|
void |
XWikiDocumentArchive.updateArchive(XWikiDocument doc,
String author,
Date date,
String comment,
org.suigeneris.jrcs.rcs.Version version,
XWikiContext context)
Update history with new document version.
|
void |
XWikiAttachment.updateContentArchive(XWikiContext context) |
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(String fullName,
Locale locale,
String storeType,
String deleter,
Date deleteDate,
XWikiDeletedDocumentContent content) |
XWikiDeletedDocument(String fullName,
Locale locale,
String storeType,
String deleter,
Date deleteDate,
XWikiDeletedDocumentContent content,
String batchId) |
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 |
---|---|
protected void |
BaseElement.fromXML(org.dom4j.Element oel) |
void |
BaseObject.fromXML(org.dom4j.Element oel) |
void |
BaseElement.fromXML(String source) |
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 |
PropertyClass.fromXML(org.dom4j.Element element) |
void |
BaseClass.fromXML(org.dom4j.Element element) |
void |
BaseClass.fromXML(String xml) |
boolean |
BaseClass.isCustomMappingValid(String custommapping,
XWikiContext context) |
boolean |
BaseClass.isCustomMappingValid(XWikiContext context) |
BaseObject |
BaseClass.newCustomClassInstance(boolean fallback) |
static BaseObject |
BaseClass.newCustomClassInstance(DocumentReference classReference,
boolean fallback,
XWikiContext context) |
static BaseObject |
BaseClass.newCustomClassInstance(DocumentReference classReference,
XWikiContext context) |
static BaseObject |
BaseClass.newCustomClassInstance(String className,
XWikiContext context)
Deprecated.
|
BaseObject |
BaseClass.newCustomClassInstance(XWikiContext context) |
BaseCollection |
BaseClass.newObject(XWikiContext context)
Deprecated.
|
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 |
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 uploadSizeThreshold,
String tempdir,
XWikiContext context)
Loads the list of uploaded files in the context if there are any uploaded files.
|
void |
FileUploadPlugin.loadFileList(XWikiContext context)
Loads the list of uploaded files in the context if there are any uploaded files.
|
Modifier and Type | Class and Description |
---|---|
class |
PackageException
Deprecated.
since 5.2, use Filter framework instead
|
Modifier and Type | Method and Description |
---|---|
boolean |
PackageAPI.add(String docFullName)
Deprecated.
|
boolean |
PackageAPI.add(String docFullName,
int DefaultAction)
Deprecated.
|
boolean |
Package.add(String docFullName,
int DefaultAction,
XWikiContext context)
Deprecated.
|
boolean |
Package.add(String docFullName,
String language,
int DefaultAction,
XWikiContext context)
Deprecated.
|
boolean |
Package.add(String docFullName,
String language,
XWikiContext context)
Deprecated.
|
boolean |
Package.add(String docFullName,
XWikiContext context)
Deprecated.
|
boolean |
Package.add(XWikiDocument doc,
int defaultAction,
XWikiContext context)
Deprecated.
|
boolean |
Package.add(XWikiDocument doc,
XWikiContext context)
Deprecated.
|
void |
Package.addAllWikiDocuments(XWikiContext context)
Deprecated.
|
void |
Package.addToDir(XWikiDocument doc,
File dir,
boolean withVersions,
XWikiContext context)
Deprecated.
|
void |
Package.addToZip(XWikiDocument doc,
ZipOutputStream zos,
boolean withVersions,
XWikiContext context)
Deprecated.
since 4.1M2
|
void |
PackageAPI.backupWiki()
Deprecated.
|
void |
Package.deleteAllWikiDocuments(XWikiContext context)
Deprecated.
|
String |
PackageAPI.export()
Deprecated.
|
String |
Package.export(OutputStream os,
XWikiContext context)
Deprecated.
|
String |
Package.exportToDir(File dir,
XWikiContext context)
Deprecated.
|
String |
PackageAPI.Import(byte[] file)
Deprecated.
Load a package in memory from a byte array.
|
String |
Package.Import(byte[] file,
XWikiContext context)
Deprecated.
Load this package in memory from a byte array.
|
String |
PackageAPI.Import(InputStream file)
Deprecated.
Load a package in memory from an InputStream.
|
String |
Package.Import(InputStream file,
XWikiContext context)
Deprecated.
Load this package in memory from an InputStream.
|
int |
PackageAPI.install()
Deprecated.
|
int |
Package.install(XWikiContext context)
Deprecated.
|
String |
Package.readFromDir(File dir,
XWikiContext context)
Deprecated.
Load document files from provided directory and sub-directories into packager.
|
int |
Package.readFromDir(File dir,
XWikiContext context,
org.dom4j.Document description)
Deprecated.
Load document files from provided directory and sub-directories into packager.
|
boolean |
Package.updateDoc(String docFullName,
int action,
XWikiContext context)
Deprecated.
|
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)
Deprecated.
since 10.8RC1, use org.xwiki.user.script.GroupScriptService ($services.user.group) instead
|
int |
RightsManager.countAllGroupsNamesForMember(String member,
XWikiContext context)
Deprecated.
since 10.8RC1, use org.xwiki.user.group.GroupManager component instead
|
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 |
RightsManager.countAllMatchedMembersNamesForGroup(String group,
String filter,
XWikiContext xcontext)
Filters the members of the specified group using the given text and counts the results.
|
int |
RightsManagerUsersApi.countAllMatchedUsers(Map<?,?> matchFields) |
int |
RightsManagerGroupsApi.countAllMatchedWikiGroups(String wikiName,
Map<?,?> matchFields)
Get the number of groups in the provided wiki.
|
int |
RightsManagerUsersApi.countAllMatchedWikiUsers(String wikiName,
Map<?,?> matchFields)
Get the number of users in the provided wiki.
|
int |
RightsManagerPluginApi.countAllMembersNamesForGroup(String group)
Deprecated.
since 10.8RC1, use org.xwiki.user.script.GroupScriptService ($services.user.group) instead
|
int |
RightsManager.countAllMembersNamesForGroup(String group,
XWikiContext context)
Deprecated.
since 10.8RC1, use org.xwiki.user.group.GroupManager component instead
|
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)
Deprecated.
since 10.8RC1, use org.xwiki.user.script.GroupScriptService ($services.user.group) instead
|
Collection<String> |
RightsManager.getAllGroupsNamesForMember(String member,
int nb,
int start,
XWikiContext context)
Deprecated.
since 10.8RC1, use org.xwiki.user.group.GroupManager component instead
|
List<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)
Deprecated.
since 10.8RC1, use org.xwiki.user.script.GroupScriptService ($services.user.group) instead
|
Collection<String> |
RightsManagerPluginApi.getAllMembersNamesForGroup(String group,
int nb,
int start)
Deprecated.
since 10.8RC1, use org.xwiki.user.script.GroupScriptService ($services.user.group) instead
|
Collection<String> |
RightsManager.getAllMembersNamesForGroup(String group,
int nb,
int start,
XWikiContext context)
Deprecated.
since 10.8RC1, use org.xwiki.user.group.GroupManager component instead
|
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.
|
void |
RightsManager.replaceUserOrGroupFromAllRights(DocumentReference userOrGroupSourceReference,
DocumentReference userOrGroupTargetReference,
boolean user,
XWikiContext context)
Replace a user or a group reference with another one on all rights of the current wiki.
|
Collection<DocumentReference> |
RightsManager.resolveUsers(DocumentReference userOrGroup,
XWikiContext context)
Resolve passed user or group into users references list.
|
Collection<DocumentReference> |
RightsManager.resolveUsers(List<String> referenceList,
XWikiContext context)
Resolve passed users and groups into users references list.
|
Collection<DocumentReference> |
RightsManager.resolveUsers(String userOrGroup,
XWikiContext context)
Resolve passed user or group into users references list.
|
Constructor and Description |
---|
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 |
XWikiHibernateAttachmentStore.attachmentContentExists(XWikiAttachment attachment,
XWikiContext inputxcontext,
boolean bTransaction) |
default boolean |
XWikiAttachmentStoreInterface.attachmentContentExists(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction) |
boolean |
XWikiHibernateBaseStore.beginTransaction(boolean withTransaction,
XWikiContext context)
Deprecated.
|
boolean |
XWikiHibernateBaseStore.beginTransaction(org.hibernate.SessionFactory sfactory,
boolean withTransaction,
XWikiContext context)
Deprecated.
|
boolean |
XWikiHibernateBaseStore.beginTransaction(org.hibernate.SessionFactory sfactory,
XWikiContext inputxcontext)
Begins a transaction with a specific SessionFactory.
|
boolean |
XWikiHibernateBaseStore.beginTransaction(XWikiContext context)
Begins a transaction if the context does not contains any.
|
int |
XWikiStoreInterface.countDocuments(String parametrizedSqlClause,
List<?> parameterValues,
XWikiContext context)
API allowing to count the total number of documents that would be returned by a parameterized query.
|
int |
XWikiCacheStore.countDocuments(String parametrizedSqlClause,
List<?> parameterValues,
XWikiContext context) |
int |
XWikiHibernateStore.countDocuments(String parametrizedSqlClause,
List<?> parameterValues,
XWikiContext context) |
int |
XWikiStoreInterface.countDocuments(String wheresql,
XWikiContext context)
API allowing to count the total number of documents that would be returned by a query.
|
int |
XWikiCacheStore.countDocuments(String wheresql,
XWikiContext context) |
int |
XWikiHibernateStore.countDocuments(String wheresql,
XWikiContext context) |
void |
XWikiStoreInterface.createWiki(String wikiName,
XWikiContext context)
Allows to create a new wiki database and initialize the default tables.
|
void |
XWikiCacheStore.createWiki(String wikiName,
XWikiContext context) |
void |
XWikiHibernateStore.createWiki(String wikiName,
XWikiContext inputxcontext) |
void |
AttachmentRecycleBinContentStore.delete(AttachmentReference reference,
Date deleteDate,
long index,
boolean bTransaction)
Permanently delete attachment content from recycle bin.
|
void |
XWikiRecycleBinContentStoreInterface.delete(DocumentReference reference,
long index,
boolean bTransaction)
Permanently delete document content from recycle bin.
|
void |
AttachmentVersioningStore.deleteArchive(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction)
Permanently delete attachment archive.
|
void |
VoidAttachmentVersioningStore.deleteArchive(XWikiAttachment attachment,
XWikiContext context,
boolean transaction) |
void |
XWikiHibernateVersioningStore.deleteArchive(XWikiDocument doc,
boolean bTransaction,
XWikiContext context) |
void |
XWikiVersioningStoreInterface.deleteArchive(XWikiDocument doc,
boolean bTransaction,
XWikiContext context)
Delete all history for a document.
|
void |
XWikiHibernateRecycleBinStore.deleteFromRecycleBin(long index,
XWikiContext context,
boolean bTransaction) |
default void |
XWikiRecycleBinStoreInterface.deleteFromRecycleBin(long index,
XWikiContext context,
boolean bTransaction)
Permanently delete document from recycle bin.
|
void |
AttachmentRecycleBinStore.deleteFromRecycleBin(long index,
XWikiContext context,
boolean bTransaction)
Permanently delete attachment from recycle bin.
|
void |
XWikiHibernateRecycleBinStore.deleteFromRecycleBin(XWikiDocument doc,
long index,
XWikiContext context,
boolean bTransaction) |
void |
XWikiRecycleBinStoreInterface.deleteFromRecycleBin(XWikiDocument doc,
long index,
XWikiContext context,
boolean bTransaction)
Deprecated.
since 9.4RC1. The document parameter is useless and gets in the way. Use
XWikiRecycleBinStoreInterface.deleteFromRecycleBin(long, XWikiContext, boolean) instead. |
void |
XWikiStoreInterface.deleteLinks(long docId,
XWikiContext context,
boolean bTransaction) |
void |
XWikiCacheStore.deleteLinks(long docId,
XWikiContext context,
boolean bTransaction) |
void |
XWikiHibernateStore.deleteLinks(long docId,
XWikiContext inputxcontext,
boolean bTransaction) |
void |
XWikiStoreInterface.deleteLock(XWikiLock lock,
XWikiContext context,
boolean bTransaction) |
void |
XWikiCacheStore.deleteLock(XWikiLock lock,
XWikiContext context,
boolean bTransaction) |
void |
XWikiHibernateStore.deleteLock(XWikiLock lock,
XWikiContext inputxcontext,
boolean bTransaction) |
void |
XWikiStoreInterface.deleteWiki(String wikiName,
XWikiContext context)
Delete a wiki database.
|
void |
XWikiCacheStore.deleteWiki(String wikiName,
XWikiContext context) |
void |
XWikiHibernateStore.deleteWiki(String wikiName,
XWikiContext inputxcontext) |
void |
XWikiHibernateAttachmentStore.deleteXWikiAttachment(XWikiAttachment attachment,
boolean parentUpdate,
XWikiContext inputxcontext,
boolean bTransaction) |
void |
XWikiAttachmentStoreInterface.deleteXWikiAttachment(XWikiAttachment attachment,
boolean parentUpdate,
XWikiContext context,
boolean bTransaction) |
void |
XWikiHibernateAttachmentStore.deleteXWikiAttachment(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction) |
void |
XWikiAttachmentStoreInterface.deleteXWikiAttachment(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction) |
void |
XWikiHibernateStore.deleteXWikiCollection(BaseCollection object,
XWikiContext inputxcontext,
boolean bTransaction,
boolean evict)
Deprecated.
This is internal to XWikiHibernateStore and may be removed in the future.
|
void |
XWikiStoreInterface.deleteXWikiDoc(XWikiDocument doc,
XWikiContext context) |
void |
XWikiCacheStore.deleteXWikiDoc(XWikiDocument doc,
XWikiContext inputxcontext) |
void |
XWikiHibernateStore.deleteXWikiDoc(XWikiDocument doc,
XWikiContext inputxcontext) |
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 inputxcontext,
boolean doCommit,
XWikiHibernateBaseStore.HibernateCallback<T> cb)
Execute method for operations in hibernate.
|
<T> T |
XWikiHibernateBaseStore.executeRead(XWikiContext context,
boolean bTransaction,
XWikiHibernateBaseStore.HibernateCallback<T> cb)
|
<T> T |
XWikiHibernateBaseStore.executeRead(XWikiContext context,
XWikiHibernateBaseStore.HibernateCallback<T> cb)
Execute method for read-only operations in hibernate.
|
<T> T |
XWikiHibernateBaseStore.executeWrite(XWikiContext context,
boolean bTransaction,
XWikiHibernateBaseStore.HibernateCallback<T> cb)
|
<T> T |
XWikiHibernateBaseStore.executeWrite(XWikiContext context,
XWikiHibernateBaseStore.HibernateCallback<T> cb)
Execute method for read-write operations in hibernate.
|
boolean |
XWikiStoreInterface.exists(XWikiDocument doc,
XWikiContext context) |
boolean |
XWikiCacheStore.exists(XWikiDocument doc,
XWikiContext inputxcontext) |
boolean |
XWikiHibernateStore.exists(XWikiDocument doc,
XWikiContext inputxcontext)
Verifies if a wiki document exists
|
DeletedAttachmentContent |
AttachmentRecycleBinContentStore.get(AttachmentReference reference,
Date deleteDate,
long index,
boolean bTransaction) |
XWikiDeletedDocumentContent |
XWikiRecycleBinContentStoreInterface.get(DocumentReference reference,
long index,
boolean bTransaction) |
List<DeletedAttachment> |
AttachmentRecycleBinStore.getAllDeletedAttachments(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction)
Get all the deleted attachments from the database matching an attachment template (document name and filename).
|
List<DeletedAttachment> |
AttachmentRecycleBinStore.getAllDeletedAttachments(XWikiDocument doc,
XWikiContext context,
boolean bTransaction)
Get all the deleted attachments for a given document.
|
XWikiDeletedDocument[] |
XWikiHibernateRecycleBinStore.getAllDeletedDocuments(String batchId,
boolean withContent,
XWikiContext context,
boolean bTransaction) |
default XWikiDeletedDocument[] |
XWikiRecycleBinStoreInterface.getAllDeletedDocuments(String batchId,
boolean withContent,
XWikiContext context,
boolean bTransaction) |
XWikiDeletedDocument[] |
XWikiHibernateRecycleBinStore.getAllDeletedDocuments(String batchId,
XWikiContext context,
boolean bTransaction) |
default XWikiDeletedDocument[] |
XWikiRecycleBinStoreInterface.getAllDeletedDocuments(String batchId,
XWikiContext context,
boolean bTransaction) |
XWikiDeletedDocument[] |
XWikiHibernateRecycleBinStore.getAllDeletedDocuments(XWikiDocument doc,
XWikiContext context,
boolean bTransaction) |
XWikiDeletedDocument[] |
XWikiRecycleBinStoreInterface.getAllDeletedDocuments(XWikiDocument doc,
XWikiContext context,
boolean bTransaction) |
Long[] |
XWikiHibernateRecycleBinStore.getAllDeletedDocumentsIds(XWikiContext context,
int limit) |
default Long[] |
XWikiRecycleBinStoreInterface.getAllDeletedDocumentsIds(XWikiContext context,
int limit)
Get all the deleted documents ID or a specified number.
|
byte[] |
VoidAttachmentVersioningStore.VoidAttachmentArchive.getArchive(XWikiContext context) |
List<String> |
XWikiStoreInterface.getClassList(XWikiContext context) |
List<String> |
XWikiCacheStore.getClassList(XWikiContext context) |
List<String> |
XWikiHibernateStore.getClassList(XWikiContext inputxcontext) |
DeletedAttachment |
AttachmentRecycleBinStore.getDeletedAttachment(long index,
XWikiContext context,
boolean bTransaction)
Returns a
handler for a deleted attachment. |
XWikiDeletedDocument |
XWikiHibernateRecycleBinStore.getDeletedDocument(long index,
XWikiContext context,
boolean bTransaction) |
default XWikiDeletedDocument |
XWikiRecycleBinStoreInterface.getDeletedDocument(long index,
XWikiContext context,
boolean bTransaction) |
XWikiDeletedDocument |
XWikiHibernateRecycleBinStore.getDeletedDocument(XWikiDocument doc,
long index,
XWikiContext context,
boolean bTransaction) |
XWikiDeletedDocument |
XWikiRecycleBinStoreInterface.getDeletedDocument(XWikiDocument doc,
long index,
XWikiContext context,
boolean bTransaction)
Deprecated.
since 9.4RC1. The document parameter is useless and gets in the way. Use
XWikiRecycleBinStoreInterface.getDeletedDocument(long, XWikiContext, boolean) instead. |
Long |
XWikiHibernateRecycleBinStore.getNumberOfDeletedDocuments(XWikiContext context) |
default Long |
XWikiRecycleBinStoreInterface.getNumberOfDeletedDocuments(XWikiContext context) |
XWikiAttachment |
VoidAttachmentVersioningStore.VoidAttachmentArchive.getRevision(XWikiAttachment attachment,
String rev,
XWikiContext context) |
List<String> |
XWikiStoreInterface.getTranslationList(XWikiDocument doc,
XWikiContext context) |
List<String> |
XWikiCacheStore.getTranslationList(XWikiDocument doc,
XWikiContext context) |
List<String> |
XWikiHibernateStore.getTranslationList(XWikiDocument doc,
XWikiContext context) |
XWikiDocumentArchive |
XWikiHibernateVersioningStore.getXWikiDocumentArchive(XWikiDocument doc,
XWikiContext inputxcontext) |
XWikiDocumentArchive |
XWikiVersioningStoreInterface.getXWikiDocumentArchive(XWikiDocument doc,
XWikiContext context) |
org.suigeneris.jrcs.rcs.Version[] |
XWikiHibernateVersioningStore.getXWikiDocVersions(XWikiDocument doc,
XWikiContext context) |
org.suigeneris.jrcs.rcs.Version[] |
XWikiVersioningStoreInterface.getXWikiDocVersions(XWikiDocument doc,
XWikiContext context) |
void |
XWikiCacheStoreInterface.initCache(int capacity,
int pageExistCapacity,
XWikiContext context)
Deprecated.
since 8.3. It does not make much sense to make this method public and it was not really doing
anything for a very long time in practice (since Infinispan is the default cache inmplementation)
|
void |
XWikiCacheStore.initCache(int capacity,
int pageExistCacheCapacity,
XWikiContext context)
Deprecated.
|
void |
XWikiCacheStore.initCache(XWikiContext context)
Deprecated.
|
default boolean |
XWikiStoreInterface.injectCustomMapping(BaseClass doc1class) |
boolean |
XWikiHibernateStore.injectCustomMapping(BaseClass doc1class) |
boolean |
XWikiStoreInterface.injectCustomMapping(BaseClass doc1class,
XWikiContext xWikiContext)
Deprecated.
since 11.5RC1, use
XWikiStoreInterface.injectCustomMapping(BaseClass) instead |
boolean |
XWikiDefaultStore.injectCustomMapping(BaseClass doc1class,
XWikiContext xWikiContext) |
boolean |
XWikiCacheStore.injectCustomMapping(BaseClass doc1class,
XWikiContext context) |
boolean |
XWikiHibernateStore.injectCustomMapping(BaseClass doc1class,
XWikiContext inputxcontext) |
boolean |
XWikiHibernateStore.injectCustomMapping(String className,
String customMapping,
XWikiContext inputxcontext) |
void |
XWikiStoreInterface.injectCustomMappings(XWikiContext context) |
void |
XWikiDefaultStore.injectCustomMappings(XWikiContext context) |
void |
XWikiCacheStore.injectCustomMappings(XWikiContext context) |
void |
XWikiHibernateStore.injectCustomMappings(XWikiContext context) |
boolean |
XWikiStoreInterface.injectCustomMappings(XWikiDocument doc,
XWikiContext context) |
boolean |
XWikiDefaultStore.injectCustomMappings(XWikiDocument doc,
XWikiContext xWikiContext) |
boolean |
XWikiCacheStore.injectCustomMappings(XWikiDocument doc,
XWikiContext context) |
boolean |
XWikiHibernateStore.injectCustomMappings(XWikiDocument doc,
XWikiContext inputxcontext) |
org.hibernate.SessionFactory |
XWikiHibernateStore.injectCustomMappingsInSessionFactory(BaseClass bclass,
XWikiContext context) |
org.hibernate.SessionFactory |
XWikiHibernateStore.injectCustomMappingsInSessionFactory(XWikiContext inputxcontext) |
void |
XWikiStoreInterface.injectUpdatedCustomMappings(XWikiContext context) |
void |
XWikiDefaultStore.injectUpdatedCustomMappings(XWikiContext context) |
void |
XWikiCacheStore.injectUpdatedCustomMappings(XWikiContext context) |
void |
XWikiHibernateStore.injectUpdatedCustomMappings(XWikiContext context) |
boolean |
XWikiStoreInterface.isCustomMappingValid(BaseClass bclass,
String custommapping1,
XWikiContext context)
Deprecated.
since 11.5RC1, use
XWikiStoreInterface.isCustomMappingValid(BaseClass, String) |
boolean |
XWikiCacheStore.isCustomMappingValid(BaseClass bclass,
String custommapping1,
XWikiContext context) |
boolean |
XWikiStoreInterface.isWikiNameAvailable(String wikiName,
XWikiContext context)
Indicate if the provided wiki name could be used to create a new wiki.
|
boolean |
XWikiCacheStore.isWikiNameAvailable(String wikiName,
XWikiContext context) |
boolean |
XWikiHibernateStore.isWikiNameAvailable(String wikiName,
XWikiContext inputxcontext) |
protected List<XWikiRCSNodeInfo> |
XWikiHibernateVersioningStore.loadAllRCSNodeInfo(XWikiContext context,
long id,
boolean bTransaction) |
XWikiAttachmentArchive |
AttachmentVersioningStore.loadArchive(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction)
Load attachment archive from store.
|
XWikiAttachmentArchive |
VoidAttachmentVersioningStore.loadArchive(XWikiAttachment attachment,
XWikiContext context,
boolean transaction) |
void |
XWikiHibernateAttachmentStore.loadAttachmentContent(XWikiAttachment attachment,
XWikiContext inputxcontext,
boolean bTransaction) |
void |
XWikiAttachmentStoreInterface.loadAttachmentContent(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction) |
List<DocumentReference> |
XWikiStoreInterface.loadBacklinks(DocumentReference documentReference,
boolean bTransaction,
XWikiContext context) |
List<DocumentReference> |
XWikiCacheStore.loadBacklinks(DocumentReference documentReference,
boolean bTransaction,
XWikiContext context) |
List<DocumentReference> |
XWikiHibernateStore.loadBacklinks(DocumentReference documentReference,
boolean bTransaction,
XWikiContext inputxcontext) |
List<String> |
XWikiStoreInterface.loadBacklinks(String fullName,
XWikiContext context,
boolean bTransaction)
Deprecated.
|
List<String> |
XWikiCacheStore.loadBacklinks(String fullName,
XWikiContext context,
boolean bTransaction) |
List<String> |
XWikiHibernateStore.loadBacklinks(String fullName,
XWikiContext inputxcontext,
boolean bTransaction)
Deprecated.
|
List<XWikiLink> |
XWikiStoreInterface.loadLinks(long docId,
XWikiContext context,
boolean bTransaction) |
List<XWikiLink> |
XWikiCacheStore.loadLinks(long docId,
XWikiContext context,
boolean bTransaction) |
List<XWikiLink> |
XWikiHibernateStore.loadLinks(long docId,
XWikiContext inputxcontext,
boolean bTransaction) |
XWikiLock |
XWikiStoreInterface.loadLock(long docId,
XWikiContext context,
boolean bTransaction) |
XWikiLock |
XWikiCacheStore.loadLock(long docId,
XWikiContext context,
boolean bTransaction) |
XWikiLock |
XWikiHibernateStore.loadLock(long docId,
XWikiContext inputxcontext,
boolean bTransaction) |
XWikiRCSNodeContent |
XWikiHibernateVersioningStore.loadRCSNodeContent(XWikiRCSNodeId id,
boolean bTransaction,
XWikiContext context) |
XWikiRCSNodeContent |
XWikiVersioningStoreInterface.loadRCSNodeContent(XWikiRCSNodeId id,
boolean bTransaction,
XWikiContext context)
Load
XWikiRCSNodeContent on demand. |
void |
XWikiHibernateStore.loadXWikiCollection(BaseCollection object,
XWikiContext context,
boolean bTransaction)
Deprecated.
This is internal to XWikiHibernateStore and may be removed in the future.
|
XWikiDocument |
XWikiHibernateVersioningStore.loadXWikiDoc(XWikiDocument basedoc,
String sversion,
XWikiContext inputxcontext) |
XWikiDocument |
XWikiVersioningStoreInterface.loadXWikiDoc(XWikiDocument doc,
String version,
XWikiContext context) |
XWikiDocument |
XWikiStoreInterface.loadXWikiDoc(XWikiDocument doc,
XWikiContext context) |
XWikiDocument |
XWikiCacheStore.loadXWikiDoc(XWikiDocument doc,
XWikiContext inputxcontext) |
XWikiDocument |
XWikiHibernateStore.loadXWikiDoc(XWikiDocument defaultDocument,
XWikiContext inputxcontext) |
void |
XWikiHibernateVersioningStore.loadXWikiDocArchive(XWikiDocumentArchive archivedoc,
boolean bTransaction,
XWikiContext context) |
void |
XWikiVersioningStoreInterface.loadXWikiDocArchive(XWikiDocumentArchive archivedoc,
boolean bTransaction,
XWikiContext context) |
default void |
XWikiStoreInterface.renameXWikiDoc(XWikiDocument doc,
DocumentReference newReference,
XWikiContext context)
Atomic operation for renaming a document.
|
void |
XWikiCacheStore.renameXWikiDoc(XWikiDocument doc,
DocumentReference newReference,
XWikiContext inputxcontext) |
void |
XWikiHibernateStore.renameXWikiDoc(XWikiDocument doc,
DocumentReference newReference,
XWikiContext inputxcontext)
Atomic operation for renaming a document.
|
void |
XWikiHibernateVersioningStore.resetRCSArchive(XWikiDocument doc,
boolean bTransaction,
XWikiContext inputxcontext) |
void |
XWikiVersioningStoreInterface.resetRCSArchive(XWikiDocument doc,
boolean bTransaction,
XWikiContext context) |
XWikiDocument |
XWikiHibernateRecycleBinStore.restoreFromRecycleBin(long index,
XWikiContext inputxcontext,
boolean bTransaction) |
default XWikiDocument |
XWikiRecycleBinStoreInterface.restoreFromRecycleBin(long index,
XWikiContext context,
boolean bTransaction) |
XWikiAttachment |
AttachmentRecycleBinStore.restoreFromRecycleBin(XWikiAttachment attachment,
long index,
XWikiContext context,
boolean bTransaction)
Restore an attachment from the recycle bin (with full history).
|
XWikiDocument |
XWikiHibernateRecycleBinStore.restoreFromRecycleBin(XWikiDocument doc,
long index,
XWikiContext inputxcontext,
boolean bTransaction) |
XWikiDocument |
XWikiRecycleBinStoreInterface.restoreFromRecycleBin(XWikiDocument doc,
long index,
XWikiContext context,
boolean bTransaction)
Deprecated.
since 9.4RC1. The document parameter is useless and gets in the way. Use
XWikiRecycleBinStoreInterface.restoreFromRecycleBin(long, XWikiContext, boolean) instead. |
void |
AttachmentRecycleBinContentStore.save(XWikiAttachment attachment,
Date deleteDate,
long index,
boolean bTransaction)
Save attachment to recycle bin.
|
void |
XWikiRecycleBinContentStoreInterface.save(XWikiDocument doc,
long index,
boolean bTransaction)
Save document to recycle bin.
|
void |
AttachmentVersioningStore.saveArchive(XWikiAttachmentArchive archive,
XWikiContext context,
boolean bTransaction)
Save or update attachment archive.
|
void |
VoidAttachmentVersioningStore.saveArchive(XWikiAttachmentArchive archive,
XWikiContext context,
boolean transaction) |
void |
XWikiHibernateAttachmentStore.saveAttachmentContent(XWikiAttachment attachment,
boolean parentUpdate,
XWikiContext inputxcontext,
boolean bTransaction) |
void |
XWikiAttachmentStoreInterface.saveAttachmentContent(XWikiAttachment attachment,
boolean bParentUpdate,
XWikiContext context,
boolean bTransaction) |
void |
XWikiHibernateAttachmentStore.saveAttachmentContent(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction) |
void |
XWikiAttachmentStoreInterface.saveAttachmentContent(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction) |
void |
XWikiHibernateAttachmentStore.saveAttachmentsContent(List<XWikiAttachment> attachments,
XWikiDocument doc,
boolean bParentUpdate,
XWikiContext inputxcontext,
boolean bTransaction) |
void |
XWikiAttachmentStoreInterface.saveAttachmentsContent(List<XWikiAttachment> attachments,
XWikiDocument doc,
boolean bParentUpdate,
XWikiContext context,
boolean bTransaction) |
void |
XWikiStoreInterface.saveLinks(XWikiDocument doc,
XWikiContext context,
boolean bTransaction) |
void |
XWikiCacheStore.saveLinks(XWikiDocument doc,
XWikiContext context,
boolean bTransaction) |
void |
XWikiHibernateStore.saveLinks(XWikiDocument doc,
XWikiContext inputxcontext,
boolean bTransaction) |
void |
XWikiStoreInterface.saveLock(XWikiLock lock,
XWikiContext context,
boolean bTransaction) |
void |
XWikiCacheStore.saveLock(XWikiLock lock,
XWikiContext context,
boolean bTransaction) |
void |
XWikiHibernateStore.saveLock(XWikiLock lock,
XWikiContext inputxcontext,
boolean bTransaction) |
void |
AttachmentRecycleBinStore.saveToRecycleBin(XWikiAttachment attachment,
String deleter,
Date date,
XWikiContext context,
boolean bTransaction)
Save attachment to recycle bin, with full history.
|
void |
XWikiHibernateRecycleBinStore.saveToRecycleBin(XWikiDocument doc,
String deleter,
Date date,
String batchId,
XWikiContext inputxcontext,
boolean bTransaction) |
default void |
XWikiRecycleBinStoreInterface.saveToRecycleBin(XWikiDocument doc,
String deleter,
Date date,
String batchId,
XWikiContext context,
boolean bTransaction)
Save document to recycle bin.
|
void |
XWikiHibernateRecycleBinStore.saveToRecycleBin(XWikiDocument doc,
String deleter,
Date date,
XWikiContext inputxcontext,
boolean bTransaction) |
void |
XWikiRecycleBinStoreInterface.saveToRecycleBin(XWikiDocument doc,
String deleter,
Date date,
XWikiContext context,
boolean bTransaction)
Save document to recycle bin.
|
void |
XWikiHibernateStore.saveXWikiCollection(BaseCollection object,
XWikiContext inputxcontext,
boolean bTransaction)
Deprecated.
This is internal to XWikiHibernateStore and may be removed in the future.
|
void |
XWikiStoreInterface.saveXWikiDoc(XWikiDocument doc,
XWikiContext context) |
void |
XWikiCacheStore.saveXWikiDoc(XWikiDocument doc,
XWikiContext context) |
void |
XWikiHibernateStore.saveXWikiDoc(XWikiDocument doc,
XWikiContext context) |
void |
XWikiStoreInterface.saveXWikiDoc(XWikiDocument doc,
XWikiContext context,
boolean bTransaction) |
void |
XWikiCacheStore.saveXWikiDoc(XWikiDocument doc,
XWikiContext inputxcontext,
boolean bTransaction) |
void |
XWikiHibernateStore.saveXWikiDoc(XWikiDocument doc,
XWikiContext inputxcontext,
boolean bTransaction) |
void |
XWikiHibernateVersioningStore.saveXWikiDocArchive(XWikiDocumentArchive archivedoc,
boolean bTransaction,
XWikiContext context) |
void |
XWikiVersioningStoreInterface.saveXWikiDocArchive(XWikiDocumentArchive archivedoc,
boolean bTransaction,
XWikiContext context) |
List |
XWikiHibernateStore.search(org.hibernate.query.Query query,
int nb,
int start,
XWikiContext inputxcontext) |
<T> List<T> |
XWikiStoreInterface.search(String sql,
int nb,
int start,
List<?> parameterValues,
XWikiContext context)
Execute a reading request with parameters and return result.
|
<T> List<T> |
XWikiCacheStore.search(String sql,
int nb,
int start,
List<?> parameterValues,
XWikiContext context) |
<T> List<T> |
XWikiHibernateStore.search(String sql,
int nb,
int start,
List<?> parameterValues,
XWikiContext context) |
<T> List<T> |
XWikiStoreInterface.search(String sql,
int nb,
int start,
Object[][] whereParams,
List<?> parameterValues,
XWikiContext context)
Execute a reading request with parameters and return result.
|
<T> List<T> |
XWikiCacheStore.search(String sql,
int nb,
int start,
Object[][] whereParams,
List<?> parameterValues,
XWikiContext context) |
<T> List<T> |
XWikiHibernateStore.search(String sql,
int nb,
int start,
Object[][] whereParams,
List<?> parameterValues,
XWikiContext inputxcontext) |
<T> List<T> |
XWikiStoreInterface.search(String sql,
int nb,
int start,
Object[][] whereParams,
XWikiContext context)
Execute a reading request and return result.
|
<T> List<T> |
XWikiCacheStore.search(String sql,
int nb,
int start,
Object[][] whereParams,
XWikiContext context) |
<T> List<T> |
XWikiHibernateStore.search(String sql,
int nb,
int start,
Object[][] whereParams,
XWikiContext context) |
<T> List<T> |
XWikiStoreInterface.search(String sql,
int nb,
int start,
XWikiContext context)
Execute a reading request and return result.
|
<T> List<T> |
XWikiCacheStore.search(String sql,
int nb,
int start,
XWikiContext context) |
<T> List<T> |
XWikiHibernateStore.search(String sql,
int nb,
int start,
XWikiContext context) |
List<DocumentReference> |
XWikiStoreInterface.searchDocumentReferences(String parametrizedSqlClause,
int nb,
int start,
List<?> parameterValues,
XWikiContext context)
Search documents by passing HQL where clause values as parameters.
|
List<DocumentReference> |
XWikiCacheStore.searchDocumentReferences(String parametrizedSqlClause,
int nb,
int start,
List<?> parameterValues,
XWikiContext context) |
List<DocumentReference> |
XWikiHibernateStore.searchDocumentReferences(String parametrizedSqlClause,
int nb,
int start,
List<?> parameterValues,
XWikiContext context) |
List<DocumentReference> |
XWikiStoreInterface.searchDocumentReferences(String wheresql,
int nb,
int start,
String selectColumns,
XWikiContext context) |
List<DocumentReference> |
XWikiCacheStore.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 inputxcontext) |
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) |
void |
XWikiHibernateBaseStore.setDatabase(org.hibernate.Session session,
XWikiContext inputxcontext)
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 inputxcontext)
Custom Mapping This function update the schema based on the dynamic custom mapping provided by the class
|
void |
XWikiHibernateVersioningStore.updateXWikiDocArchive(XWikiDocument doc,
boolean bTransaction,
XWikiContext inputxcontext) |
void |
XWikiVersioningStoreInterface.updateXWikiDocArchive(XWikiDocument doc,
boolean bTransaction,
XWikiContext context) |
Constructor and Description |
---|
XWikiCacheStore(XWikiStoreInterface store,
XWikiContext context)
Deprecated.
since 10.2 and 9.11.4, should be used as a component instead
|
Modifier and Type | Method and Description |
---|---|
void |
HibernateAttachmentVersioningStore.deleteArchive(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction) |
void |
HibernateAttachmentRecycleBinStore.deleteFromRecycleBin(long index,
XWikiContext inputxcontext,
boolean bTransaction) |
List<DeletedAttachment> |
HibernateAttachmentRecycleBinStore.getAllDeletedAttachments(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction) |
List<DeletedAttachment> |
HibernateAttachmentRecycleBinStore.getAllDeletedAttachments(XWikiDocument doc,
XWikiContext context,
boolean bTransaction) |
DeletedAttachment |
HibernateAttachmentRecycleBinStore.getDeletedAttachment(long index,
XWikiContext context,
boolean bTransaction) |
XWikiAttachmentArchive |
HibernateAttachmentVersioningStore.loadArchive(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction) |
XWikiAttachment |
HibernateAttachmentRecycleBinStore.restoreFromRecycleBin(XWikiAttachment attachment,
long index,
XWikiContext inputxcontext,
boolean bTransaction) |
void |
HibernateAttachmentVersioningStore.saveArchive(XWikiAttachmentArchive archive,
XWikiContext context,
boolean bTransaction) |
void |
HibernateAttachmentRecycleBinStore.saveToRecycleBin(XWikiAttachment attachment,
String deleter,
Date date,
XWikiContext inputxcontext,
boolean bTransaction) |
Modifier and Type | Method and Description |
---|---|
void |
R72001XWIKI12228DataMigration.hibernateMigrate() |
void |
R4340XWIKI883DataMigration.hibernateMigrate() |
protected abstract void |
AbstractHibernateDataMigration.hibernateMigrate()
Execute the migration itself.
|
void |
R35102XWIKI7771DataMigration.hibernateMigrate() |
void |
LegacyDataMigration.hibernateMigrate() |
protected void |
R130200000XWIKI17200DataMigration.hibernateMigrate() |
void |
R90000XWIKI13474DataMigration.hibernateMigrate() |
void |
R43000XWIKI6691DataMigration.hibernateMigrate() |
void |
R42000XWIKI7726DataMigration.hibernateMigrate() |
protected void |
AbstractDropNotNullDataMigration.hibernateMigrate() |
protected void |
R1138000XWIKI16709DataMigration.hibernateMigrate() |
protected void |
AbstractResizeMigration.hibernateMigrate() |
void |
R35100XWIKI7564DataMigration.hibernateMigrate() |
void |
R72000XWIKI12153DataMigration.hibernateMigrate() |
void |
R40000XWIKI6990DataMigration.hibernateMigrate() |
void |
R73000XWIKI12277DataMigration.hibernateMigrate() |
protected void |
R1008010XWIKI10092DataMigration.hibernateMigrate() |
void |
R35101XWIKI7645DataMigration.hibernateMigrate() |
void |
R7350XWIKI2079DataMigration.hibernateMigrate() |
void |
R4359XWIKI1459DataMigration.hibernateMigrate() |
void |
R15428XWIKI2977DataMigration.hibernateMigrate() |
void |
R54600TranslationDataMigration.hibernateMigrate() |
void |
R6079XWIKI1878DataMigration.hibernateMigrate() |
Modifier and Type | Method and Description |
---|---|
void |
XWikiGroupService.addUserToGroup(String user,
String database,
String group,
XWikiContext context)
Deprecated.
should never be used ! There is a listener taking care of that automatically.
|
Principal |
XWikiAuthService.authenticate(String username,
String password,
XWikiContext context) |
boolean |
XWikiRightService.checkAccess(String action,
XWikiDocument doc,
XWikiContext context)
Checks if the wiki current user has the right to execute (@code action} on the 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.
|
default int |
XWikiGroupService.countAllMatchedMembersNamesForGroup(String group,
String filter,
XWikiContext xcontext)
Filters the members of the specified group using the given text and counts the results.
|
int |
XWikiGroupService.countAllMatchedUsers(Object[][] matchFields,
XWikiContext context)
Return number of users with provided constraints.
|
int |
XWikiGroupService.countAllMembersNamesForGroup(String group,
XWikiContext context)
Return the number of members provided group contains.
|
Collection<String> |
XWikiGroupService.getAllGroupsNamesForMember(String member,
int nb,
int start,
XWikiContext context)
Get all groups containing provided member in the provided member wiki.
|
Collection<DocumentReference> |
XWikiGroupService.getAllGroupsReferencesForMember(DocumentReference memberReference,
int limit,
int offset,
XWikiContext context)
Get all groups containing provided member in the current wiki.
|
List<?> |
XWikiGroupService.getAllMatchedGroups(Object[][] matchFields,
boolean withdetails,
int nb,
int start,
Object[][] order,
XWikiContext context)
Search for all groups with provided constraints and in a provided order.
|
Collection<String> |
XWikiGroupService.getAllMatchedMembersNamesForGroup(String group,
String matchField,
int nb,
int start,
Boolean orderAsc,
XWikiContext context)
Get members of provided group.
|
List<?> |
XWikiGroupService.getAllMatchedUsers(Object[][] matchFields,
boolean withdetails,
int nb,
int start,
Object[][] order,
XWikiContext context)
Search for all users with provided constraints and in a provided order.
|
Collection<String> |
XWikiGroupService.getAllMembersNamesForGroup(String group,
int nb,
int start,
XWikiContext context)
Get all members provided group contains.
|
boolean |
XWikiRightService.hasAccessLevel(String right,
String username,
String docname,
XWikiContext context)
|
void |
XWikiGroupService.init(XWiki xwiki,
XWikiContext context) |
void |
XWikiGroupService.initCache(int iCapacity,
XWikiContext context)
Deprecated.
since 10.8RC1, use GroupManager component instead
|
void |
XWikiGroupService.initCache(XWikiContext context)
Deprecated.
since 10.8RC1, use GroupManager component instead
|
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.
|
default void |
XWikiGroupService.replaceMemberInAllGroups(DocumentReference memberSource,
DocumentReference memberTarget,
XWikiContext context)
Replace a given member reference by another one in all groups of the wiki.
|
void |
XWikiAuthService.showLogin(XWikiContext context) |
Modifier and Type | Method and Description |
---|---|
void |
XWikiGroupServiceImpl.addUserToGroup(String username,
String database,
String group,
XWikiContext context)
Deprecated.
|
static Principal |
MyBasicAuthenticator.authenticate(String username,
String password,
XWikiContext context) |
Principal |
XWikiAuthServiceImpl.authenticate(String username,
String password,
XWikiContext context) |
static Principal |
MyFormAuthenticator.authenticate(String username,
String password,
XWikiContext context) |
Principal |
GroovyAuthServiceImpl.authenticate(String username,
String password,
XWikiContext context) |
boolean |
XWikiRightServiceImpl.checkAccess(String action,
XWikiDocument doc,
XWikiContext context)
Deprecated.
|
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 |
AppServerTrustedKerberosAuthServiceImpl.checkAuth(String username,
String password,
String rememberme,
XWikiContext context) |
XWikiUser |
GroovyAuthServiceImpl.checkAuth(String username,
String password,
String rememberme,
XWikiContext context) |
XWikiUser |
XWikiAuthServiceImpl.checkAuth(XWikiContext context) |
XWikiUser |
AppServerTrustedAuthServiceImpl.checkAuth(XWikiContext context) |
XWikiUser |
AppServerTrustedKerberosAuthServiceImpl.checkAuth(XWikiContext context) |
XWikiUser |
GroovyAuthServiceImpl.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)
Deprecated.
|
int |
XWikiGroupServiceImpl.countAllGroupsNamesForMember(String member,
XWikiContext context) |
int |
XWikiGroupServiceImpl.countAllMatchedGroups(Object[][] matchFields,
XWikiContext context) |
int |
XWikiGroupServiceImpl.countAllMatchedMembersNamesForGroup(String group,
String filter,
XWikiContext xcontext) |
int |
XWikiGroupServiceImpl.countAllMatchedUsers(Object[][] matchFields,
XWikiContext context) |
protected int |
XWikiGroupServiceImpl.countAllMatchedUsersOrGroups(boolean user,
Object[][] matchFields,
XWikiContext context)
Return number of users or groups with provided constraints.
|
int |
XWikiGroupServiceImpl.countAllMembersNamesForGroup(String group,
XWikiContext context) |
protected String |
XWikiAuthServiceImpl.createUser(String user,
XWikiContext context) |
protected String |
XWikiAuthServiceImpl.findUser(String username,
XWikiContext context) |
Collection<String> |
XWikiGroupServiceImpl.getAllGroupsNamesForMember(String member,
int nb,
int start,
XWikiContext context) |
Collection<DocumentReference> |
XWikiGroupServiceImpl.getAllGroupsReferencesForMember(DocumentReference memberReference,
int limit,
int offset,
XWikiContext context) |
List<?> |
XWikiGroupServiceImpl.getAllMatchedGroups(Object[][] matchFields,
boolean withdetails,
int nb,
int start,
Object[][] order,
XWikiContext context) |
Collection<String> |
XWikiGroupServiceImpl.getAllMatchedMembersNamesForGroup(String group,
String matchField,
int nb,
int start,
Boolean orderAsc,
XWikiContext context) |
List<?> |
XWikiGroupServiceImpl.getAllMatchedUsers(Object[][] matchFields,
boolean withdetails,
int nb,
int start,
Object[][] order,
XWikiContext context) |
protected List<?> |
XWikiGroupServiceImpl.getAllMatchedUsersOrGroups(boolean user,
Object[][] matchFields,
boolean withdetails,
int nb,
int start,
Object[][] order,
XWikiContext context)
Search for all users or group with provided constraints and in a provided order.
|
Collection<String> |
XWikiGroupServiceImpl.getAllMembersNamesForGroup(String group,
int nb,
int start,
XWikiContext context) |
protected XWikiAuthenticator |
XWikiAuthServiceImpl.getAuthenticator(XWikiContext context) |
boolean |
XWikiRightServiceImpl.hasAccessLevel(String accessLevel,
String userOrGroupName,
String entityReference,
boolean user,
XWikiContext context)
Deprecated.
|
boolean |
XWikiRightServiceImpl.hasAccessLevel(String right,
String username,
String docname,
XWikiContext context)
Deprecated.
|
void |
XWikiGroupServiceImpl.init(XWiki xwiki,
XWikiContext context) |
void |
XWikiGroupServiceImpl.initCache(int iCapacity,
XWikiContext context) |
void |
XWikiGroupServiceImpl.initCache(XWikiContext context) |
List<String> |
XWikiGroupServiceImpl.listAllGroups(XWikiContext context)
Deprecated.
|
List<String> |
XWikiRightServiceImpl.listAllLevels(XWikiContext context)
Deprecated.
|
Collection<String> |
XWikiGroupServiceImpl.listGroupsForUser(String member,
XWikiContext context)
Deprecated.
|
List<String> |
XWikiGroupServiceImpl.listMemberForGroup(String group,
XWikiContext context)
Deprecated.
|
void |
XWikiGroupServiceImpl.removeUserOrGroupFromAllGroups(String memberWiki,
String memberSpace,
String memberName,
XWikiContext context) |
void |
XWikiGroupServiceImpl.replaceMemberInAllGroups(DocumentReference memberSourceReference,
DocumentReference memberTargetReference,
XWikiContext context) |
void |
XWikiAuthServiceImpl.showLogin(XWikiContext context) |
void |
GroovyAuthServiceImpl.showLogin(XWikiContext context) |
Modifier and Type | Method and Description |
---|---|
static String |
Util.getHTMLExceptionMessage(XWikiException xe,
XWikiContext context) |
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractPropChangeAction.action(XWikiContext context)
Tries to change the specified property, and redirect back to the class editor (or the specified
xredirect
location). |
boolean |
PropAddAction.action(XWikiContext context) |
boolean |
RollbackAction.action(XWikiContext context) |
boolean |
ResetVersionsAction.action(XWikiContext context) |
boolean |
GetAction.action(XWikiContext context) |
boolean |
RegisterAction.action(XWikiContext context) |
boolean |
SkinAction.action(XWikiContext context) |
boolean |
LockAction.action(XWikiContext context) |
boolean |
LoginSubmitAction.action(XWikiContext context) |
boolean |
DeleteAction.action(XWikiContext context) |
boolean |
ObjectRemoveAction.action(XWikiContext context) |
boolean |
DeleteVersionsAction.action(XWikiContext context) |
boolean |
LoginAction.action(XWikiContext context) |
boolean |
RedirectAction.action(XWikiContext context) |
boolean |
DeleteAttachmentAction.action(XWikiContext context) |
boolean |
CancelAction.action(XWikiContext context) |
boolean |
ObjectsSynchronizeAction.action(XWikiContext context) |
boolean |
ObjectAddAction.action(XWikiContext context) |
boolean |
SaveAndContinueAction.action(XWikiContext context) |
boolean |
LogoutAction.action(XWikiContext context) |
boolean |
CommentSaveAction.action(XWikiContext context) |
boolean |
UndeleteAction.action(XWikiContext context) |
boolean |
PropUpdateAction.action(XWikiContext context) |
boolean |
SaveAction.action(XWikiContext context) |
boolean |
XWikiAction.action(XWikiContext context) |
boolean |
CommentAddAction.action(XWikiContext context) |
boolean |
LoginErrorAction.action(XWikiContext context) |
boolean |
UploadAction.action(XWikiContext context) |
boolean |
PreviewAction.action(XWikiContext context) |
protected void |
XWikiAction.answerJSON(XWikiContext context,
int status,
Map<String,String> answer)
Answer to a request with a JSON content.
|
abstract void |
AbstractPropChangeAction.changePropertyDefinition(BaseClass xclass,
String propertyName,
XWikiContext context)
The method which does the actual modification of the property definition.
|
void |
PropEnableAction.changePropertyDefinition(BaseClass xclass,
String propertyName,
XWikiContext context) |
void |
PropDeleteAction.changePropertyDefinition(BaseClass xclass,
String propertyName,
XWikiContext context) |
void |
PropDisableAction.changePropertyDefinition(BaseClass xclass,
String propertyName,
XWikiContext context) |
protected boolean |
XWikiAction.csrfTokenCheck(XWikiContext context)
Perform CSRF check and redirect to the resubmission page if needed.
|
protected boolean |
XWikiAction.csrfTokenCheck(XWikiContext context,
boolean jsonAnswer)
Perform CSRF check and redirect to the resubmission page if needed.
|
protected boolean |
DeleteSpaceAction.delete(XWikiContext context) |
protected boolean |
DeleteAction.delete(XWikiContext context) |
protected boolean |
DeleteAction.deleteDocument(EntityReference entityReference,
XWikiContext context,
boolean shouldSkipRecycleBin)
Create a job to delete an entity.
|
XWikiAttachment |
XWikiServletURLFactory.findAttachmentForDocRevision(XWikiDocument doc,
String docRevision,
String filename,
XWikiContext context) |
long |
XWikiServletURLFactory.findDeletedAttachmentForDocRevision(XWikiDocument doc,
String docRevision,
String filename,
XWikiContext context) |
static byte[] |
Utils.getContent(List<org.apache.commons.fileupload.FileItem> filelist,
String name)
Get the content of an uploaded file, corresponding to the specified form field.
|
protected String |
UploadAction.getFileName(String fieldName,
FileUploadPlugin fileupload,
XWikiContext context)
Extract the corresponding attachment name for a given file field.
|
protected XWikiDocument |
XWikiAction.getTranslatedDocument(XWikiDocument doc,
String language,
XWikiContext context)
Gets the translated version of a document, in the specified language.
|
protected boolean |
XWikiAction.handleRedirectObject(XWikiContext context)
Redirect the user to an other location if the document holds an XWiki.RedirectClass instance (used when a
document is moved).
|
protected void |
XWikiAction.handleRevision(XWikiContext context) |
protected XWikiContext |
XWikiAction.initializeXWikiContext(javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse) |
protected XWikiContext |
XWikiAction.initializeXWikiContext(javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse,
XWikiForm form) |
static void |
Utils.parseTemplate(String template,
boolean write,
XWikiContext context)
Generate the response by parsing a velocity template and (optionally) printing the result to 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) |
protected boolean |
XWikiAction.readFromTemplate(XWikiDocument document,
String template,
XWikiContext context)
Helper used by various actions to initialize a document by copying a template to it.
|
String |
SkinAction.render(String path,
XWikiContext context) |
String |
UnknownAction.render(XWikiContext context) |
String |
AbstractPropChangeAction.render(XWikiContext context) |
String |
PropAddAction.render(XWikiContext context) |
String |
RollbackAction.render(XWikiContext context) |
String |
ResetVersionsAction.render(XWikiContext context) |
String |
TempResourceAction.render(XWikiContext context)
Deprecated.
|
String |
ExportAction.render(XWikiContext context) |
String |
DownloadAction.render(XWikiContext context) |
String |
CreateAction.render(XWikiContext context) |
String |
TexAction.render(XWikiContext context) |
String |
GetAction.render(XWikiContext context) |
String |
RegisterAction.render(XWikiContext context) |
String |
SkinAction.render(XWikiContext context) |
String |
PDFAction.render(XWikiContext context)
Deprecated.
|
String |
AttachAction.render(XWikiContext context) |
String |
AdminAction.render(XWikiContext context) |
String |
ViewAttachRevAction.render(XWikiContext context) |
String |
DeleteSpaceAction.render(XWikiContext context) |
String |
LoginSubmitAction.render(XWikiContext context) |
String |
DeleteAction.render(XWikiContext context) |
String |
ImportAction.render(XWikiContext context) |
String |
ObjectRemoveAction.render(XWikiContext context) |
String |
DeleteVersionsAction.render(XWikiContext context) |
String |
LoginAction.render(XWikiContext context) |
String |
InlineAction.render(XWikiContext context)
Deprecated.
|
String |
ObjectsSynchronizeAction.render(XWikiContext context) |
String |
SaveAndContinueAction.render(XWikiContext context) |
String |
UndeleteAction.render(XWikiContext context) |
String |
PropUpdateAction.render(XWikiContext context) |
String |
SaveAction.render(XWikiContext context) |
String |
XWikiAction.render(XWikiContext context) |
String |
DownloadRevAction.render(XWikiContext context) |
String |
CommentAddAction.render(XWikiContext context) |
String |
EditAction.render(XWikiContext context) |
String |
LoginErrorAction.render(XWikiContext context) |
String |
UploadAction.render(XWikiContext context) |
String |
PreviewAction.render(XWikiContext context) |
String |
ViewAction.render(XWikiContext context) |
String |
SVGAction.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 |
DownloadAction.sendContent(XWikiAttachment attachment,
XWikiRequest request,
XWikiResponse response,
XWikiContext context)
Send the attachment content in the response.
|
protected void |
XWikiAction.sendRedirect(XWikiResponse response,
String url)
Perform a redirect to the given URL.
|
boolean |
UploadAction.uploadAttachment(String fieldName,
String filename,
FileUploadPlugin fileupload,
XWikiDocument doc,
XWikiContext context)
Attach a file to the current document.
|
Copyright © 2004–2022 XWiki. All rights reserved.