org.onebusaway.webapp.actions.admin
Class ApiKeysAction

java.lang.Object
  extended by com.opensymphony.xwork2.ActionSupport
      extended by org.onebusaway.webapp.actions.admin.ApiKeysAction
All Implemented Interfaces:
com.opensymphony.xwork2.Action, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.ModelDriven<ApiKeyModel>, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, com.opensymphony.xwork2.ValidationAware, Serializable

public class ApiKeysAction
extends com.opensymphony.xwork2.ActionSupport
implements com.opensymphony.xwork2.ModelDriven<ApiKeyModel>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.opensymphony.xwork2.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
ApiKeysAction()
           
 
Method Summary
 String bulkSaveOrUpdate()
           
 String delete()
           
 String edit()
           
 String execute()
           
 String generate()
           
 List<String> getApiKeys()
           
 ApiKeyModel getModel()
           
 String saveOrUpdate()
           
 void setData(String data)
           
 void setFile(File file)
           
 void setUserPropertiesService(UserPropertiesService userPropertiesService)
           
 void setUserService(UserService userService)
           
 
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApiKeysAction

public ApiKeysAction()
Method Detail

setUserService

public void setUserService(UserService userService)

setUserPropertiesService

public void setUserPropertiesService(UserPropertiesService userPropertiesService)

getModel

public ApiKeyModel getModel()
Specified by:
getModel in interface com.opensymphony.xwork2.ModelDriven<ApiKeyModel>

getApiKeys

public List<String> getApiKeys()

setData

public void setData(String data)

setFile

public void setFile(File file)

execute

public String execute()
Specified by:
execute in interface com.opensymphony.xwork2.Action
Overrides:
execute in class com.opensymphony.xwork2.ActionSupport

edit

public String edit()

saveOrUpdate

public String saveOrUpdate()

bulkSaveOrUpdate

public String bulkSaveOrUpdate()
                        throws IOException
Throws:
IOException

delete

public String delete()

generate

public String generate()


Copyright © 2012 OneBusAway. All Rights Reserved.