public class ManufacturerSearch extends java.lang.Object implements ManufacturerSearchIf
| Constructor and Description |
|---|
ManufacturerSearch()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCatalogId()
The id of the catalog which contains dynamic product information such as the price and
quantity
|
int |
getCategoryId()
If value is a positive number it is used as a constraint to find all manufacturers of
products within that category.
|
int |
getManufacturerId()
If value is a positive number it is used as a constraint to find the manufacturer with a
matching id.
|
java.lang.String |
getName()
If not null, it is used as a constraint .
|
int |
getNameRule()
The rule for the search constraint.
|
int |
getProductId()
If value is a positive number it is used as a constraint to find the manufacturer for the
product with matching id.
|
boolean |
isSearchInSubCats()
When there is a category constraint, the manufacturers are searched for in the category
defined by categoryId as well as its sub-categories
|
void |
setCatalogId(java.lang.String catalogId)
The id of the catalog which contains dynamic product information such as the price and
quantity
|
void |
setCategoryId(int categoryId)
If value is a positive number it is used as a constraint to find all manufacturers of
products within that category.
|
void |
setManufacturerId(int manufacturerId)
If value is a positive number it is used as a constraint to find the manufacturer with a
matching id.
|
void |
setName(java.lang.String name)
If not null, it is used as a constraint .
|
void |
setNameRule(int nameRule)
The rule for the search constraint.
|
void |
setProductId(int productId)
If value is a positive number it is used as a constraint to find the manufacturer for the
product with matching id.
|
void |
setSearchInSubCats(boolean searchInSubCats)
When there is a category constraint, the manufacturers are searched for in the category
defined by categoryId as well as its sub-categories
|
java.lang.String |
toString() |
java.lang.String |
toStringBrief() |
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toStringBrief()
public java.lang.String getName()
ManufacturerSearchIfgetName in interface ManufacturerSearchIfpublic void setName(java.lang.String name)
ManufacturerSearchIfsetName in interface ManufacturerSearchIfname - the name to setpublic int getNameRule()
ManufacturerSearchIfgetNameRule in interface ManufacturerSearchIfpublic void setNameRule(int nameRule)
ManufacturerSearchIfsetNameRule in interface ManufacturerSearchIfnameRule - the nameRule to setpublic int getCategoryId()
ManufacturerSearchIfgetCategoryId in interface ManufacturerSearchIfpublic void setCategoryId(int categoryId)
ManufacturerSearchIfsetCategoryId in interface ManufacturerSearchIfcategoryId - the categoryId to setpublic int getManufacturerId()
ManufacturerSearchIfgetManufacturerId in interface ManufacturerSearchIfpublic void setManufacturerId(int manufacturerId)
ManufacturerSearchIfsetManufacturerId in interface ManufacturerSearchIfmanufacturerId - the manufacturerId to setpublic int getProductId()
ManufacturerSearchIfgetProductId in interface ManufacturerSearchIfpublic void setProductId(int productId)
ManufacturerSearchIfsetProductId in interface ManufacturerSearchIfproductId - the productId to setpublic boolean isSearchInSubCats()
ManufacturerSearchIfisSearchInSubCats in interface ManufacturerSearchIfpublic void setSearchInSubCats(boolean searchInSubCats)
ManufacturerSearchIfsetSearchInSubCats in interface ManufacturerSearchIfsearchInSubCats - the searchInSubCats to setpublic java.lang.String getCatalogId()
getCatalogId in interface ManufacturerSearchIfpublic void setCatalogId(java.lang.String catalogId)
setCatalogId in interface ManufacturerSearchIfcatalogId - the catalogId to setCopyright © 2018 DS Data Systems UK Ltd.