|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wsrp4j.util.ParameterChecker
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 | |
ParameterChecker()
Default Constructor |
Method Summary | |
void |
check(BlockingInteractionResponse response)
Parameter check for the BlockingInteractionResponse object. |
void |
check(ClonePortlet request)
Parameter check for the ClonePortlet object. |
void |
check(DestroyPortlets request)
Parameter check for the DestroyEntites object. |
void |
check(DestroyPortletsResponse response)
Validates the DestroyPortletsResponse object 1) DestroyFailed[], only if available |
void |
check(GetMarkup request)
Check the GetMarkup. |
void |
check(GetPortletDescription request)
Parameter check for the GetPortletDescription object. |
void |
check(GetPortletProperties request)
Parameter check for the SetPortletProperties object. |
void |
check(GetPortletPropertyDescription request)
Parameter check for the SetPortletProperties object. |
void |
check(GetServiceDescription request)
Check the GetServiceDescritpion. |
void |
check(InitCookie request)
Check the InitCookie. |
void |
check(MarkupResponse response)
Parameter check for the MarkupResponse object. |
void |
check(ModifyRegistration request)
Check the ModifyRegistration. |
void |
check(PerformBlockingInteraction request)
Check the PerformBlockingInteraction. |
void |
check(PortletContext portletContext,
boolean nillable)
Check the PortletContext. |
void |
check(PortletDescription element)
Parameter check for the PortletDescription object. |
void |
check(PortletDescriptionResponse response)
Validates the PortletDescriptionResponse object 1) PortletDescription 2) ResourceList, only if available |
void |
check(PortletPropertyDescriptionResponse response)
Validates the PortletPropertyDescriptionResponse object 1) ResourceList |
void |
check(PropertyList propertyList,
boolean nillable)
Check the PropertyList. |
void |
check(RegistrationContext registrationContext,
boolean nillable)
Check the RegistrationContext. |
void |
check(RegistrationData registrationData,
boolean nillable)
Check the RegistrationData. |
void |
check(ReleaseSessions request)
Parameter check for the ReleaseSession object. |
void |
check(ServiceDescription response)
Parameter check for the ServiceDescription object. |
void |
check(SetPortletProperties request)
Parameter check for the SetPortletProperties object. |
void |
check(Templates element)
Parameter check for the PortletDescription object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ParameterChecker()
Method Detail |
public void check(GetServiceDescription request) throws MissingParametersFault
request
- _getServiceDescription
MissingParametersFault
GetServiceDescription
public void check(ModifyRegistration request) throws MissingParametersFault
request
- _modifyRegistration
MissingParametersFault
ModifyRegistration
public void check(GetMarkup request) throws MissingParametersFault
request
- getMarkup
MissingParametersFault
GetMarkup
public void check(PerformBlockingInteraction request) throws MissingParametersFault
request
- _performBlockingInteraction
MissingParametersFault
PerformBlockingInteraction
public void check(InitCookie request) throws MissingParametersFault
request
- _initCookie
MissingParametersFault
InitCookie
public void check(GetPortletDescription request) throws MissingParametersFault
request
- _getPortletDescription
MissingParametersFault
GetPortletDescription
public void check(ClonePortlet request) throws MissingParametersFault
request
- _clonePortlet
MissingParametersFault
ClonePortlet
public void check(DestroyPortlets request) throws MissingParametersFault
request
- _destroyPortlets
MissingParametersFault
DestroyPortlets
public void check(SetPortletProperties request) throws MissingParametersFault
request
- _setPortletProperties
MissingParametersFault
SetPortletProperties
public void check(GetPortletProperties request) throws MissingParametersFault
request
- _getPortletProperties
MissingParametersFault
GetPortletPorperties
public void check(GetPortletPropertyDescription request) throws MissingParametersFault
request
- _getPortletPropertyDescription
MissingParametersFault
GetPortletPropertyDescription
public void check(ReleaseSessions request) throws MissingParametersFault
request
- _releaseSession
MissingParametersFault
ReleaseSession
public void check(ServiceDescription response) throws MissingParametersFault
response
- ServiceDescription
MissingParametersFault
ServiceDescription
public void check(BlockingInteractionResponse response) throws MissingParametersFault
response
- BlockingInteractionResponse
MissingParametersFault
BlockingInteractionResponse
public void check(MarkupResponse response) throws MissingParametersFault
response
- MarkupResponse
MissingParametersFault
MarkupResponse
public void check(PortletDescriptionResponse response) throws MissingParametersFault
response
- PortletDescriptionResponse
MissingParametersFault
PortletDescriptionResponse
public void check(PortletPropertyDescriptionResponse response) throws MissingParametersFault
response
- PortletPropertyDescriptionResponse
MissingParametersFault
PortletPropertyDescriptionResponse
public void check(DestroyPortletsResponse response) throws MissingParametersFault
response
- DestroyPortletResponse
MissingParametersFault
DestroyPortletsResponse
public void check(PortletDescription element) throws MissingParametersFault
element
- PortletDescription
MissingParametersFault
PortletDescription
public void check(Templates element) throws MissingParametersFault
element
- Templates
MissingParametersFault
PortletDescription
public void check(PropertyList propertyList, boolean nillable) throws MissingParametersFault
propertyList
- PropertyListnillable
- boolean true, if the PropertyList can be nill
false, if the PropertyList is not nillable
MissingParametersFault
PropertyList
public void check(RegistrationData registrationData, boolean nillable) throws MissingParametersFault
registrationData
- RegistrationDatanillable
- boolean true, if the RegistrationData can be nill
false, if the RegistrationData is not nillable
MissingParametersFault
RegistrationData
public void check(RegistrationContext registrationContext, boolean nillable) throws MissingParametersFault
registrationContext
- RegistrationContextnillable
- boolean true, if the RegistrationContext can be nill
false, if the RegistrationContext is not nillable
MissingParametersFault
RegistrationContext
public void check(PortletContext portletContext, boolean nillable) throws MissingParametersFault
portletContext
- PortletContextnillable
- boolean true, if the PortletContext can be nill
false, if the PortletContext is not nillable
MissingParametersFault
PortletContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |