Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Applies to: (tick) Kyvos Enterprise  (tick) Kyvos Cloud (SaaS on AWS) (tick) Kyvos AWS Marketplace

(tick) Kyvos Azure Marketplace   (tick) Kyvos GCP Marketplace (tick) Kyvos Single Node Installation (Kyvos SNI)

...

Overview

Create a new folder by specifying the folder name and type.

  1. Add the folder object to the repository.

...

  1. Create a new folder by specifying the folder name and type.

    Code Block
    languagejava
    /**
    * method to create folder in Repository Manager.
    * @param folderName: Name of the folder to be created.
    * @param type: Type of folder to be created, enum type RepositoryManager.folderType.
    * @param userInfo: Object of type UserInfo containing information about logged in user.
    * @return folderObj: Object of type Folder.
    */
    public Folder createFolder(String folderName, folderType type, UserInfo userInfo);
  2. Add the folder object to the repository

    Code Block
    /**
    * method to add folder in Repository Manager.
    * @param folderObj: Object of type Folder.
    * @param userInfo: Object of type UserInfo containing information about logged in user.
    */
    public void addFolder(Folder folderObj, UserInfo userInfo);

...