Options
Menu

Module Wiki

module

Wiki

Index

Functions

addCreateWizardFolders

  • addCreateWizardFolders(workspace: Workspace, $scope: any, parent: Folder, templates: Array<any>)

adjustHref

  • adjustHref($scope: any, $location: any, href: any, fileExtension: any): string
  • Adjusts a relative or absolute link from a wiki or file system to one using the hash bang syntax

    method

    adjustHref

    for

    Wiki

    static

    Parameters

    • $scope: any
    • $location: any
    • href: any
    • fileExtension: any

    Returns string

branchLink

  • branchLink(branch: string, pageId: string, $location: any, fileName?: stringnull): string

createLink

  • createLink(branch: string, pageId: string, $location: any, $scope: any): string

createWizardTree

customViewLinks

  • customViewLinks($scope: any): Array<any>
  • Returns all the links for the given branch for the custom views, starting with "/"

    Parameters

    • $scope: any

    Returns Array<any>

decodePath

  • decodePath(pageId: string): string

editLink

  • editLink(branch: string, pageId: string, $location: any): string

encodePath

  • encodePath(pageId: string): string

fileExtension

  • fileExtension(name: any): string

fileFormat

  • fileFormat(name: string, fileExtensionTypeRegistry?: any): any

fileIconHtml

  • fileIconHtml(row: any): string
  • Takes a row containing the entity object; or can take the entity directly.

    It then uses the name, directory and xmlNamespaces properties

    method

    fileIconHtml

    for

    Wiki

    static

    Parameters

    • row: any

    Returns string

fileName

  • fileName(path: string): string
  • Returns the file name of the given path; stripping off any directories

    method

    fileName

    for

    Wiki

    static

    Parameters

    • path: string

    Returns string

fileParent

  • fileParent(path: string): string
  • Returns the folder of the given path (everything but the last path name)

    method

    fileParent

    for

    Wiki

    static

    Parameters

    • path: string

    Returns string

getCantDeleteDialog

getDeleteDialog

getMoveDialog

getRenameDialog

gitRelativeURL

  • gitRelativeURL(branch: string, path: string): string
  • Returns a relative URL to perform a GET or POST for the given branch/path

    Parameters

    • branch: string
    • path: string

    Returns string

gitRestURL

  • gitRestURL(branch: string, path: string): string
  • Returns the URL to perform a GET or POST for the given branch name and path

    Parameters

    • branch: string
    • path: string

    Returns string

goToLink

  • goToLink(link: any, $timeout: any, $location: any)

hideFileNameExtensions

  • hideFileNameExtensions(name: any): any
  • Returns the file name for the given name; we hide some extensions

    method

    hideFineNameExtensions

    for

    Wiki

    static

    Parameters

    • name: any

    Returns any

iconClass

  • iconClass(row: any): string

initScope

  • initScope($scope: any, $routeParams: any, $location: any)
  • Extracts the pageId, branch, objectId from the route parameters

    method

    initScope

    for

    Wiki

    static

    Parameters

    • $scope: any
    • $routeParams: any
    • $location: any

isIndexPage

  • isIndexPage(path: string): boolean
  • Returns true if the given filename/path is an index page (named index.* and is a markdown/html page).

    Parameters

    • path: string

    Returns boolean

isWikiEnabled

  • isWikiEnabled(workspace: Workspace, jolokia: any, localStorage: any): boolean

loadBranches

  • loadBranches(jolokia: any, wikiRepository: any, $scope: any, isFmc?: booleanfalse)
  • Loads the branches for this wiki repository and stores them in the branches property in the $scope and ensures $scope.branch is set to a valid value

    Parameters

    • jolokia: any
    • wikiRepository: any
    • $scope: any
    • isFmc?: boolean optional

      whether we run as fabric8 or as hawtio

onComplete

  • onComplete(status: any)

pageId

  • pageId($routeParams: any, $location: any): any
  • Extracts the pageId from the route parameters

    method

    pageId

    for

    Wiki

    static

    Parameters

    • $routeParams: any
    • $location: any

    Returns any

pageIdFromURI

  • pageIdFromURI(url: string): string

parseJson

  • parseJson(text: string): any
  • Parses the given JSON text reporting to the user if there is a parse error

    method

    parseJson

    for

    Wiki

    static

    Parameters

    • text: string

    Returns any

startLink

  • startLink(branch: string): string

viewLink

  • viewLink(branch: string, pageId: string, $location: any, fileName?: stringnull): string

Variables

CamelCanvasController

CamelCanvasController: ng.IModule

CamelController

CamelController: ng.IModule

CreateController

CreateController: ng.IModule

FileDropController

FileDropController: ng.IModule

TopLevelController

TopLevelController: ng.IModule

ViewController

ViewController: ng.IModule

_module

_module: ng.IModule

activemqNamespaces

activemqNamespaces: Array<string>

camelNamespaces

camelNamespaces: Array<string>

controller

controller: Function

controller function signature

  • (name: string, inlineAnnotatedConstructor: Array<any>): ng.IModule

customWikiViewPages

customWikiViewPages: Array<string>

The custom views within the wiki namespace; either "/wiki/$foo" or "/wiki/branch/$branch/$foo"

defaultFileNameExtensionPattern

defaultFileNameExtensionPattern: string

defaultFileNamePattern

defaultFileNamePattern: RegExp

defaultFileNamePatternInvalid

defaultFileNamePatternInvalid: string

defaultLowerCaseFileNamePattern

defaultLowerCaseFileNamePattern: RegExp

defaultLowerCaseFileNamePatternInvalid

defaultLowerCaseFileNamePatternInvalid: string

documentTemplates

documentTemplates: Array<{}>

The wizard tree for creating new content in the wiki

property

documentTemplates

for

Wiki

type

Array

dozerNamespaces

dozerNamespaces: Array<string>

droolsNamespaces

droolsNamespaces: Array<string>

excludeAdjustmentPrefixes

excludeAdjustmentPrefixes: Array<string>

hideExtensions

hideExtensions: Array<string>

Which extensions do we wish to hide in the wiki file listing

property

hideExtensions

for

Wiki

type

Array

log

log: Logging.Logger

pluginName

pluginName: string

route

route: Function

route function signature

  • (templateName: string, reloadOnSearch?: booleantrue): { templateUrl: string; reloadOnSearch: boolean; }
  • Parameters

    • templateName: string
    • reloadOnSearch?: boolean optional

    Returns { templateUrl: string; reloadOnSearch: boolean; }

springNamespaces

springNamespaces: Array<string>

tab

tab: any

templatePath

templatePath: string

Generated using TypeDoc