CatalogRequestImpl Class

com.beasys.commerce.ebusiness.catalog
CatalogRequestImpl Class

public final class CatalogRequestImpl

    extends Object
    implements CatalogRequest, Serializable

This is the implementation class for the common input record to catalog services that return catalog data. It contains everything required to resolve a catalog request to catalog content.

Related Topics

CatalogManager


Hierarchy
Object
  CatalogRequestImpl
All Implemented Interfaces

CatalogRequest, Serializable

Constructor Summary

CatalogRequestImpl(int authCode)

This class should only be created through the CatalogManager factory methods.
 

Method Summary

public int
getAuthorization()
Gets the authorization bit-field for this catalog request.
public String
getLanguage()
public boolean
getShowAll()
public boolean
hasAuthorization(int authorizationCode)
public void
setLanguage(String language)
Set the language attribute for this catalog request
public void
setShowAll(boolean showAll)
Set the showAll attribute for this catalog request
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   
Methods from interface com.beasys.commerce.ebusiness.catalog.CatalogRequest
getAuthorization, getLanguage, getShowAll, hasAuthorization, setLanguage, setShowAll
 

Constructor Detail

CatalogRequestImpl

public CatalogRequestImpl(int authCode)
This class should only be created through the CatalogManager factory methods. authCode the authorization code for this request.

Related Topics

CatalogManager

 

Method Detail

getAuthorization() Method

public int getAuthorization()
Description copied from CatalogRequest.getAuthorization()
Gets the authorization bit-field for this catalog request.

Returns

the authorization bitfield for this catalog request

getLanguage() Method

public String getLanguage()

Returns

the language attribute for this catalog request

getShowAll() Method

public boolean getShowAll()

Returns

the showAll attribute for this catalog request

hasAuthorization(int) Method

public boolean hasAuthorization(int authorizationCode)

Parameters

authorizationCode
the authorization required

Returns

true if the current catalog request has the required authorization

setLanguage(String) Method

public void setLanguage(String language)
Set the language attribute for this catalog request

Parameters

language
the language attribute to use.

setShowAll(boolean) Method

public void setShowAll(boolean showAll)
Set the showAll attribute for this catalog request