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