public class Action extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Action.Status |
static class |
Action.Type |
| Constructor and Description |
|---|
Action(String jiraKey,
String userId,
String userName,
Action.Type type,
Action.Status status,
String body,
String idpId,
String spId,
String institutionId,
Date requestDate) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBody() |
long |
getId() |
String |
getIdpId() |
String |
getInstitutionId() |
String |
getJiraKey() |
Date |
getRequestDate() |
ServiceProvider |
getSp()
Get the SP this action is about.
|
String |
getSpId() |
Action.Status |
getStatus() |
Action.Type |
getType() |
String |
getUserId() |
String |
getUserName() |
void |
setId(long id) |
void |
setSp(ServiceProvider sp)
|
static Comparator<? super Action> |
sortByDateAsc()
get a Comparator that sorts by date ascending: newest first
|
public Action(String jiraKey, String userId, String userName, Action.Type type, Action.Status status, String body, String idpId, String spId, String institutionId, Date requestDate)
public String getJiraKey()
public String getUserName()
public String getUserId()
public String getBody()
public String getIdpId()
public String getSpId()
public Date getRequestDate()
public Action.Type getType()
public Action.Status getStatus()
public long getId()
public void setId(long id)
public String getInstitutionId()
public static Comparator<? super Action> sortByDateAsc()
public ServiceProvider getSp()
public void setSp(ServiceProvider sp)
sp - Copyright © 2012-2013 SURFnet bv, The Netherlands. All Rights Reserved.