org.onebusaway.webapp.actions.admin.console
Class ServiceAlertAction

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

public class ServiceAlertAction
extends com.opensymphony.xwork2.ActionSupport
implements com.opensymphony.xwork2.ModelDriven<ServiceAlertBean>

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
ServiceAlertAction()
           
 
Method Summary
 String delete()
           
 String execute()
           
 String getAgencyId()
           
 String getDescription()
           
 ServiceAlertBean getModel()
           
 String getRaw()
           
 Map<String,String> getReasonValues()
           
 String getSummary()
           
 void setAgencyId(String agencyId)
           
 void setDescription(String description)
           
 void setRaw(String raw)
           
 void setSummary(String summary)
           
 void setTransitDataService(TransitDataService transitDataService)
           
 String submit()
           
 
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

ServiceAlertAction

public ServiceAlertAction()
Method Detail

setTransitDataService

public void setTransitDataService(TransitDataService transitDataService)

getModel

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

setAgencyId

public void setAgencyId(String agencyId)

getAgencyId

public String getAgencyId()

setSummary

public void setSummary(String summary)

getSummary

public String getSummary()

setDescription

public void setDescription(String description)

getDescription

public String getDescription()

setRaw

public void setRaw(String raw)

getRaw

public String getRaw()

execute

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

submit

public String submit()
              throws IOException,
                     org.json.JSONException
Throws:
IOException
org.json.JSONException

delete

public String delete()

getReasonValues

public Map<String,String> getReasonValues()


Copyright © 2012 OneBusAway. All Rights Reserved.