nl.surfnet.coin.selfservice.dao
Interface ActionsDao

All Known Implementing Classes:
ActionsDaoImpl

public interface ActionsDao

Dao for action objects


Method Summary
 void close(String jiraKey)
          Close an action.
 Action findAction(long id)
          Find a unique Action by its id
 List<Action> findActionsByIdP(String identityProvider)
          Get a list of all actions by identity provider
 List<String> getKeys(String identityProvider)
          Find the Jira Keys for an identity provider
 void saveAction(Action action)
          persist the given action
 

Method Detail

findActionsByIdP

List<Action> findActionsByIdP(String identityProvider)
Get a list of all actions by identity provider

Parameters:
identityProvider - the identity provider.
Returns:
list of Action (or an empty list in case none found)

saveAction

void saveAction(Action action)
persist the given action

Parameters:
action - the Action object

findAction

Action findAction(long id)
Find a unique Action by its id

Parameters:
id - the id
Returns:
Action or null if not found.

getKeys

List<String> getKeys(String identityProvider)
Find the Jira Keys for an identity provider

Parameters:
identityProvider - provider the id of the institution.
Returns:
a list of jira keys

close

void close(String jiraKey)
Close an action.

Parameters:
jiraKey - the key in jira


Copyright © 2012 SURFnet bv, The Netherlands. All Rights Reserved.