- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中com.xpn.xwiki.api.XWiki.<init>()
方法的一些代码示例,展示了XWiki.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XWiki.<init>()
方法的具体详情如下:
包路径:com.xpn.xwiki.api.XWiki
类名称:XWiki
方法名:<init>
[英]XWiki API Constructor
[中]XWiki API构造函数
代码示例来源:origin: com.xpn.xwiki.platform/xwiki-core
public XWikiXmlRpcApiImpl()
{
this.xwikiContext = getContext();
this.xwiki = this.xwikiContext.getWiki();
this.xwikiApi = new com.xpn.xwiki.api.XWiki(this.xwiki, this.xwikiContext);
}
代码示例来源:origin: com.xpn.xwiki.platform/xwiki-rest-server
/**
* <p>
* Retrieve the XWiki public API object
* </p>
*
* @param componentManager The component manager to be used to retrieve the execution context.
* @return The XWiki public API object.
* @throws RuntimeException If there was an error while initializing the XWiki public API object.
*/
public static com.xpn.xwiki.api.XWiki getXWikiApi(ComponentManager componentManager)
{
return new com.xpn.xwiki.api.XWiki(getXWiki(componentManager), getXWikiContext(componentManager));
}
代码示例来源:origin: org.xwiki.platform/xwiki-platform-mailsender
/**
* Send a Collection of Mails (multiple emails)
*
* @param emails Mail Collection
* @return True in any case (TODO ?)
*/
public boolean sendMails(Collection<Mail> emails, XWikiContext context) throws MessagingException,
UnsupportedEncodingException
{
// TODO: Fix the need to instantiate a new XWiki API object
com.xpn.xwiki.api.XWiki xwikiApi = new com.xpn.xwiki.api.XWiki(context.getWiki(), context);
return sendMails(emails, new MailConfiguration(xwikiApi), context);
}
代码示例来源:origin: org.xwiki.platform/xwiki-platform-mailsender
/**
* Send a single Mail
*
* @param mailItem The Mail to send
* @return True if the the email has been sent
*/
public boolean sendMail(Mail mailItem, XWikiContext context) throws MessagingException,
UnsupportedEncodingException
{
// TODO: Fix the need to instantiate a new XWiki API object
com.xpn.xwiki.api.XWiki xwikiApi = new com.xpn.xwiki.api.XWiki(context.getWiki(), context);
return sendMail(mailItem, new MailConfiguration(xwikiApi), context);
}
代码示例来源:origin: com.xpn.xwiki.platform.plugins/xwiki-plugin-mailsender
/**
* Send a single Mail
*
* @param mailItem The Mail to send
* @return True if the the email has been sent
*/
public boolean sendMail(Mail mailItem, XWikiContext context) throws MessagingException,
UnsupportedEncodingException
{
// TODO: Fix the need to instantiate a new XWiki API object
com.xpn.xwiki.api.XWiki xwikiApi = new com.xpn.xwiki.api.XWiki(context.getWiki(), context);
return sendMail(mailItem, new MailConfiguration(xwikiApi), context);
}
代码示例来源:origin: com.xpn.xwiki.platform.plugins/xwiki-plugin-mailsender
/**
* Send a Collection of Mails (multiple emails)
*
* @param emails Mail Collection
* @return True in any case (TODO ?)
*/
public boolean sendMails(Collection<Mail> emails, XWikiContext context) throws MessagingException,
UnsupportedEncodingException
{
// TODO: Fix the need to instantiate a new XWiki API object
com.xpn.xwiki.api.XWiki xwikiApi = new com.xpn.xwiki.api.XWiki(context.getWiki(), context);
return sendMails(emails, new MailConfiguration(xwikiApi), context);
}
代码示例来源:origin: org.xwiki.platform/xwiki-platform-search-lucene-api
return new SearchResults(results, searcher, new com.xpn.xwiki.api.XWiki(context.getWiki(), context), context);
代码示例来源:origin: com.xpn.xwiki.platform/xwiki-core
public Map<String, Object> prepareContext(XWikiContext context)
{
prepareCache(context);
Map<String, Object> gcontext = (Map<String, Object>) context.get("gcontext");
if (gcontext == null) {
gcontext = new HashMap<String, Object>();
gcontext.put("xwiki", new XWiki(context.getWiki(), context));
gcontext.put("request", context.getRequest());
gcontext.put("response", context.getResponse());
// We put the com.xpn.xwiki.api.Context object into the context and not the com.xpn.xwiki.XWikiContext one
// which is for internal use only. In this manner we control what the user can access.
// "context" binding is deprecated since 1.9.1
Context apiContext = new Context(context);
gcontext.put("context", apiContext);
gcontext.put("xcontext", apiContext);
gcontext.put("util", new Util(context.getWiki(), context));
// Put the Groovy Context in the context
// so that includes can use it..
context.put("gcontext", gcontext);
// add XWikiMessageTool to the context
if (context.get("msg") != null) {
gcontext.put("msg", context.get("msg"));
} else {
context.getWiki().prepareResources(context);
}
}
return gcontext;
}
代码示例来源:origin: com.xpn.xwiki.platform/xwiki-core
vcontext.put("xwiki", new XWiki(xcontext.getWiki(), xcontext));
代码示例来源:origin: com.avane.xwiki.products/xwiki-plugin-chronopolys
vcontext.put("xwiki", new com.xpn.xwiki.api.XWiki(context.getWiki(), context));
vcontext.put("project", project);
vcontext.put("projecturl", project.getURL());
代码示例来源:origin: org.xwiki.platform/xwiki-platform-scheduler-api
data.put("context", stubContext);
data.put("xcontext", stubContext);
data.put("xwiki", new com.xpn.xwiki.api.XWiki(context.getWiki(), stubContext));
data.put("xjob", object);
data.put("services", Utils.getComponent(ScriptServiceManager.class));
代码示例来源:origin: org.xwiki.platform/xwiki-platform-scheduler-api
data.put("xwiki", new com.xpn.xwiki.api.XWiki(getXWikiContext().getWiki(), getXWikiContext()));
代码示例来源:origin: com.xpn.xwiki.platform.plugins/xwiki-plugin-scheduler
data.put("xwiki", new com.xpn.xwiki.api.XWiki(context.getWiki(), stubContext));
data.put("xjob", object);
data.put("services", Utils.getComponent(ScriptServiceManager.class));
代码示例来源:origin: org.xwiki.platform/xwiki-platform-search-lucene-api
XWiki xwikiApi = new XWiki(xwikiContext.getWiki(), xwikiContext);
代码示例来源:origin: com.xpn.xwiki.platform/xwiki-core
scriptContext.setAttribute("xwiki", new XWiki(xcontext.getWiki(), xcontext), ScriptContext.ENGINE_SCOPE);
本文整理了Java中com.xpn.xwiki.api.XWiki类的一些代码示例,展示了XWiki类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从
本文整理了Java中com.xpn.xwiki.web.XWikiURLFactoryService类的一些代码示例,展示了XWikiURLFactoryService类的具体用法。这些代码示例主要来
本文整理了Java中com.xpn.xwiki.plugin.XWikiDefaultPlugin类的一些代码示例,展示了XWikiDefaultPlugin类的具体用法。这些代码示例主要来源于Git
本文整理了Java中com.xpn.xwiki.user.api.XWikiRightService类的一些代码示例,展示了XWikiRightService类的具体用法。这些代码示例主要来源于Git
本文整理了Java中com.xpn.xwiki.user.api.XWikiUser类的一些代码示例,展示了XWikiUser类的具体用法。这些代码示例主要来源于Github/Stackoverflo
本文整理了Java中com.xpn.xwiki.user.api.XWikiGroupService类的一些代码示例,展示了XWikiGroupService类的具体用法。这些代码示例主要来源于Git
本文整理了Java中com.xpn.xwiki.user.api.XWikiAuthService类的一些代码示例,展示了XWikiAuthService类的具体用法。这些代码示例主要来源于Githu
本文整理了Java中com.xpn.xwiki.plugin.zipexplorer.ZipExplorerPluginAPI类的一些代码示例,展示了ZipExplorerPluginAPI类的具体用
本文整理了Java中com.xpn.xwiki.plugin.zipexplorer.ZipExplorerPlugin类的一些代码示例,展示了ZipExplorerPlugin类的具体用法。这些代码
本文整理了Java中com.xpn.xwiki.api.XWiki.getClass()方法的一些代码示例,展示了XWiki.getClass()的具体用法。这些代码示例主要来源于Github/Sta
本文整理了Java中com.xpn.xwiki.api.XWiki.exists()方法的一些代码示例,展示了XWiki.exists()的具体用法。这些代码示例主要来源于Github/Stackov
本文整理了Java中com.xpn.xwiki.api.XWiki.getClassList()方法的一些代码示例,展示了XWiki.getClassList()的具体用法。这些代码示例主要来源于Gi
本文整理了Java中com.xpn.xwiki.api.XWiki.getDocument()方法的一些代码示例,展示了XWiki.getDocument()的具体用法。这些代码示例主要来源于Gith
本文整理了Java中com.xpn.xwiki.api.XWiki.hasAdminRights()方法的一些代码示例,展示了XWiki.hasAdminRights()的具体用法。这些代码示例主要来
本文整理了Java中com.xpn.xwiki.api.XWiki.()方法的一些代码示例,展示了XWiki.()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven
本文整理了Java中com.xpn.xwiki.api.XWiki.hasAccessLevel()方法的一些代码示例,展示了XWiki.hasAccessLevel()的具体用法。这些代码示例主要来
本文整理了Java中com.xpn.xwiki.web.XWikiURLFactoryService.createURLFactory()方法的一些代码示例,展示了XWikiURLFactorySer
本文整理了Java中com.xpn.xwiki.plugin.XWikiDefaultPlugin.virtualInit()方法的一些代码示例,展示了XWikiDefaultPlugin.virtu
本文整理了Java中com.xpn.xwiki.plugin.XWikiDefaultPlugin.init()方法的一些代码示例,展示了XWikiDefaultPlugin.init()的具体用法。
本文整理了Java中com.xpn.xwiki.user.api.XWikiRightService.hasAdminRights()方法的一些代码示例,展示了XWikiRightService.ha
我是一名优秀的程序员,十分优秀!