public class ConfluenceUtils extends Object
| Constructor and Description |
|---|
ConfluenceUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
addAttchment(Confluence confluence,
org.codehaus.swizzle.confluence.Page page,
Attachment attachment,
File source) |
static void |
addAttchment(Confluence confluence,
org.codehaus.swizzle.confluence.Page page,
Attachment attachment,
InputStream source) |
static boolean |
addAttchment(Confluence confluence,
org.codehaus.swizzle.confluence.Page page,
Attachment attachment,
URL source) |
static String |
decode(String value) |
static String |
encodeAnchor(String value) |
static org.codehaus.swizzle.confluence.PageSummary |
findPageByTitle(Confluence confluence,
String parentPageId,
String title) |
static org.codehaus.swizzle.confluence.Page |
getOrCreatePage(Confluence confluence,
org.codehaus.swizzle.confluence.Page parentPage,
String title) |
static org.codehaus.swizzle.confluence.Page |
getOrCreatePage(Confluence confluence,
String spaceKey,
String parentPageTitle,
String title) |
static String |
getVersion(Confluence confluence) |
static boolean |
removePage(Confluence confluence,
org.codehaus.swizzle.confluence.Page parentPage,
String title) |
static boolean |
removePage(Confluence confluence,
String spaceKey,
String parentPageTitle,
String title) |
public static org.codehaus.swizzle.confluence.PageSummary findPageByTitle(Confluence confluence, String parentPageId, String title) throws Exception
parentPageId - title - Exceptionpublic static boolean removePage(Confluence confluence, String spaceKey, String parentPageTitle, String title) throws Exception
confluence - parentPageId - title - Exceptionpublic static boolean removePage(Confluence confluence, org.codehaus.swizzle.confluence.Page parentPage, String title) throws Exception
Exceptionpublic static org.codehaus.swizzle.confluence.Page getOrCreatePage(Confluence confluence, String spaceKey, String parentPageTitle, String title) throws Exception
confluence - parentPageId - title - Exceptionpublic static org.codehaus.swizzle.confluence.Page getOrCreatePage(Confluence confluence, org.codehaus.swizzle.confluence.Page parentPage, String title) throws Exception
confluence - parentPage - title - Exceptionpublic static boolean addAttchment(Confluence confluence, org.codehaus.swizzle.confluence.Page page, Attachment attachment, URL source) throws Exception
Exceptionpublic static boolean addAttchment(Confluence confluence, org.codehaus.swizzle.confluence.Page page, Attachment attachment, File source) throws Exception
Exceptionpublic static void addAttchment(Confluence confluence, org.codehaus.swizzle.confluence.Page page, Attachment attachment, InputStream source) throws Exception
Exceptionpublic static String getVersion(Confluence confluence)
Copyright © 2014. All rights reserved.