public abstract class AbstractPageLayoutFacadeClient extends AbstractBusinessObjectDocumentFacadeClient
This class provides a set of methods that can be used to communicate with the PageLayout facade. This class represents a library of PageLayout 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 PageLayout facade.
CHANGE_VERB_ACTION_ADD, CHANGE_VERB_ACTION_CHANGE, CHANGE_VERB_ACTION_CREATE, CHANGE_VERB_ACTION_DELETE, CHANGE_VERB_ACTION_UPDATE
Constructor and Description |
---|
AbstractPageLayoutFacadeClient()
Creates an instance of the client to communicate with the PageLayout facade.
|
AbstractPageLayoutFacadeClient(BusinessContextType businessContext,
javax.security.auth.callback.CallbackHandler callbackHandler)
Creates an instance of the client to communicate with the PageLayout facade.
|
Modifier and Type | Method and Description |
---|---|
com.ibm.commerce.pagelayout.facade.datatypes.RespondLayoutType |
changeLayout(com.ibm.commerce.pagelayout.facade.datatypes.ChangeLayoutType aChangeLayout)
This method will communicate with the Layout facade and send the specified
ChangeLayout request.
|
com.ibm.commerce.pagelayout.facade.datatypes.RespondPageType |
changePage(com.ibm.commerce.pagelayout.facade.datatypes.ChangePageType aChangePage)
This method will communicate with the Page facade and send the specified
ChangePage request.
|
com.ibm.commerce.pagelayout.facade.datatypes.ShowLayoutType |
getLayout(com.ibm.commerce.pagelayout.facade.datatypes.GetLayoutType aGetLayout)
This method will communicate with the PageLayout facade and send the specified
GetLayout.
|
com.ibm.commerce.pagelayout.facade.datatypes.ShowLayoutDataAreaType |
getLayout(GetType getVerb)
This method returns the
ShowLayoutDataArea when issuing the specified
get expression to fetch Layouts. |
java.util.List |
getLayout(java.lang.String expressionLanguage,
java.lang.String expression)
This method returns a list of Layouts based on the expression specified.
|
com.ibm.commerce.pagelayout.facade.datatypes.ShowPageType |
getPage(com.ibm.commerce.pagelayout.facade.datatypes.GetPageType aGetPage)
This method will communicate with the PageLayout facade and send the specified
GetPage.
|
com.ibm.commerce.pagelayout.facade.datatypes.ShowPageDataAreaType |
getPage(GetType getVerb)
This method returns the
ShowPageDataArea when issuing the specified
get expression to fetch Pages. |
java.util.List |
getPage(java.lang.String expressionLanguage,
java.lang.String expression)
This method returns a list of Pages based on the expression specified.
|
com.ibm.commerce.pagelayout.facade.datatypes.ShowPageDesignType |
getPageDesign(com.ibm.commerce.pagelayout.facade.datatypes.GetPageDesignType aGetPageDesign)
This method will communicate with the PageLayout facade and send the specified
GetPageDesign.
|
com.ibm.commerce.pagelayout.facade.datatypes.ShowPageDesignDataAreaType |
getPageDesign(GetType getVerb)
This method returns the
ShowPageDesignDataArea when issuing the specified
get expression to fetch PageDesigns. |
java.util.List |
getPageDesign(java.lang.String expressionLanguage,
java.lang.String expression)
This method returns a list of PageDesigns based on the expression specified.
|
com.ibm.commerce.pagelayout.facade.datatypes.ShowWidgetDefinitionDataAreaType |
getWidgetDefinition(GetType getVerb)
This method returns the
ShowWidgetDefinitionDataArea when issuing the specified
get expression to fetch WidgetDefinitions. |
com.ibm.commerce.pagelayout.facade.datatypes.ShowWidgetDefinitionType |
getWidgetDefinition(com.ibm.commerce.pagelayout.facade.datatypes.GetWidgetDefinitionType aGetWidgetDefinition)
This method will communicate with the PageLayout facade and send the specified
GetWidgetDefinition.
|
java.util.List |
getWidgetDefinition(java.lang.String expressionLanguage,
java.lang.String expression)
This method returns a list of WidgetDefinitions based on the expression specified.
|
com.ibm.commerce.pagelayout.facade.datatypes.AcknowledgeLayoutType |
processLayout(com.ibm.commerce.pagelayout.facade.datatypes.ProcessLayoutType aProcessLayout)
This method will communicate with the PageLayout facade and send the specified
ProcessLayout request.
|
com.ibm.commerce.pagelayout.facade.datatypes.AcknowledgePageType |
processPage(com.ibm.commerce.pagelayout.facade.datatypes.ProcessPageType aProcessPage)
This method will communicate with the PageLayout facade and send the specified
ProcessPage request.
|
createActionExpression, createChangeVerb, createGetVerb, createGetVerb, createProcessVerb, createSyncVerb
public AbstractPageLayoutFacadeClient()
public AbstractPageLayoutFacadeClient(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 com.ibm.commerce.pagelayout.facade.datatypes.ShowLayoutType getLayout(com.ibm.commerce.pagelayout.facade.datatypes.GetLayoutType aGetLayout)
aGetLayout
- The GetLayout request document.ShowLayout
response document.public com.ibm.commerce.pagelayout.facade.datatypes.AcknowledgeLayoutType processLayout(com.ibm.commerce.pagelayout.facade.datatypes.ProcessLayoutType aProcessLayout) throws LayoutException
aProcessLayout
- The ProcessLayout request document.LayoutException
- If there are any errors returned in the response.public com.ibm.commerce.pagelayout.facade.datatypes.RespondLayoutType changeLayout(com.ibm.commerce.pagelayout.facade.datatypes.ChangeLayoutType aChangeLayout) throws LayoutException
aChangeLayout
- The ChangeLayout request document.LayoutException
- If there are errors in the response.public com.ibm.commerce.pagelayout.facade.datatypes.ShowLayoutDataAreaType getLayout(GetType getVerb) throws LayoutException
ShowLayoutDataArea
when issuing the specified
get expression to fetch Layouts. This method will be used by other framworks or
methods that constructs the get expression.getVerb
- The get expression to execute.ShowLayoutDataArea
response when issuing the get expression.LayoutException
- The LayoutException
is thrown if error
information is found in the specified ShowLayoutDataArea
.
This will represent that there was a problem when performing the operation.public java.util.List getLayout(java.lang.String expressionLanguage, java.lang.String expression) throws LayoutException
expressionLanguage
- The expression lanaguage.expression
- The expression to return a list of Layouts.LayoutException
- The LayoutException
is thrown if error
information is found in the specified ShowLayoutDataArea
.
This will represent that there was a problem when performing the operation.public com.ibm.commerce.pagelayout.facade.datatypes.ShowPageType getPage(com.ibm.commerce.pagelayout.facade.datatypes.GetPageType aGetPage)
aGetPage
- The GetPage request document.ShowPage
response document.public com.ibm.commerce.pagelayout.facade.datatypes.AcknowledgePageType processPage(com.ibm.commerce.pagelayout.facade.datatypes.ProcessPageType aProcessPage) throws PageException
aProcessPage
- The ProcessPage request document.PageException
- If there are any errors in the response.public com.ibm.commerce.pagelayout.facade.datatypes.RespondPageType changePage(com.ibm.commerce.pagelayout.facade.datatypes.ChangePageType aChangePage) throws PageException
aChangePage
- The ChangePage request document.PageException
- If there are any errors in the response.public com.ibm.commerce.pagelayout.facade.datatypes.ShowPageDataAreaType getPage(GetType getVerb) throws PageException
ShowPageDataArea
when issuing the specified
get expression to fetch Pages. This method will be used by other framworks or
methods that constructs the get expression.getVerb
- The get expression to execute.ShowPageDataArea
response when issuing the get expression.PageException
- The PageException
is thrown if error
information is found in the specified ShowPageDataArea
.
This will represent that there was a problem when performing the operation.public java.util.List getPage(java.lang.String expressionLanguage, java.lang.String expression) throws PageException
expressionLanguage
- The expression lanaguage.expression
- The expression to return a list of Pages.PageException
- The PageException
is thrown if error
information is found in the specified ShowPageDataArea
.
This will represent that there was a problem when performing the operation.public com.ibm.commerce.pagelayout.facade.datatypes.ShowPageDesignType getPageDesign(com.ibm.commerce.pagelayout.facade.datatypes.GetPageDesignType aGetPageDesign)
aGetPageDesign
- The GetPageDesign request document.ShowPageDesign
response document.public com.ibm.commerce.pagelayout.facade.datatypes.ShowPageDesignDataAreaType getPageDesign(GetType getVerb) throws PageDesignException
ShowPageDesignDataArea
when issuing the specified
get expression to fetch PageDesigns. This method will be used by other framworks or
methods that constructs the get expression.getVerb
- The get expression to execute.ShowPageDesignDataArea
response when issuing the get expression.PageDesignException
- The PageDesignException
is thrown if error
information is found in the specified ShowPageDesignDataArea
.
This will represent that there was a problem when performing the operation.public java.util.List getPageDesign(java.lang.String expressionLanguage, java.lang.String expression) throws PageDesignException
expressionLanguage
- The expression lanaguage.expression
- The expression to return a list of PageDesigns.PageDesignException
- The PageDesignException
is thrown if error
information is found in the specified ShowPageDesignDataArea
.
This will represent that there was a problem when performing the operation.public com.ibm.commerce.pagelayout.facade.datatypes.ShowWidgetDefinitionType getWidgetDefinition(com.ibm.commerce.pagelayout.facade.datatypes.GetWidgetDefinitionType aGetWidgetDefinition)
aGetWidgetDefinition
- The GetWidgetDefinition request document.ShowWidgetDefinition
response document.public com.ibm.commerce.pagelayout.facade.datatypes.ShowWidgetDefinitionDataAreaType getWidgetDefinition(GetType getVerb) throws WidgetDefinitionException
ShowWidgetDefinitionDataArea
when issuing the specified
get expression to fetch WidgetDefinitions. This method will be used by other framworks or
methods that constructs the get expression.getVerb
- The get expression to execute.ShowWidgetDefinitionDataArea
response when issuing the get expression.WidgetDefinitionException
- The WidgetDefinitionException
is thrown if error
information is found in the specified ShowWidgetDefinitionDataArea
.
This will represent that there was a problem when performing the operation.public java.util.List getWidgetDefinition(java.lang.String expressionLanguage, java.lang.String expression) throws WidgetDefinitionException
expressionLanguage
- The expression language.expression
- The expression to return a list of WidgetDefinitions.WidgetDefinitionException
- The WidgetDefinitionException
is thrown if error
information is found in the specified ShowWidgetDefinitionDataArea
.
This will represent that there was a problem when performing the operation.