Class RepositoryFileQuery

  • All Implemented Interfaces:
    java.io.Serializable

    public class RepositoryFileQuery
    extends RepositoryItemQuery
    This class provides an API to generate criteria when querying repository files. The query applies to the latest version of a file. In addition to columns specific to a file, total versions and total size can be included in the output.
    Since:
    2.3
    See Also:
    Serialized Form
    • Field Detail

      • SIZE

        public static final Column SIZE
        The column that represents the size (in bytes) of the latest version of the file. See TOTAL_SIZE for total size, which includes all versions.
      • CHECKEDOUT

        public static final Column CHECKEDOUT
        The column that represents whether a file is checked out.
      • CHECKEDOUT_BY

        public static final Column CHECKEDOUT_BY
        The column that represents who has the file checked out, if it is checked out.
      • CHECKEDOUT_DATE

        public static final Column CHECKEDOUT_DATE
        The column that represents the date and time on which the file was checked out, if it is checked out.
      • VERSIONED

        public static final Column VERSIONED
        The column that represents whether a file is versioned.
      • VERSION

        public static final Column VERSION
        The column that represents the latest version, if the file is versioned.
      • COMMENT

        public static final Column COMMENT
        The column that represents the comment that was provided the last time the file was added or checked in.
      • LOCKED

        public static final Column LOCKED
        The column that represents whether a file is locked.
      • MAJOR_VERSION_LIMIT

        public static final Column MAJOR_VERSION_LIMIT
        The column that represents the limit for the major versions of a file.
      • MINOR_VERSION_LIMIT

        public static final Column MINOR_VERSION_LIMIT
        The column that represents the limit for the minor versions of a file.
      • RUNAS_OWNER

        public static final Column RUNAS_OWNER
        The column that represents whether an executable file runs as the owner of the file.
      • TOTAL_VERSIONS

        public static final Column TOTAL_VERSIONS
        The column that represents the total versions of a file, if the file is versioned.
      • TOTAL_SIZE

        public static final Column TOTAL_SIZE
        The column that represents the total size (in bytes) of a file, which includes all versions, if the file is versioned.
      • ALL

        public static final java.util.List<Column> ALL
        The value that epresents all columns in RepositoryFileQuery.
    • Constructor Detail

      • RepositoryFileQuery

        public RepositoryFileQuery()