Reference for Repository Methods

Method

Description

addVersion()

Add a version of a document

convertBqyFileToUnicode()

Convert the specified document from code page to Unicode

findFiles()

Find all files

getFileUuid()

Retrieve the UUID of the file with a specified path within EPM Workspace

getFolderUuid()

Retrieve the UUID of the folder with a specified path within EPM Workspace

isFile()

Determine whether the specified UUID represents a file

isFolder()

Determine whether the specified UUID represents a folder

publishBqyFile()

Import a file into the repository with the specified content

remapOCEs()

Remap the OCEs of the specified document to the provided set

retrieveFile()

Retrieve the document with the specified UUID as a temporary file

retrieveVersionedDocument()

Retrieve the versioned document associated with the specified UUID

EPM Workspace-Specific Repository Methods

Method

Description

changeToFolder()

Change the logical position within EPM Workspace to the specified folder path

folderExists()

Determine whether a folder with the specified path exists in EPM Workspace

getCurrentFolder()

Retrieve the path to the current folder where this script is located in EPM Workspace

getFolderContentsFor()

Retrieve the UUIDs of all files in the folder

getPathForUuid()

Get the path in EPM Workspace represented by the specified UUID

getSubfolderPathsFor()

Retrieve the UUIDs of all subfolders of the folder

makeFolder()

Create a subfolder with the specified name