Java Doc for BasePingTargetsAction.java in  » Blogger-System » apache-roller-3.1 » org » apache » roller » ui » authoring » struts » actions » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Blogger System » apache roller 3.1 » org.apache.roller.ui.authoring.struts.actions 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.roller.ui.authoring.struts.actions.BasePingTargetsAction

All known Subclasses:   org.apache.roller.ui.authoring.struts.actions.CustomPingTargetsAction,  org.apache.roller.ui.admin.struts.actions.CommonPingTargetsAction,
BasePingTargetsAction
abstract public class BasePingTargetsAction extends DispatchAction (Code)
Base class for both common and custom ping target operations. The methods here apply to creating, editing and removing ping targets. Operations for maintaining automatic ping configurations are handled by PingSetupAction .


Field Summary
final protected static  StringACCESS_DENIED_PAGE
    
final protected static  StringPING_TARGET_DELETE_PAGE
    
final protected static  StringPING_TARGET_EDIT_PAGE
    
final protected static  StringVIEW_PAGE
    

Constructor Summary
public  BasePingTargetsAction()
    

Method Summary
public  ActionForwardaddNew(ActionMapping mapping, ActionForm form, HttpServletRequest req, HttpServletResponse res)
     Add a new ping target.
abstract protected  PingTargetDatacreatePingTarget(RollerRequest rreq, PingTargetForm pingTargetForm)
     Create a new ping target (blank).
public  ActionForwarddeleteConfirmed(ActionMapping mapping, ActionForm form, HttpServletRequest req, HttpServletResponse res)
     Delete a ping target (already confirmed).
public  ActionForwarddeleteSelected(ActionMapping mapping, ActionForm form, HttpServletRequest req, HttpServletResponse res)
     Delete a ping target (load delete confirmation view).
public  ActionForwardeditSelected(ActionMapping mapping, ActionForm form, HttpServletRequest req, HttpServletResponse res)
    
abstract protected  LoggetLogger()
    
abstract public  StringgetPingTargetDeleteOKTitle()
    
abstract public  StringgetPingTargetEditTitle()
    
abstract protected  ListgetPingTargets(RollerRequest rreq)
     Get the ping targets for the view.
abstract public  StringgetPingTargetsTitle()
    
abstract protected  booleanhasRequiredRights(RollerRequest rreq, WebsiteData website)
     Helper defined by the subclass to determine if user has adequate rights for the action.
public  ActionForwardsave(ActionMapping mapping, ActionForm form, HttpServletRequest req, HttpServletResponse res)
     Save a ping target, new or existing (depending on whether the id is non-empty).
protected  PingTargetDataselect(RollerRequest rreq)
     Helper to select the ping target specified by the id in the request.
protected  ActionForwardunspecified(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response)
     Implements the default action (view) if the method is not specified.
public  ActionForwardview(ActionMapping mapping, ActionForm form, HttpServletRequest req, HttpServletResponse res)
     Display the ping targets.

Field Detail
ACCESS_DENIED_PAGE
final protected static String ACCESS_DENIED_PAGE(Code)



PING_TARGET_DELETE_PAGE
final protected static String PING_TARGET_DELETE_PAGE(Code)



PING_TARGET_EDIT_PAGE
final protected static String PING_TARGET_EDIT_PAGE(Code)



VIEW_PAGE
final protected static String VIEW_PAGE(Code)




Constructor Detail
BasePingTargetsAction
public BasePingTargetsAction()(Code)




Method Detail
addNew
public ActionForward addNew(ActionMapping mapping, ActionForm form, HttpServletRequest req, HttpServletResponse res) throws Exception(Code)
Add a new ping target. Loads the edit view blank.
Parameters:
  mapping -
Parameters:
  form -
Parameters:
  req -
Parameters:
  res - the edit page (blank)
throws:
  Exception -



createPingTarget
abstract protected PingTargetData createPingTarget(RollerRequest rreq, PingTargetForm pingTargetForm) throws RollerException(Code)
Create a new ping target (blank). This is implemented differently in the concrete subclasses.



deleteConfirmed
public ActionForward deleteConfirmed(ActionMapping mapping, ActionForm form, HttpServletRequest req, HttpServletResponse res) throws Exception(Code)
Delete a ping target (already confirmed). This performs the actual deletion.
Parameters:
  mapping -
Parameters:
  form -
Parameters:
  req -
Parameters:
  res - the result of view() after the deletion
throws:
  Exception -



deleteSelected
public ActionForward deleteSelected(ActionMapping mapping, ActionForm form, HttpServletRequest req, HttpServletResponse res) throws Exception(Code)
Delete a ping target (load delete confirmation view).
Parameters:
  mapping -
Parameters:
  form -
Parameters:
  req -
Parameters:
  res - the delete confirmation view with the form populated with the ping target specified by the id in the request.
throws:
  Exception -



editSelected
public ActionForward editSelected(ActionMapping mapping, ActionForm form, HttpServletRequest req, HttpServletResponse res) throws Exception(Code)
Edit a ping target (load edit view)
Parameters:
  mapping -
Parameters:
  form -
Parameters:
  req -
Parameters:
  res - the edit view with the form populated with the ping target specified by the id in the request.
throws:
  Exception -



getLogger
abstract protected Log getLogger()(Code)
Get the logger from the concrete subclass



getPingTargetDeleteOKTitle
abstract public String getPingTargetDeleteOKTitle()(Code)



getPingTargetEditTitle
abstract public String getPingTargetEditTitle()(Code)



getPingTargets
abstract protected List getPingTargets(RollerRequest rreq) throws RollerException(Code)
Get the ping targets for the view. This is implemented differently in the concrete subclasses.



getPingTargetsTitle
abstract public String getPingTargetsTitle()(Code)



hasRequiredRights
abstract protected boolean hasRequiredRights(RollerRequest rreq, WebsiteData website) throws RollerException(Code)
Helper defined by the subclass to determine if user has adequate rights for the action. This and the org.apache.roller.pojos.PingTargetData.canSave method determine the access control for the action.



save
public ActionForward save(ActionMapping mapping, ActionForm form, HttpServletRequest req, HttpServletResponse res) throws Exception(Code)
Save a ping target, new or existing (depending on whether the id is non-empty).
Parameters:
  mapping -
Parameters:
  form -
Parameters:
  req -
Parameters:
  res - the result of view() after the target is saved.
throws:
  Exception -



select
protected PingTargetData select(RollerRequest rreq) throws RollerException(Code)
Helper to select the ping target specified by the id in the request.
Parameters:
  rreq - the ping target specified by the id in the request
throws:
  RollerException -



unspecified
protected ActionForward unspecified(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)
Implements the default action (view) if the method is not specified.
Parameters:
  mapping -
Parameters:
  actionForm -
Parameters:
  request -
Parameters:
  response - the same result as view()
throws:
  Exception -
See Also:   org.apache.struts.actions.DispatchAction.unspecified(org.apache.struts.action.ActionMappingorg.apache.struts.action.ActionFormjavax.servlet.http.HttpServletRequestjavax.servlet.http.HttpServletResponse)



view
public ActionForward view(ActionMapping mapping, ActionForm form, HttpServletRequest req, HttpServletResponse res) throws Exception(Code)
Display the ping targets.
Parameters:
  mapping -
Parameters:
  form -
Parameters:
  req -
Parameters:
  res - forward to the ping targets page
throws:
  Exception -



w_w_w.j__av__a2___s.com__ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.