Package com.sas.lsaf.query.repository
Class RepositoryFileQuery
- java.lang.Object
-
- com.sas.lsaf.query.Query
-
- com.sas.lsaf.query.repository.RepositoryItemQuery
-
- com.sas.lsaf.query.repository.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 Summary
Fields Modifier and Type Field Description static java.util.List<Column>
ALL
The value that epresents all columns inRepositoryFileQuery
.static Column
CHECKEDOUT
The column that represents whether a file is checked out.static Column
CHECKEDOUT_BY
The column that represents who has the file checked out, if it is checked out.static Column
CHECKEDOUT_DATE
The column that represents the date and time on which the file was checked out, if it is checked out.static Column
COMMENT
The column that represents the comment that was provided the last time the file was added or checked in.static Column
DIGEST
The column that represents the digest of the latest version of a file.static Column
LOCKED
The column that represents whether a file is locked.static Column
MAJOR_VERSION_LIMIT
The column that represents the limit for the major versions of a file.static Column
MINOR_VERSION_LIMIT
The column that represents the limit for the minor versions of a file.static Column
RUNAS_OWNER
The column that represents whether an executable file runs as the owner of the file.static Column
SIGNING_STATUS
The column that represents the signing status of a file.static Column
SIZE
The column that represents the size (in bytes) of the latest version of the file.static Column
TOTAL_SIZE
The column that represents the total size (in bytes) of a file, which includes all versions, if the file is versioned.static Column
TOTAL_VERSIONS
The column that represents the total versions of a file, if the file is versioned.static Column
VERSION
The column that represents the latest version, if the file is versioned.static Column
VERSIONED
The column that represents whether a file is versioned.-
Fields inherited from class com.sas.lsaf.query.repository.RepositoryItemQuery
CREATED, CREATED_BY, DESCRIPTION, ID, LAST_MODIFIED, LAST_MODIFIED_BY, NAME, PATH, PROPERTIES_LAST_MODIFIED, PROPERTIES_LAST_MODIFIED_BY, STATE, SYNCABLE, TOTAL_CONTAINER_SIZE, TOTAL_FILE_SIZE, TYPE_ID
-
-
Constructor Summary
Constructors Constructor Description RepositoryFileQuery()
-
Method Summary
-
Methods inherited from class com.sas.lsaf.query.Query
constrain, getColumns, getConstraint, getOrder, includeColumnNames, isIncludeColumnNames, order, order, select, select, setColumns, setConstraint, setIncludeColumnNames, setOrder, toString
-
-
-
-
Field Detail
-
SIZE
public static final Column SIZE
The column that represents the size (in bytes) of the latest version of the file. SeeTOTAL_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.
-
DIGEST
public static final Column DIGEST
The column that represents the digest of the latest version of a file. SeeRepositoryFile.getDigest()
.
-
SIGNING_STATUS
public static final Column SIGNING_STATUS
The column that represents the signing status of a file. SeeRepositoryFile.SigningStatus
.
-
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 inRepositoryFileQuery
.
-
-