Java Doc for ParameterChecker.java in  » Portal » liferay-portal-4.4.2 » org » apache » wsrp4j » util » 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 » Portal » liferay portal 4.4.2 » org.apache.wsrp4j.util 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.wsrp4j.util.ParameterChecker

ParameterChecker
public class ParameterChecker (Code)
This class validates the objects and their attributes used for the WSRP communication requests. The object and attribute tree is scanned including the 2nd level. This means, that the input object, it's attributes and ,if the attribute is itself an object, the subsequent object and It's attributes are also checked. The checking is done only for required (R) parameters in the WSRP specification. Optional (O) parameters are ignored. If a parameter is specified as 'nillable' in the WSRP specification, the check is performed if the value is 'not null'. On null value, no checking is done.



Constructor Summary
public  ParameterChecker()
    

Method Summary
public  voidcheck(GetServiceDescription request)
     Check the GetServiceDescritpion.
public  voidcheck(ModifyRegistration request)
     Check the ModifyRegistration.
public  voidcheck(GetMarkup request)
     Check the GetMarkup.
public  voidcheck(PerformBlockingInteraction request)
     Check the PerformBlockingInteraction.
public  voidcheck(InitCookie request)
     Check the InitCookie.
public  voidcheck(GetPortletDescription request)
     Parameter check for the GetPortletDescription object.
public  voidcheck(ClonePortlet request)
     Parameter check for the ClonePortlet object.
public  voidcheck(DestroyPortlets request)
     Parameter check for the DestroyEntites object.
public  voidcheck(SetPortletProperties request)
     Parameter check for the SetPortletProperties object.
public  voidcheck(GetPortletProperties request)
     Parameter check for the SetPortletProperties object.
public  voidcheck(GetPortletPropertyDescription request)
     Parameter check for the SetPortletProperties object.
public  voidcheck(ReleaseSessions request)
     Parameter check for the ReleaseSession object.
public  voidcheck(ServiceDescription response)
     Parameter check for the ServiceDescription object.
public  voidcheck(BlockingInteractionResponse response)
     Parameter check for the BlockingInteractionResponse object.
public  voidcheck(MarkupResponse response)
     Parameter check for the MarkupResponse object.
public  voidcheck(PortletDescriptionResponse response)
    
public  voidcheck(PortletPropertyDescriptionResponse response)
    
public  voidcheck(DestroyPortletsResponse response)
    
public  voidcheck(PortletDescription element)
     Parameter check for the PortletDescription object.
public  voidcheck(Templates element)
     Parameter check for the PortletDescription object.
public  voidcheck(PropertyList propertyList, boolean nillable)
     Check the PropertyList.
public  voidcheck(RegistrationData registrationData, boolean nillable)
     Check the RegistrationData.
public  voidcheck(RegistrationContext registrationContext, boolean nillable)
     Check the RegistrationContext.
public  voidcheck(PortletContext portletContext, boolean nillable)
     Check the PortletContext.


Constructor Detail
ParameterChecker
public ParameterChecker()(Code)
Default Constructor




Method Detail
check
public void check(GetServiceDescription request) throws MissingParametersFault(Code)
Check the GetServiceDescritpion. The following attributes are mandatory: 1) RegistrationContext, only if available 2) String[] DesiredLocales, only if SendAllLocales == false
Parameters:
  request - _getServiceDescription
throws:
  MissingParametersFault -
See Also:   GetServiceDescription



check
public void check(ModifyRegistration request) throws MissingParametersFault(Code)
Check the ModifyRegistration. The following attributes are mandatory: 1) RegistrationContext, only if available 2) RegistrationData
Parameters:
  request - _modifyRegistration
throws:
  MissingParametersFault -
See Also:   ModifyRegistration



check
public void check(GetMarkup request) throws MissingParametersFault(Code)
Check the GetMarkup. The following attributes are mandatory: 1) RegistrationContext, only if available 2) PortletContext 3) RuntimeContext 4) UserContext, only if available 5) MarkupParams
Parameters:
  request - getMarkup
throws:
  MissingParametersFault -
See Also:   GetMarkup



check
public void check(PerformBlockingInteraction request) throws MissingParametersFault(Code)
Check the PerformBlockingInteraction. The following attributes are mandatory: 1) RegistrationContext, only if available 2) PortletContext 3) RuntimeContext 4) UserContext, only if available 5) MarkupParams 6) InteractionParams
Parameters:
  request - _performBlockingInteraction
throws:
  MissingParametersFault -
See Also:   PerformBlockingInteraction



check
public void check(InitCookie request) throws MissingParametersFault(Code)
Check the InitCookie. The following attributes are mandatory: 1) RegistrationContext, only if available
Parameters:
  request - _initCookie
throws:
  MissingParametersFault -
See Also:   InitCookie



check
public void check(GetPortletDescription request) throws MissingParametersFault(Code)
Parameter check for the GetPortletDescription object. The following attributes are mandatory 1) RegistrationContext, only if available 2) PortletContext 3) UserContext, only if available
Parameters:
  request - _getPortletDescription
throws:
  MissingParametersFault -
See Also:   GetPortletDescription



check
public void check(ClonePortlet request) throws MissingParametersFault(Code)
Parameter check for the ClonePortlet object. The following attributes are mandatory: 1) RegistrationContext, only if available 2) PortletContext 3) UserContext, only if available
Parameters:
  request - _clonePortlet
throws:
  MissingParametersFault -
See Also:   ClonePortlet



check
public void check(DestroyPortlets request) throws MissingParametersFault(Code)
Parameter check for the DestroyEntites object. The following attributes are mandatory: 1) RegistrationContext, only if available 2) PortletHandle
Parameters:
  request - _destroyPortlets
throws:
  MissingParametersFault -
See Also:   DestroyPortlets



check
public void check(SetPortletProperties request) throws MissingParametersFault(Code)
Parameter check for the SetPortletProperties object. The following attributes are mandatory: 1) RegistrationContext, only if available 2) PortletContext 3) UserContext, only if available 4) PropertyList
Parameters:
  request - _setPortletProperties
throws:
  MissingParametersFault -
See Also:   SetPortletProperties



check
public void check(GetPortletProperties request) throws MissingParametersFault(Code)
Parameter check for the SetPortletProperties object. The following attributes are mandatory: 1) RegistrationContext, only if available 2) PortletContext 3) UserContext, only if available 4) Names, only if available
Parameters:
  request - _getPortletProperties
throws:
  MissingParametersFault -
See Also:   GetPortletPorperties



check
public void check(GetPortletPropertyDescription request) throws MissingParametersFault(Code)
Parameter check for the SetPortletProperties object. The following attributes are mandatory: 1) RegistrationContext, only if available 2) PortletContext 3) UserContext, only if available
Parameters:
  request - _getPortletPropertyDescription
throws:
  MissingParametersFault -
See Also:   GetPortletPropertyDescription



check
public void check(ReleaseSessions request) throws MissingParametersFault(Code)
Parameter check for the ReleaseSession object. The following attributes are mandatory: 1) RegistrationContext, only if available 2) String[] SessionHandles
Parameters:
  request - _releaseSession
throws:
  MissingParametersFault -
See Also:   ReleaseSession



check
public void check(ServiceDescription response) throws MissingParametersFault(Code)
Parameter check for the ServiceDescription object. The following attribute needs to be set: - requiresRegistration
Parameters:
  response - ServiceDescription
throws:
  MissingParametersFault -
See Also:   ServiceDescription



check
public void check(BlockingInteractionResponse response) throws MissingParametersFault(Code)
Parameter check for the BlockingInteractionResponse object. The following attribute needs to be set: either - updateResponse or - redirectURL
Parameters:
  response - BlockingInteractionResponse
throws:
  MissingParametersFault -
See Also:   BlockingInteractionResponse



check
public void check(MarkupResponse response) throws MissingParametersFault(Code)
Parameter check for the MarkupResponse object. The following attribute needs to be set: 1) MarkupContext 2) SessionContext, only if available
Parameters:
  response - MarkupResponse
throws:
  MissingParametersFault -
See Also:   MarkupResponse



check
public void check(PortletDescriptionResponse response) throws MissingParametersFault(Code)
Validates the PortletDescriptionResponse object 1) PortletDescription 2) ResourceList, only if available
Parameters:
  response - PortletDescriptionResponse
throws:
  MissingParametersFault -
See Also:   PortletDescriptionResponse



check
public void check(PortletPropertyDescriptionResponse response) throws MissingParametersFault(Code)
Validates the PortletPropertyDescriptionResponse object 1) ResourceList
Parameters:
  response - PortletPropertyDescriptionResponse
throws:
  MissingParametersFault -
See Also:   PortletPropertyDescriptionResponse



check
public void check(DestroyPortletsResponse response) throws MissingParametersFault(Code)
Validates the DestroyPortletsResponse object 1) DestroyFailed[], only if available
Parameters:
  response - DestroyPortletResponse
throws:
  MissingParametersFault -
See Also:   DestroyPortletsResponse



check
public void check(PortletDescription element) throws MissingParametersFault(Code)
Parameter check for the PortletDescription object. The following parameter needs to be set: 1) portletHandle 2) markupType[]
Parameters:
  element - PortletDescription
throws:
  MissingParametersFault -
See Also:   PortletDescription



check
public void check(Templates element) throws MissingParametersFault(Code)
Parameter check for the PortletDescription object. The following parameter needs to be set: all templates...
Parameters:
  element - Templates
throws:
  MissingParametersFault -
See Also:   PortletDescription



check
public void check(PropertyList propertyList, boolean nillable) throws MissingParametersFault(Code)
Check the PropertyList. The following attributes are mandatory: 1) Property[]
Parameters:
  propertyList - PropertyList
Parameters:
  nillable - boolean true, if the PropertyList can be nillfalse, if the PropertyList is not nillable
throws:
  MissingParametersFault -
See Also:   PropertyList



check
public void check(RegistrationData registrationData, boolean nillable) throws MissingParametersFault(Code)
Check the RegistrationData. The following attributes are mandatory: 1) ConsumerName 2) ConsumerAgent
Parameters:
  registrationData - RegistrationData
Parameters:
  nillable - boolean true, if the RegistrationData can be nillfalse, if the RegistrationData is not nillable
throws:
  MissingParametersFault -
See Also:   RegistrationData



check
public void check(RegistrationContext registrationContext, boolean nillable) throws MissingParametersFault(Code)
Check the RegistrationContext. The following attributes are mandatory: 1) RegistrationHandle
Parameters:
  registrationContext - RegistrationContext
Parameters:
  nillable - boolean true, if the RegistrationContext can be nillfalse, if the RegistrationContext is not nillable
throws:
  MissingParametersFault -
See Also:   RegistrationContext



check
public void check(PortletContext portletContext, boolean nillable) throws MissingParametersFault(Code)
Check the PortletContext. The following attributes are mandatory: 1) PortletHandle
Parameters:
  portletContext - PortletContext
Parameters:
  nillable - boolean true, if the PortletContext can be nillfalse, if the PortletContext is not nillable
throws:
  MissingParametersFault -
See Also:   PortletContext



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.