Class CheckedOutFilesQuery

java.lang.Object
com.sas.lsaf.content.repository.CheckedOutFilesQuery
All Implemented Interfaces:
Serializable

public class CheckedOutFilesQuery extends Object implements 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 Details

    • CheckedOutFilesQuery

      public CheckedOutFilesQuery()
      Zero-arg constructor.
    • CheckedOutFilesQuery

      public CheckedOutFilesQuery(String userId, String name, String location)
      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

      public String 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

      public void setUserId(String userId)
      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

      public String 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

      public void setName(String name)
      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

      public String 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

      public void setLocation(String location)
      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.