com.beasys.commerce.ebusiness.catalog
Interface CatalogRequest

All Known Implementing Classes:
CatalogRequestImpl

Deprecated

@Deprecated
public interface CatalogRequest

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


Field Summary
static int ADMINISTRATION
          Deprecated Authorization bit-field constant for administrator use of the catalog.
static int DEFAULT_USE
          Deprecated Authorization bit-field constant for end-user use of the catalog.
 
Method Summary
 int getAuthorization()
          Deprecated Gets the authorization bit-field for this catalog request.
 String getLanguage()
          Deprecated  
 boolean getShowAll()
          Deprecated  
 boolean hasAuthorization(int authorizationCode)
          Deprecated  
 void setLanguage(String language)
          Deprecated Sets the language associated with the catalog request or null if this request (or catalog) is language unaware.
 void setShowAll(boolean showAll)
          Deprecated Sets the visibility attribute for this catalog request.
 

Field Detail

DEFAULT_USE

static final int DEFAULT_USE
Deprecated 
Authorization bit-field constant for end-user use of the catalog.

See Also
Constants Summary

ADMINISTRATION

static final int ADMINISTRATION
Deprecated 
Authorization bit-field constant for administrator use of the catalog.

See Also
Constants Summary
Method Detail

getLanguage

String getLanguage()
Deprecated 
Returns
the language associated with the catalog request or null if this request (or catalog) is language unaware.

setLanguage

void setLanguage(String language)
Deprecated 
Sets the language associated with the catalog request or null if this request (or catalog) is language unaware.

Parameters
language - the language attribute to use.

getShowAll

boolean getShowAll()
Deprecated 
Returns
whether to retrieve all catalog items, irrespective of whether they have been marked as invisible.

setShowAll

void setShowAll(boolean showAll)
Deprecated 
Sets the visibility attribute for this catalog request. if the showAll attribute is true all items will be returned irrespective of item visiblity. By default end-user catalog requests have showAll set to false and administrator catalog requests have showAll set to true. return the showAll attribute


getAuthorization

int getAuthorization()
Deprecated 
Gets the authorization bit-field for this catalog request.


hasAuthorization

boolean hasAuthorization(int authorizationCode)
Deprecated 
Returns
true if the current catalog request has the required authorization: one of DEFAULT_USE or ADMINISTRATION.


Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.