public class ConfluenceUtil
extends java.lang.Object
Utility class for Confluence connectors
| Constructor and Description |
|---|
ConfluenceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
generateRepositoryDocumentIdentifier(java.lang.String attachmentId,
java.lang.String pageId)
Generates a repository document identifier for the specific attachment and page to be used for Repository Documents for attachment pages
|
static java.lang.String[] |
getAttachmentAndPageId(java.lang.String id)
Gets the attachment id and page id from a repository document id
|
static java.lang.Boolean |
isAttachment(java.lang.String id)
Checks if the given id is an attachment or not
|
public static java.lang.String generateRepositoryDocumentIdentifier(java.lang.String attachmentId,
java.lang.String pageId)
Generates a repository document identifier for the specific attachment and page to be used for Repository Documents for attachment pages
attachmentId - pageId - public static java.lang.Boolean isAttachment(java.lang.String id)
Checks if the given id is an attachment or not
id - Boolean indicating if the id is related to an attachment or notpublic static java.lang.String[] getAttachmentAndPageId(java.lang.String id)
Gets the attachment id and page id from a repository document id
id - the repository document id