Skip to main content
Pentaho Documentation

repositoryFileTreeDto

Overview

Contains the files at the root of the repository. Returns files but not folders under the "/" folder. The fields returned will include the name, filesize, description, id and title.

Overview

A RepositoryFileTreeDto object containing the files at the root of the repository. Will return files but not folders under the "/" folder. The fields returned will include the name, filesize, description, id and title.

repositoryFileTreeDto element

Type: repositoryFileTreeDto

Example XML

<?xml version="1.0" encoding="UTF-8"?>
<repositoryFileTreeDto>
  <file>
    <createdDate>...</createdDate>
    <path>...</path>
    <fileSize>...</fileSize>
    <originalParentFolderPath>...</originalParentFolderPath>
    <name>...</name>
    <repositoryFileAclDto>
      <entriesInheriting>...</entriesInheriting>
      <owner>...</owner>
      <ownerType>...</ownerType>
      <tenantPath>...</tenantPath>
      <aces>
        <tenantPath>...</tenantPath>
        <modifiable>...</modifiable>
        <recipientType>...</recipientType>
        <permissions>...</permissions>
        <permissions>...</permissions>
        <!--...more "permissions" elements...-->
        <recipient>...</recipient>
      </aces>
      <aces>
        <!--...-->
      </aces>
      <!--...more "aces" elements...-->
      <id>...</id>
    </repositoryFileAclDto>
    <title>...</title>
    <lockDate>...</lockDate>
    <creatorId>...</creatorId>
    <lockMessage>...</lockMessage>
    <versioned>...</versioned>
    <deletedDate>...</deletedDate>
    <versionId>...</versionId>
    <locale>...</locale>
    <lockOwner>...</lockOwner>
    <id>...</id>
    <ownerType>...</ownerType>
    <hidden>...</hidden>
    <folder>...</folder>
    <lastModifiedDate>...</lastModifiedDate>
    <description>...</description>
    <localePropertiesMapEntries>
      <properties>
        <value>...</value>
        <key>...</key>
      </properties>
      <properties>
        <!--...-->
      </properties>
      <!--...more "properties" elements...-->
      <locale>...</locale>
    </localePropertiesMapEntries>
    <localePropertiesMapEntries>
      <!--...-->
    </localePropertiesMapEntries>
    <!--...more "localePropertiesMapEntries" elements...-->
    <locked>...</locked>
    <ownerTenantPath>...</ownerTenantPath>
    <owner>...</owner>
  </file>
  <children>
    <!--...-->
  </children>
  <children>
    <!--...-->
  </children>
  <!--...more "children" elements...-->
</repositoryFileTreeDto>

Example JSON

{
  "file" : {
    "createdDate" : "...",
    "path" : "...",
    "fileSize" : ...,
    "originalParentFolderPath" : "...",
    "name" : "...",
    "repositoryFileAclDto" : {
      "entriesInheriting" : false,
      "owner" : "...",
      "ownerType" : ...,
      "tenantPath" : "...",
      "aces" : [ {
        "tenantPath" : "...",
        "modifiable" : false,
        "recipientType" : ...,
        "permissions" : [ ..., ... ],
        "recipient" : "..."
      }, ... ],
      "id" : "..."
    },
    "title" : "...",
    "lockDate" : "...",
    "creatorId" : "...",
    "lockMessage" : "...",
    "versioned" : false,
    "deletedDate" : "...",
    "versionId" : "...",
    "locale" : "...",
    "lockOwner" : "...",
    "id" : "...",
    "ownerType" : ...,
    "hidden" : false,
    "folder" : false,
    "lastModifiedDate" : "...",
    "description" : "...",
    "localePropertiesMapEntries" : [ {
      "properties" : [ {
        "value" : "...",
        "key" : "..."
      }, ... ],
      "locale" : "..."
    }, ... ],
    "locked" : false,
    "ownerTenantPath" : "...",
    "owner" : "..."
  },
  "children" : [ {
    "..." : ...
  }, ... ]
}

Copyright © Pentaho.com