Package com.sas.lsaf.content.repository
Class CheckedOutFilesQuery
java.lang.Object
com.sas.lsaf.content.repository.CheckedOutFilesQuery
- All Implemented Interfaces:
Serializable
The class that represents information to filter checked out files. Specifying a null or empty userID queries the
current user's checked out files. If * is specified for userID, all users' checked out files are queried, if you have
the Manage Checked-out Files privilege. Without the privilege, only the current user's file are returned. Wildcards
are supported in all of the query fields.
- Since:
- 1.7
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionZero-arg constructor.CheckedOutFilesQuery(String userId, String name, String location) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets the location to query for checked out files.getName()Gets the name of the file to query for checked out files.Gets the userID of the user whose checked out files are queried.voidsetLocation(String location) Set the name to query for checked out files.voidSets the name of the file to query for checked out files.voidSets the userID of the user whose checked out files are queried.
-
Constructor Details
-
CheckedOutFilesQuery
public CheckedOutFilesQuery()Zero-arg constructor. -
CheckedOutFilesQuery
Constructor.- Parameters:
userId- the userID of the user whose checked out files are queried.name- the name of the file to query for checked out files.location- the location to query for checked out files.
-
-
Method Details
-
getUserId
Gets the userID of the user whose checked out files are queried.- Returns:
- The userID of the user whose checked out files are queried. Null or blank specifies that the current user's files are queried. * queries all users' files.
-
setUserId
Sets the userID of the user whose checked out files are queried. Specifying null or empty queries the current user's checked out files. Specifying * queries all users' checked out files if the current user does not have the Manage Checked-out Files privilege. Otherwise, only the current user's files are returned. Wild cards are supported.- Parameters:
userId- The userID to query. Null or blank results in the current user's files. * queries all users' files.
-
getName
Gets the name of the file to query for checked out files.- Returns:
- The name of the file to query for checked out files. Null specifies that all names are queried.
-
setName
Sets the name of the file to query for checked out files. Wild cards are supported.- Parameters:
name- The name of the file to query for checked out files. Null specifies that all names are queried.
-
getLocation
Gets the location to query for checked out files.- Returns:
- The location to query for checked out files. Null specifies that all locations are queried.
-
setLocation
Set the name to query for checked out files. Wild cards are supported.- Parameters:
location- The location to query for checked out files. Null specifies that all locations are queried.
-