Package psiprobe.model
Class SessionSearchInfo
- java.lang.Object
-
- psiprobe.model.SessionSearchInfo
-
- All Implemented Interfaces:
Serializable
public class SessionSearchInfo extends Object implements Serializable
Data model class used by session search feature of application session screen.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ACTION_APPLY
The Constant ACTION_APPLY.static String
ACTION_CLEAR
The Constant ACTION_CLEAR.static String
ACTION_NONE
The Constant ACTION_NONE.private String
ageFrom
The age from.private Integer
ageFromSec
The age from sec.private String
ageTo
The age to.private Integer
ageToSec
The age to sec.private boolean
apply
The apply.private String
attrName
The attr name.private List<String>
attrNameMsgs
The attr name msgs.private List<Pattern>
attrNamePatterns
The attr name patterns.private boolean
clear
The clear.private List<String>
errorMessages
The error messages.private String
idleTimeFrom
The idle time from.private Integer
idleTimeFromSec
The idle time from sec.private String
idleTimeTo
The idle time to.private Integer
idleTimeToSec
The idle time to sec.private String
infoMessage
The info message.private String
lastIp
The last ip.private static org.slf4j.Logger
logger
The Constant logger.private String
searchAction
The search action.private static long
serialVersionUID
The Constant serialVersionUID.static String
SESS_ATTR_NAME
The Constant SESS_ATTR_NAME.private String
sessionId
The session id.private String
sessionIdMsg
The session id msg.private Pattern
sessionIdPattern
The session id pattern.
-
Constructor Summary
Constructors Constructor Description SessionSearchInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addErrorMessage(String msg)
Adds the error message.String
getAgeFrom()
Gets the age from.Integer
getAgeFromSec()
Gets the age from sec.String
getAgeTo()
Gets the age to.Integer
getAgeToSec()
Gets the age to sec.String
getAttrName()
Gets the attr name.List<String>
getAttrNameMsgs()
Gets the attr name msgs.List<Pattern>
getAttrNamePatterns()
Gets the attr name patterns.List<String>
getErrorMessages()
Gets the error messages.String
getIdleTimeFrom()
Gets the idle time from.Integer
getIdleTimeFromSec()
Gets the idle time from sec.String
getIdleTimeTo()
Gets the idle time to.Integer
getIdleTimeToSec()
Gets the idle time to sec.String
getInfoMessage()
Gets the info message.String
getLastIp()
Gets the last ip.String
getSearchAction()
Gets the search action.String
getSessionId()
Gets the session id.String
getSessionIdMsg()
Gets the session id msg.Pattern
getSessionIdPattern()
Gets the session id pattern.boolean
isAgeFromValid()
Checks if is age from valid.boolean
isAgeToValid()
Checks if is age to valid.boolean
isApply()
Checks if is apply.boolean
isAttrNameValid()
Checks if is attr name valid.boolean
isClear()
Checks if is clear.boolean
isEmpty()
Checks if is empty.boolean
isIdleTimeFromValid()
Checks if is idle time from valid.boolean
isIdleTimeToValid()
Checks if is idle time to valid.boolean
isSessionIdValid()
Checks if is session id valid.boolean
isUseAgeFrom()
Checks if is use age from.boolean
isUseAgeTo()
Checks if is use age to.boolean
isUseAttr()
Checks if is use attr.boolean
isUseAttrName()
Checks if is use attr name.boolean
isUseIdleTimeFrom()
Checks if is use idle time from.boolean
isUseIdleTimeTo()
Checks if is use idle time to.boolean
isUseLastIp()
Checks if is use last ip.boolean
isUseSearch()
Checks if is use search.boolean
isUseSessionId()
Checks if is use session id.boolean
isValid()
Checks if is valid.void
setAgeFrom(String ageFrom)
Sets the age from.void
setAgeTo(String ageTo)
Sets the age to.void
setAttrName(String attrName)
Sets the attr name.void
setIdleTimeFrom(String idleTimeFrom)
Sets the idle time from.void
setIdleTimeTo(String idleTimeTo)
Sets the idle time to.void
setInfoMessage(String infoMessage)
Sets the info message.void
setLastIp(String lastIp)
Sets the last ip.void
setSearchAction(String searchAction)
Sets the search action.void
setSessionId(String sessionId)
Sets the session id.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
The Constant serialVersionUID.- See Also:
- Constant Field Values
-
logger
private static final org.slf4j.Logger logger
The Constant logger.
-
SESS_ATTR_NAME
public static final String SESS_ATTR_NAME
The Constant SESS_ATTR_NAME.- See Also:
- Constant Field Values
-
ACTION_NONE
public static final String ACTION_NONE
The Constant ACTION_NONE.- See Also:
- Constant Field Values
-
ACTION_APPLY
public static final String ACTION_APPLY
The Constant ACTION_APPLY.- See Also:
- Constant Field Values
-
ACTION_CLEAR
public static final String ACTION_CLEAR
The Constant ACTION_CLEAR.- See Also:
- Constant Field Values
-
searchAction
private String searchAction
The search action.
-
apply
private boolean apply
The apply.
-
clear
private boolean clear
The clear.
-
sessionId
private String sessionId
The session id.
-
sessionIdPattern
private Pattern sessionIdPattern
The session id pattern.
-
sessionIdMsg
private String sessionIdMsg
The session id msg.
-
attrName
private String attrName
The attr name.
-
ageFrom
private String ageFrom
The age from.
-
ageFromSec
private Integer ageFromSec
The age from sec.
-
ageTo
private String ageTo
The age to.
-
ageToSec
private Integer ageToSec
The age to sec.
-
idleTimeFrom
private String idleTimeFrom
The idle time from.
-
idleTimeFromSec
private Integer idleTimeFromSec
The idle time from sec.
-
idleTimeTo
private String idleTimeTo
The idle time to.
-
idleTimeToSec
private Integer idleTimeToSec
The idle time to sec.
-
lastIp
private String lastIp
The last ip.
-
infoMessage
private String infoMessage
The info message.
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
Checks if is empty.- Returns:
- true, if is empty
-
isSessionIdValid
public boolean isSessionIdValid()
Checks if is session id valid.- Returns:
- true, if is session id valid
-
isAttrNameValid
public boolean isAttrNameValid()
Checks if is attr name valid.- Returns:
- true, if is attr name valid
-
isAgeFromValid
public boolean isAgeFromValid()
Checks if is age from valid.- Returns:
- true, if is age from valid
-
isAgeToValid
public boolean isAgeToValid()
Checks if is age to valid.- Returns:
- true, if is age to valid
-
isIdleTimeFromValid
public boolean isIdleTimeFromValid()
Checks if is idle time from valid.- Returns:
- true, if is idle time from valid
-
isIdleTimeToValid
public boolean isIdleTimeToValid()
Checks if is idle time to valid.- Returns:
- true, if is idle time to valid
-
isValid
public boolean isValid()
Checks if is valid.- Returns:
- true, if is valid
-
isUseSearch
public boolean isUseSearch()
Checks if is use search.- Returns:
- true, if is use search
-
isUseSessionId
public boolean isUseSessionId()
Checks if is use session id.- Returns:
- true, if is use session id
-
isUseAttrName
public boolean isUseAttrName()
Checks if is use attr name.- Returns:
- true, if is use attr name
-
isUseAttr
public boolean isUseAttr()
Checks if is use attr.- Returns:
- true, if is use attr
-
isUseAgeFrom
public boolean isUseAgeFrom()
Checks if is use age from.- Returns:
- true, if is use age from
-
isUseAgeTo
public boolean isUseAgeTo()
Checks if is use age to.- Returns:
- true, if is use age to
-
isUseIdleTimeFrom
public boolean isUseIdleTimeFrom()
Checks if is use idle time from.- Returns:
- true, if is use idle time from
-
isUseIdleTimeTo
public boolean isUseIdleTimeTo()
Checks if is use idle time to.- Returns:
- true, if is use idle time to
-
isUseLastIp
public boolean isUseLastIp()
Checks if is use last ip.- Returns:
- true, if is use last ip
-
getSearchAction
public String getSearchAction()
Gets the search action.- Returns:
- the search action
-
setSearchAction
public void setSearchAction(String searchAction)
Sets the search action.- Parameters:
searchAction
- the new search action
-
isApply
public boolean isApply()
Checks if is apply.- Returns:
- true, if is apply
-
isClear
public boolean isClear()
Checks if is clear.- Returns:
- true, if is clear
-
getSessionId
public String getSessionId()
Gets the session id.- Returns:
- the session id
-
setSessionId
public void setSessionId(String sessionId)
Sets the session id.- Parameters:
sessionId
- the new session id
-
getSessionIdPattern
public Pattern getSessionIdPattern()
Gets the session id pattern.- Returns:
- the session id pattern
-
getSessionIdMsg
public String getSessionIdMsg()
Gets the session id msg.- Returns:
- the session id msg
-
getAttrName
public String getAttrName()
Gets the attr name.- Returns:
- the attr name
-
setAttrName
public void setAttrName(String attrName)
Sets the attr name.- Parameters:
attrName
- the new attr name
-
getAttrNamePatterns
public List<Pattern> getAttrNamePatterns()
Gets the attr name patterns.- Returns:
- the attr name patterns
-
getAttrNameMsgs
public List<String> getAttrNameMsgs()
Gets the attr name msgs.- Returns:
- the attr name msgs
-
getAgeFrom
public String getAgeFrom()
Gets the age from.- Returns:
- the age from
-
setAgeFrom
public void setAgeFrom(String ageFrom)
Sets the age from.- Parameters:
ageFrom
- the new age from
-
getAgeFromSec
public Integer getAgeFromSec()
Gets the age from sec.- Returns:
- the age from sec
-
getAgeTo
public String getAgeTo()
Gets the age to.- Returns:
- the age to
-
setAgeTo
public void setAgeTo(String ageTo)
Sets the age to.- Parameters:
ageTo
- the new age to
-
getAgeToSec
public Integer getAgeToSec()
Gets the age to sec.- Returns:
- the age to sec
-
getIdleTimeFrom
public String getIdleTimeFrom()
Gets the idle time from.- Returns:
- the idle time from
-
setIdleTimeFrom
public void setIdleTimeFrom(String idleTimeFrom)
Sets the idle time from.- Parameters:
idleTimeFrom
- the new idle time from
-
getIdleTimeFromSec
public Integer getIdleTimeFromSec()
Gets the idle time from sec.- Returns:
- the idle time from sec
-
getIdleTimeTo
public String getIdleTimeTo()
Gets the idle time to.- Returns:
- the idle time to
-
setIdleTimeTo
public void setIdleTimeTo(String idleTimeTo)
Sets the idle time to.- Parameters:
idleTimeTo
- the new idle time to
-
getIdleTimeToSec
public Integer getIdleTimeToSec()
Gets the idle time to sec.- Returns:
- the idle time to sec
-
getLastIp
public String getLastIp()
Gets the last ip.- Returns:
- the last ip
-
setLastIp
public void setLastIp(String lastIp)
Sets the last ip.- Parameters:
lastIp
- the new last ip
-
getInfoMessage
public String getInfoMessage()
Gets the info message.- Returns:
- the info message
-
setInfoMessage
public void setInfoMessage(String infoMessage)
Sets the info message.- Parameters:
infoMessage
- the new info message
-
getErrorMessages
public List<String> getErrorMessages()
Gets the error messages.- Returns:
- the error messages
-
addErrorMessage
public void addErrorMessage(String msg)
Adds the error message.- Parameters:
msg
- the msg
-
-