nl.surfnet.coin.selfservice.domain
Class Action
java.lang.Object
nl.surfnet.coin.selfservice.domain.Action
public class Action
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Action
public Action(String jiraKey,
String userId,
String userName,
Action.Type type,
Action.Status status,
String body,
String idpId,
String spId,
String institutionId,
Date requestDate)
getJiraKey
public String getJiraKey()
getUserName
public String getUserName()
getUserId
public String getUserId()
getBody
public String getBody()
getIdpId
public String getIdpId()
getSpId
public String getSpId()
getRequestDate
public Date getRequestDate()
getType
public Action.Type getType()
getStatus
public Action.Status getStatus()
getId
public long getId()
setId
public void setId(long id)
getInstitutionId
public String getInstitutionId()
sortByDateAsc
public static Comparator<? super Action> sortByDateAsc()
- get a Comparator that sorts by date ascending: newest first
- Returns:
getSp
public ServiceProvider getSp()
- Get the SP this action is about.
This is a transient field, derived from the spId and filled only when needed.
- Returns:
- ServiceProvider
setSp
public void setSp(ServiceProvider sp)
getSp()
- Parameters:
sp -
Copyright © 2012 SURFnet bv, The Netherlands. All Rights Reserved.