public abstract class AbstractMemberFacadeClient extends AbstractBusinessObjectDocumentFacadeClient
This class provides a set of methods that can be used to communicate with the Member facade. This class represents a library of Member operations that can be performed. The purpose of this class is to hide the details about constructing the business object document that represents the service request into simple Java methods. The complexity of building the request document and making the request is all managed by this client class of the Member facade.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
CHANGE_VERB_ACTION_ADD, CHANGE_VERB_ACTION_CHANGE, CHANGE_VERB_ACTION_CREATE, CHANGE_VERB_ACTION_DELETE, CHANGE_VERB_ACTION_UPDATE
Constructor and Description |
---|
AbstractMemberFacadeClient()
Creates an instance of the client to communicate with the Member facade.
|
AbstractMemberFacadeClient(BusinessContextType businessContext,
javax.security.auth.callback.CallbackHandler callbackHandler)
Creates an instance of the client to communicate with the Member facade.
|
Modifier and Type | Method and Description |
---|---|
com.ibm.commerce.member.facade.datatypes.RespondMemberGroupType |
changeMemberGroup(com.ibm.commerce.member.facade.datatypes.ChangeMemberGroupType aChangeMemberGroup)
This method will communicate with the MemberGroup facade and send the specified
ChangeMemberGroup request.
|
RespondOrganizationType |
changeOrganization(ChangeOrganizationType aChangeOrganization)
This method will communicate with the Organization facade and send the specified
ChangeOrganization request.
|
RespondPersonType |
changePerson(ChangePersonType aChangePerson)
This method will communicate with the Person facade and send the specified
ChangePerson request.
|
RespondPersonType |
changePerson(ChangePersonType aChangePerson,
java.util.Map<java.lang.String,java.lang.String[]> transformedRestRequestMap)
This method is added for REST customization.
|
ShowMemberGroupType |
getMemberGroup(GetMemberGroupType aGetMemberGroup)
This method will communicate with the Member facade and send the specified
GetMemberGroup.
|
ShowMemberGroupDataAreaType |
getMemberGroup(GetType getVerb)
This method returns the
ShowMemberGroupDataArea when issuing the specified
get expression to fetch MemberGroups. |
java.util.List |
getMemberGroup(java.lang.String expressionLanguage,
java.lang.String expression)
This method returns a list of MemberGroups based on the expression specified.
|
ShowOrganizationType |
getOrganization(GetOrganizationType aGetOrganization)
This method will communicate with the Member facade and send the specified
GetOrganization.
|
ShowOrganizationDataAreaType |
getOrganization(GetType getVerb)
This method returns the
ShowOrganizationDataArea when issuing the specified
get expression to fetch Organizations. |
java.util.List |
getOrganization(java.lang.String expressionLanguage,
java.lang.String expression)
This method returns a list of Organizations based on the expression specified.
|
ShowPersonType |
getPerson(GetPersonType aGetPerson)
This method will communicate with the Member facade and send the specified
GetPerson.
|
ShowPersonDataAreaType |
getPerson(GetType getVerb)
This method returns the
ShowPersonDataArea when issuing the specified
get expression to fetch Persons. |
java.util.List |
getPerson(java.lang.String expressionLanguage,
java.lang.String expression)
This method returns a list of Persons based on the expression specified.
|
com.ibm.commerce.member.facade.datatypes.AcknowledgeMemberGroupType |
processMemberGroup(com.ibm.commerce.member.facade.datatypes.ProcessMemberGroupType aProcessMemberGroup)
This method will communicate with the Member facade and send the specified
ProcessMemberGroup request.
|
AcknowledgeOrganizationType |
processOrganization(ProcessOrganizationType aProcessOrganization)
This method will communicate with the Member facade and send the specified
ProcessOrganization request.
|
AcknowledgePersonType |
processPerson(ProcessPersonType aProcessPerson)
This method will communicate with the Member facade and send the specified
ProcessPerson request.
|
AcknowledgePersonType |
processPerson(ProcessPersonType aProcessPerson,
java.util.Map<java.lang.String,java.lang.String[]> transformedRestRequestMap)
This method is added for REST customization.
|
ConfirmBODType |
syncOrganization(SyncOrganizationType aSyncOrganization)
This method will communicate with the Organization facade and send the specified
SyncOrganization request.
|
ConfirmBODType |
syncPerson(SyncPersonType aSyncPerson)
This method will communicate with the Person facade and send the specified
SyncPerson request.
|
createActionExpression, createChangeVerb, createGetVerb, createGetVerb, createProcessVerb, createSyncVerb
public static final java.lang.String COPYRIGHT
public AbstractMemberFacadeClient()
public AbstractMemberFacadeClient(BusinessContextType businessContext, javax.security.auth.callback.CallbackHandler callbackHandler)
businessContext
- The default business context to associate with the messages
when making requests.callbackHandler
- Used for authentication purposes so the controller can give
the authentication information to the transport when required.public ShowMemberGroupType getMemberGroup(GetMemberGroupType aGetMemberGroup)
aGetMemberGroup
- The GetMemberGroup request document.ShowMemberGroup
response document.public com.ibm.commerce.member.facade.datatypes.AcknowledgeMemberGroupType processMemberGroup(com.ibm.commerce.member.facade.datatypes.ProcessMemberGroupType aProcessMemberGroup)
aProcessMemberGroup
- The ProcessMemberGroup request document.public com.ibm.commerce.member.facade.datatypes.RespondMemberGroupType changeMemberGroup(com.ibm.commerce.member.facade.datatypes.ChangeMemberGroupType aChangeMemberGroup)
aChangeMemberGroup
- The ChangeMemberGroup request document.public ShowMemberGroupDataAreaType getMemberGroup(GetType getVerb) throws MemberGroupException
ShowMemberGroupDataArea
when issuing the specified
get expression to fetch MemberGroups. This method will be used by other framworks or
methods that constructs the get expression.getVerb
- The get expression to execute.ShowMemberGroupDataArea
response when issuing the get expression.MemberGroupException
- The MemberGroupException
is thrown if error
information is found in the specified ShowMemberGroupDataArea
.
This will represent that there was a problem when performing the operation.public java.util.List getMemberGroup(java.lang.String expressionLanguage, java.lang.String expression) throws MemberGroupException
expressionLanguage
- The expression lanaguage.expression
- The expression to return a list of MemberGroups.MemberGroupException
- The MemberGroupException
is thrown if error
information is found in the specified ShowMemberGroupDataArea
.
This will represent that there was a problem when performing the operation.public ShowPersonType getPerson(GetPersonType aGetPerson)
aGetPerson
- The GetPerson request document.ShowPerson
response document.public AcknowledgePersonType processPerson(ProcessPersonType aProcessPerson)
aProcessPerson
- The ProcessPerson request document.public AcknowledgePersonType processPerson(ProcessPersonType aProcessPerson, java.util.Map<java.lang.String,java.lang.String[]> transformedRestRequestMap)
aProcessPerson
- The ProcessPerson request document.transformedRestRequestMap
- a flattened map containing the request parameterspublic RespondPersonType changePerson(ChangePersonType aChangePerson)
aChangePerson
- The ChangePerson request document.public RespondPersonType changePerson(ChangePersonType aChangePerson, java.util.Map<java.lang.String,java.lang.String[]> transformedRestRequestMap)
aChangePerson
- The ChangePerson request document.transformedRestRequestMap
- a flattened map containing the request parameterspublic ConfirmBODType syncPerson(SyncPersonType aSyncPerson)
aSyncPerson
- The SyncPerson request document.public ShowPersonDataAreaType getPerson(GetType getVerb) throws PersonException
ShowPersonDataArea
when issuing the specified
get expression to fetch Persons. This method will be used by other framworks or
methods that constructs the get expression.getVerb
- The get expression to execute.ShowPersonDataArea
response when issuing the get expression.PersonException
- The PersonException
is thrown if error
information is found in the specified ShowPersonDataArea
.
This will represent that there was a problem when performing the operation.public java.util.List getPerson(java.lang.String expressionLanguage, java.lang.String expression) throws PersonException
expressionLanguage
- The expression lanaguage.expression
- The expression to return a list of Persons.PersonException
- The PersonException
is thrown if error
information is found in the specified ShowPersonDataArea
.
This will represent that there was a problem when performing the operation.public ShowOrganizationType getOrganization(GetOrganizationType aGetOrganization)
aGetOrganization
- The GetOrganization request document.ShowOrganization
response document.public AcknowledgeOrganizationType processOrganization(ProcessOrganizationType aProcessOrganization)
aProcessOrganization
- The ProcessOrganization request document.public RespondOrganizationType changeOrganization(ChangeOrganizationType aChangeOrganization)
aChangeOrganization
- The ChangeOrganization request document.public ConfirmBODType syncOrganization(SyncOrganizationType aSyncOrganization)
aSyncOrganization
- The SyncOrganization request document.public ShowOrganizationDataAreaType getOrganization(GetType getVerb) throws OrganizationException
ShowOrganizationDataArea
when issuing the specified
get expression to fetch Organizations. This method will be used by other framworks or
methods that constructs the get expression.getVerb
- The get expression to execute.ShowOrganizationDataArea
response when issuing the get expression.OrganizationException
- The OrganizationException
is thrown if error
information is found in the specified ShowOrganizationDataArea
.
This will represent that there was a problem when performing the operation.public java.util.List getOrganization(java.lang.String expressionLanguage, java.lang.String expression) throws OrganizationException
expressionLanguage
- The expression lanaguage.expression
- The expression to return a list of Organizations.OrganizationException
- The OrganizationException
is thrown if error
information is found in the specified ShowOrganizationDataArea
.
This will represent that there was a problem when performing the operation.