| org.apache.struts.apps.mailreader.actions.BaseAction org.apache.struts.apps.mailreader.actions.SubscriptionAction
SubscriptionAction | final public class SubscriptionAction extends BaseAction (Code) | |
Provide an Edit method for retrieving an existing subscription,
and a Save method for updating or inserting a subscription.
|
AUTO_CONNECT | final public static String AUTO_CONNECT(Code) | |
Name of autoConnect field ["autoConnect"].
|
HOST | final public static String HOST(Code) | |
Name of host field ["host"].
|
LOG_SUBSCRIPTION_POPULATE | final String LOG_SUBSCRIPTION_POPULATE(Code) | | |
TYPE | final public static String TYPE(Code) | |
Name of type field ["type"].
|
Edit | public ActionForward Edit(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code) | |
Retrieve the Subscription object to edit
or null if the Subscription does not exist.
The Subscription object is bound to the User,
and so if the User is not logged in,
control is forwarded to the Logon result.
Parameters: mapping - Our ActionMapping Parameters: form - Our ActionForm Parameters: request - Our HttpServletRequest Parameters: response - Our HttpServletResponse The "Success" result for this mapping throws: Exception - on any error |
Methods inherited from org.apache.struts.apps.mailreader.actions.BaseAction | void doCacheUser(HttpServletRequest request, User user)(Code)(Java Doc) protected void doCancel(HttpSession session, String method, String key)(Code)(Java Doc) protected ActionForward doFindFailure(ActionMapping mapping)(Code)(Java Doc) protected ActionForward doFindLogon(ActionMapping mapping)(Code)(Java Doc) protected ActionForward doFindSuccess(ActionMapping mapping)(Code)(Java Doc) protected String doGet(ActionForm form, String property)(Code)(Java Doc) protected Subscription doGetSubscription(HttpSession session)(Code)(Java Doc) protected Subscription doGetSubscription(HttpServletRequest request)(Code)(Java Doc) User doGetUser(UserDatabase database, String username, String password, ActionMessages errors) throws ExpiredPasswordException(Code)(Java Doc) User doGetUser(String username, String password, ActionMessages errors) throws ExpiredPasswordException(Code)(Java Doc) protected User doGetUser(HttpSession session)(Code)(Java Doc) protected User doGetUser(HttpServletRequest request)(Code)(Java Doc) protected UserDatabase doGetUserDatabase()(Code)(Java Doc) protected ActionForward doInputForward(ActionMapping mapping, HttpServletRequest request, ActionMessages errors)(Code)(Java Doc) protected void doLogProcess(ActionMapping mapping, String method)(Code)(Java Doc) protected void doSaveToken(HttpServletRequest request)(Code)(Java Doc) protected void doSaveUser(User user) throws ServletException(Code)(Java Doc) protected boolean doSet(ActionForm form, String property, String value)(Code)(Java Doc)
|
|
|