org.onebusaway.webapp.actions.p
Class IndexAction

java.lang.Object
  extended by com.opensymphony.xwork2.ActionSupport
      extended by org.onebusaway.presentation.impl.NextActionSupport
          extended by org.onebusaway.webapp.actions.AbstractAction
              extended by org.onebusaway.webapp.actions.p.IndexAction
All Implemented Interfaces:
com.opensymphony.xwork2.Action, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, com.opensymphony.xwork2.ValidationAware, Serializable, org.apache.struts2.interceptor.SessionAware

public class IndexAction
extends AbstractAction

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.onebusaway.webapp.actions.AbstractAction
_currentUserService, _transitDataService, _userInteractionLoggingService
 
Fields inherited from class org.onebusaway.presentation.impl.NextActionSupport
_session
 
Fields inherited from class com.opensymphony.xwork2.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
IndexAction()
           
 
Method Summary
 String attachment()
           
 String execute()
           
 String getContentType()
           
 String getEditLink()
           
 InputStream getInputStream()
          Methods for Raw Result
 Date getLastModified()
           
 org.onebusaway.wiki.api.WikiPage getPage()
           
 String getRenderedContent()
           
 boolean isAdmin()
           
 String raw()
           
 void setForceRefresh(boolean forceRefresh)
           
 void setWikiModelService(org.onebusaway.wiki.api.WikiDocumentService wikiModelService)
           
 void setWikiRenderingService(org.onebusaway.wiki.api.WikiRenderingService wikiRenderingService)
           
 
Methods inherited from class org.onebusaway.webapp.actions.AbstractAction
getCurrentUser, getServiceArea, isAnonymousUser, logUserInteraction, setCurrentUserService, setServiceAreaService, setSession, setTransitDataService, setUserInteractionLoggingService
 
Methods inherited from class org.onebusaway.presentation.impl.NextActionSupport
clearNextActions, getNextActionOrSuccess, pushNextAction, pushNextAction
 
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

IndexAction

public IndexAction()
Method Detail

setWikiModelService

public void setWikiModelService(org.onebusaway.wiki.api.WikiDocumentService wikiModelService)

setWikiRenderingService

public void setWikiRenderingService(org.onebusaway.wiki.api.WikiRenderingService wikiRenderingService)

setForceRefresh

public void setForceRefresh(boolean forceRefresh)

getPage

public org.onebusaway.wiki.api.WikiPage getPage()

getRenderedContent

public String getRenderedContent()

getEditLink

public String getEditLink()

isAdmin

public boolean isAdmin()

getInputStream

public InputStream getInputStream()
Methods for Raw Result


getContentType

public String getContentType()

getLastModified

public Date getLastModified()
                     throws org.onebusaway.wiki.api.WikiException
Throws:
org.onebusaway.wiki.api.WikiException

attachment

public String attachment()
                  throws Exception
Throws:
Exception

raw

public String raw()
           throws Exception
Throws:
Exception

execute

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


Copyright © 2012 OneBusAway. All Rights Reserved.