@Entity public class ApprovedSite extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PARAM_CLIENT_ID |
static String |
PARAM_USER_ID |
static String |
QUERY_ALL |
static String |
QUERY_BY_CLIENT_ID |
static String |
QUERY_BY_CLIENT_ID_AND_USER_ID |
static String |
QUERY_BY_USER_ID |
Constructor and Description |
---|
ApprovedSite()
Empty constructor
|
Modifier and Type | Method and Description |
---|---|
Date |
getAccessDate() |
Set<String> |
getAllowedScopes() |
String |
getClientId() |
Date |
getCreationDate() |
Long |
getId() |
Date |
getTimeoutDate() |
String |
getUserId() |
boolean |
isExpired()
Has this approval expired?
|
void |
setAccessDate(Date accessDate) |
void |
setAllowedScopes(Set<String> allowedScopes) |
void |
setClientId(String clientId) |
void |
setCreationDate(Date creationDate) |
void |
setId(Long id) |
void |
setTimeoutDate(Date timeoutDate) |
void |
setUserId(String userId) |
public static final String QUERY_BY_CLIENT_ID_AND_USER_ID
public static final String QUERY_BY_CLIENT_ID
public static final String QUERY_BY_USER_ID
public static final String QUERY_ALL
public static final String PARAM_CLIENT_ID
public static final String PARAM_USER_ID
public ApprovedSite()
public String getClientId()
public void setClientId(String clientId)
clientId
- the clientId to setpublic Date getCreationDate()
public void setCreationDate(Date creationDate)
creationDate
- the creationDate to setpublic Date getAccessDate()
public void setAccessDate(Date accessDate)
accessDate
- the accessDate to setpublic Set<String> getAllowedScopes()
public void setAllowedScopes(Set<String> allowedScopes)
allowedScopes
- the allowedScopes to setpublic Date getTimeoutDate()
public void setTimeoutDate(Date timeoutDate)
timeoutDate
- the timeoutDate to setpublic boolean isExpired()
Copyright © 2018. All rights reserved.