|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.wsrp4j.util.ParameterChecker
public class 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
MissingParametersFaultGetServiceDescription
public void check(ModifyRegistration request)
throws MissingParametersFault
request - _modifyRegistration
MissingParametersFaultModifyRegistration
public void check(GetMarkup request)
throws MissingParametersFault
request - getMarkup
MissingParametersFaultGetMarkup
public void check(PerformBlockingInteraction request)
throws MissingParametersFault
request - _performBlockingInteraction
MissingParametersFaultPerformBlockingInteraction
public void check(InitCookie request)
throws MissingParametersFault
request - _initCookie
MissingParametersFaultInitCookie
public void check(GetPortletDescription request)
throws MissingParametersFault
request - _getPortletDescription
MissingParametersFaultGetPortletDescription
public void check(ClonePortlet request)
throws MissingParametersFault
request - _clonePortlet
MissingParametersFaultClonePortlet
public void check(DestroyPortlets request)
throws MissingParametersFault
request - _destroyPortlets
MissingParametersFaultDestroyPortlets
public void check(SetPortletProperties request)
throws MissingParametersFault
request - _setPortletProperties
MissingParametersFaultSetPortletProperties
public void check(GetPortletProperties request)
throws MissingParametersFault
request - _getPortletProperties
MissingParametersFaultGetPortletPorperties
public void check(GetPortletPropertyDescription request)
throws MissingParametersFault
request - _getPortletPropertyDescription
MissingParametersFaultGetPortletPropertyDescription
public void check(ReleaseSessions request)
throws MissingParametersFault
request - _releaseSession
MissingParametersFaultReleaseSession
public void check(ServiceDescription response)
throws MissingParametersFault
response - ServiceDescription
MissingParametersFaultServiceDescription
public void check(BlockingInteractionResponse response)
throws MissingParametersFault
response - BlockingInteractionResponse
MissingParametersFaultBlockingInteractionResponse
public void check(MarkupResponse response)
throws MissingParametersFault
response - MarkupResponse
MissingParametersFaultMarkupResponse
public void check(PortletDescriptionResponse response)
throws MissingParametersFault
response - PortletDescriptionResponse
MissingParametersFaultPortletDescriptionResponse
public void check(PortletPropertyDescriptionResponse response)
throws MissingParametersFault
response - PortletPropertyDescriptionResponse
MissingParametersFaultPortletPropertyDescriptionResponse
public void check(DestroyPortletsResponse response)
throws MissingParametersFault
response - DestroyPortletResponse
MissingParametersFaultDestroyPortletsResponse
public void check(PortletDescription element)
throws MissingParametersFault
element - PortletDescription
MissingParametersFaultPortletDescription
public void check(Templates element)
throws MissingParametersFault
element - Templates
MissingParametersFaultPortletDescription
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
MissingParametersFaultPropertyList
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
MissingParametersFaultRegistrationData
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
MissingParametersFaultRegistrationContext
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
MissingParametersFaultPortletContext
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||