Package com.sas.lsaf.execution.session
Class SessionQuery
java.lang.Object
com.sas.lsaf.execution.session.SessionQuery
- All Implemented Interfaces:
Serializable
The class that contains the criteria to query sessions.
- Since:
- 2.4
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the session engine to query.Gets the beginning date of the session ended date range to query.Gets the beginning date of the session started date range to query.intgetLimit()Gets the maximum number of sessions to return.getState()Gets the state of the session to query.Gets the submission label to query for sessions.Gets the end date of the session ended date range to query.Gets the end date of the session started date range to query.getType()Gets the type of session to query.Gets the user identifier of the session owner to query.inthashCode()voidsetEngine(Session.SessionEngine engine) Sets the session engine to query.voidsetFromDateEnded(Date fromDateEnded) Sets the beginning date of the session started date range to query.voidsetFromDateStarted(Date fromDateStarted) Sets the end date of the session ended date range to query.voidsetLimit(int limit) Sets the maximum number of sessions to return.voidsetState(Session.SessionState state) Sets the state of the session to query.voidsetSubmissionLabel(String submissionLabel) Sets the submission label to query for sessions.voidsetToDateEnded(Date toDateEnded) Sets the end date of the session ended date range to query.voidsetToDateStarted(Date toDateStarted) Sets the end date of the session started date range to query.voidsetType(Session.SessionType type) Sets the type of session to query.voidSets the user identifier of the session owner to query.toString()
-
Constructor Details
-
SessionQuery
public SessionQuery()Constructor.
-
-
Method Details
-
getUserId
Gets the user identifier of the session owner to query.- Returns:
- The user identifier of the session owner to query.
-
setUserId
Sets the user identifier of the session owner to query.- Parameters:
userId- The user identifier of the session owner to query.
-
getEngine
Gets the session engine to query.- Returns:
- The session engine to query.
-
setEngine
Sets the session engine to query.- Parameters:
engine- The session engine to query.
-
getType
Gets the type of session to query.- Returns:
- The type of session to query.
-
setType
Sets the type of session to query.- Parameters:
type- The type of session to query.
-
getState
Gets the state of the session to query.- Returns:
- The state of the session to query.
-
setState
Sets the state of the session to query.- Parameters:
state- The state of the session to query.
-
getSubmissionLabel
Gets the submission label to query for sessions.- Returns:
- The submission label to query for sessions.
-
setSubmissionLabel
Sets the submission label to query for sessions.- Parameters:
submissionLabel- The submission label to query for sessions.
-
getFromDateStarted
Gets the beginning date of the session started date range to query.- Returns:
- The beginning date of the session started date range to query.
-
setFromDateStarted
Sets the end date of the session ended date range to query.- Parameters:
fromDateStarted- The end date of the session ended date range to query.
-
getToDateStarted
Gets the end date of the session started date range to query.- Returns:
- The end date of the session started date range to query.
-
setToDateStarted
Sets the end date of the session started date range to query.- Parameters:
toDateStarted- The end date of the session started date range to query.
-
getFromDateEnded
Gets the beginning date of the session ended date range to query.- Returns:
- The beginning date of the session ended date range to query.
-
setFromDateEnded
Sets the beginning date of the session started date range to query.- Parameters:
fromDateEnded- The beginning date of the session started date range to query.
-
getToDateEnded
Gets the end date of the session ended date range to query.- Returns:
- The end date of the session ended date range to query.
-
setToDateEnded
Sets the end date of the session ended date range to query.- Parameters:
toDateEnded- The end date of the session ended date range to query.
-
getLimit
public int getLimit()Gets the maximum number of sessions to return.- Returns:
- The maximum number of sessions to return.
-
setLimit
public void setLimit(int limit) Sets the maximum number of sessions to return.- Parameters:
limit- The maximum number of sessions to return.
-
hashCode
public int hashCode() -
equals
-
toString
-