Java Doc for APIHandler.java in  » Blogger-System » blojsom-3.1 » org » blojsom » extension » xmlrpc » handler » 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 » blojsom 3.1 » org.blojsom.extension.xmlrpc.handler 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.blojsom.extension.xmlrpc.handler.APIHandler

All known Subclasses:   org.blojsom.extension.xmlrpc.handler.MetaWeblogAPIHandler,  org.blojsom.extension.xmlrpc.handler.MovableTypeAPIHandler,  org.blojsom.extension.xmlrpc.handler.PingbackHandler,  org.blojsom.extension.xmlrpc.handler.BloggerAPIHandler,
APIHandler
abstract public class APIHandler (Code)
API Handler
author:
   David Czarnecki
since:
   blojsom 3.0
version:
   $Id: APIHandler.java,v 1.4 2007/01/17 02:35:07 czarneckid Exp $


Field Summary
final protected static  StringALL_XMLRPC_EDIT_PERMISSION
    
final protected static  intAUTHORIZATION_EXCEPTION
    
final protected static  StringAUTHORIZATION_EXCEPTION_MSG
    
final protected static  intINVALID_POSTID
    
final protected static  StringINVALID_POSTID_MSG
    
final protected static  intNOBLOGS_EXCEPTION
    
final protected static  StringNOBLOGS_EXCEPTION_MSG
    
final protected static  intPERMISSION_EXCEPTION
    
final protected static  StringPERMISSION_EXCEPTION_MSG
    
final protected static  intUNKNOWN_EXCEPTION
    
final protected static  StringUNKNOWN_EXCEPTION_MSG
    
final protected static  intUNSUPPORTED_EXCEPTION
    
final protected static  StringUNSUPPORTED_EXCEPTION_MSG
    
protected  AuthorizationProvider_authorizationProvider
    
protected  Blog_blog
    
protected  EventBroadcaster_eventBroadcaster
    
protected  Fetcher_fetcher
    
protected  HttpServletRequest_httpServletRequest
    
protected  HttpServletResponse_httpServletResponse
    
protected  Properties_properties
    
protected  ServletConfig_servletConfig
    


Method Summary
protected  voidcheckXMLRPCPermission(String username, String permission)
    
abstract public  StringgetName()
    
public  voidsetAuthorizationProvider(AuthorizationProvider authorizationProvider)
    
public  voidsetBlog(Blog blog)
    
public  voidsetEventBroadcaster(EventBroadcaster eventBroadcaster)
    
public  voidsetFetcher(Fetcher fetcher)
    
public  voidsetHttpServletRequest(HttpServletRequest httpServletRequest)
    
public  voidsetHttpServletResponse(HttpServletResponse httpServletResponse)
    
public  voidsetProperties(Properties properties)
    
public  voidsetServletConfig(ServletConfig servletConfig)
    

Field Detail
ALL_XMLRPC_EDIT_PERMISSION
final protected static String ALL_XMLRPC_EDIT_PERMISSION(Code)



AUTHORIZATION_EXCEPTION
final protected static int AUTHORIZATION_EXCEPTION(Code)



AUTHORIZATION_EXCEPTION_MSG
final protected static String AUTHORIZATION_EXCEPTION_MSG(Code)



INVALID_POSTID
final protected static int INVALID_POSTID(Code)



INVALID_POSTID_MSG
final protected static String INVALID_POSTID_MSG(Code)



NOBLOGS_EXCEPTION
final protected static int NOBLOGS_EXCEPTION(Code)



NOBLOGS_EXCEPTION_MSG
final protected static String NOBLOGS_EXCEPTION_MSG(Code)



PERMISSION_EXCEPTION
final protected static int PERMISSION_EXCEPTION(Code)



PERMISSION_EXCEPTION_MSG
final protected static String PERMISSION_EXCEPTION_MSG(Code)



UNKNOWN_EXCEPTION
final protected static int UNKNOWN_EXCEPTION(Code)



UNKNOWN_EXCEPTION_MSG
final protected static String UNKNOWN_EXCEPTION_MSG(Code)



UNSUPPORTED_EXCEPTION
final protected static int UNSUPPORTED_EXCEPTION(Code)



UNSUPPORTED_EXCEPTION_MSG
final protected static String UNSUPPORTED_EXCEPTION_MSG(Code)



_authorizationProvider
protected AuthorizationProvider _authorizationProvider(Code)



_blog
protected Blog _blog(Code)



_eventBroadcaster
protected EventBroadcaster _eventBroadcaster(Code)



_fetcher
protected Fetcher _fetcher(Code)



_httpServletRequest
protected HttpServletRequest _httpServletRequest(Code)



_httpServletResponse
protected HttpServletResponse _httpServletResponse(Code)



_properties
protected Properties _properties(Code)



_servletConfig
protected ServletConfig _servletConfig(Code)





Method Detail
checkXMLRPCPermission
protected void checkXMLRPCPermission(String username, String permission) throws XmlRpcException(Code)
Check XML-RPC permissions for a given username
Parameters:
  username - Username
Parameters:
  permission - Permisison to check
throws:
  org.apache.xmlrpc.XmlRpcException - If the username does not have the required permission



getName
abstract public String getName()(Code)
Retrieve the API handler name API handler name



setAuthorizationProvider
public void setAuthorizationProvider(AuthorizationProvider authorizationProvider)(Code)
Set the AuthorizationProvider
Parameters:
  authorizationProvider - AuthorizationProvider



setBlog
public void setBlog(Blog blog)(Code)
Set the Blog
Parameters:
  blog - Blog



setEventBroadcaster
public void setEventBroadcaster(EventBroadcaster eventBroadcaster)(Code)
Set the EventBroadcaster
Parameters:
  eventBroadcaster - EventBroadcaster



setFetcher
public void setFetcher(Fetcher fetcher)(Code)
Set the Fetcher
Parameters:
  fetcher - Fetcher



setHttpServletRequest
public void setHttpServletRequest(HttpServletRequest httpServletRequest)(Code)
Set the HttpServletRequest
Parameters:
  httpServletRequest - HttpServletRequest



setHttpServletResponse
public void setHttpServletResponse(HttpServletResponse httpServletResponse)(Code)
Set the HttpServletResponse
Parameters:
  httpServletResponse - HttpServletResponse



setProperties
public void setProperties(Properties properties)(Code)
Set the properties for the handler
Parameters:
  properties - Handler properties



setServletConfig
public void setServletConfig(ServletConfig servletConfig)(Code)
Set the ServletConfig
Parameters:
  servletConfig - ServletConfig



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.