public class Catalog extends GeneratedCatalog
Catalog is the root element of the CatalogExtension. Each catalog has an ID, a name and a
supplier. The combination of the supplier of an catalog and its id must be unique. The different versions of a
catalog are represented by CatalogVersions, which are accessible through GeneratedCatalog.getCatalogVersions()
and getCatalogVersion(String).CatalogVersion as
active. All attributes of the active CatalogVersion can be accessed through delegation methods of the
Catalog. If no active CatalogVersion is set, these methods will return CatalogVersion:
getAgreements(SessionContext)
getRootCategories(SessionContext)
getGenerationDate(SessionContext)
getGeneratorInfo(SessionContext)
getLanguages(SessionContext)
getMimeRootDirectory(SessionContext)
getTerritories(SessionContext)
getVersion(SessionContext)
isInclAssurance(SessionContext)
isInclAssuranceAsPrimitive(SessionContext)
isInclDuty(SessionContext)
isInclDutyAsPrimitive(SessionContext)
isInclFreight(SessionContext)
isInclFreightAsPrimitive(SessionContext)
isInclPacking(SessionContext)
isInclPackingAsPrimitive(SessionContext)
getAllCategories()
getAllCategories(int, int)
getAllCategoryCount()
getAllKeywordCount()
getAllKeywords()
getAllKeywords(int, int)
getAllMediaCount()
getAllMedias()
getAllMedias(int, int)
getAllProductCount()
getAllProducts()
getAllProducts(int, int)
getCategories(SessionContext, String)
getCategories(String)
getCategory(SessionContext, String)
getCategory(String)
getProducts(SessionContext, String)
getProducts(String)
getProduct(SessionContext, String)
getProduct(String)
getMedias(SessionContext, String)
getMedias(String)
getMedia(SessionContext, String)
getMedia(String)
GenericItem.GenericItemImplLocalizableItem.LocalizableItemImplExtensibleItem.ExtensibleItemImplItem.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException| Modifier and Type | Field and Description |
|---|---|
static int |
ERROR |
ACTIVECATALOGVERSION, BUYER, BUYERHANDLER, CATALOGVERSIONS, CATALOGVERSIONSHANDLER, DEFAULT_INITIAL_ATTRIBUTES, DEFAULTCATALOG, ID, NAME, PREVIEWURLTEMPLATE, SUPPLIER, SUPPLIERHANDLER, URLPATTERNSLANGUAGE_FALLBACK_ENABLED_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjects, TYPEimpl, tenant| Constructor and Description |
|---|
Catalog() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkRemovable(SessionContext ctx)
Checks whether or not this it may be removed or not.
|
protected Item |
createItem(SessionContext ctx,
ComposedType type,
Item.ItemAttributeMap allAttributes)
Has to be implemented for each concrete subtype of item.
|
Collection<Agreement> |
getAgreements() |
Collection<Agreement> |
getAgreements(SessionContext ctx)
Deprecated.
Use CatalogModel.getActiveCatalogVersion() and CatalogVersionModel.getAgreements() instead.
|
Collection<Category> |
getAllCategories()
Returns
CatalogVersion.getAllCategories()of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set. |
Collection<Category> |
getAllCategories(int start,
int count)
Returns
CatalogVersion.getAllCategories(int, int)of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set. |
int |
getAllCategoryCount()
Returns
CatalogVersion.getAllCategoryCount()of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or -1 if no active CatalogVersionis set. |
int |
getAllKeywordCount()
Returns
CatalogVersion.getAllKeywordCount()of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or -1 if no active CatalogVersionis set. |
Collection<Keyword> |
getAllKeywords()
Returns
CatalogVersion.getAllKeywords()of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set. |
Collection<Keyword> |
getAllKeywords(int start,
int count)
Returns
CatalogVersion.getAllKeywords(int, int)of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set. |
int |
getAllMediaCount()
Returns
CatalogVersion.getAllMediaCount()of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or -1 if no active CatalogVersionis set. |
Collection<Media> |
getAllMedias()
Returns
CatalogVersion.getAllMedias()of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set. |
Collection<Media> |
getAllMedias(int start,
int count)
Returns
CatalogVersion.getAllMedias(int, int)of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set. |
int |
getAllProductCount()
Returns
CatalogVersion.getAllProductCount()of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or -1 if no active CatalogVersionis set. |
Collection<Product> |
getAllProducts()
Returns
CatalogVersion.getAllProducts()of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set. |
Collection<Product> |
getAllProducts(int start,
int count)
Returns
CatalogVersion.getAllProducts(int, int)of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set. |
CatalogVersion |
getCatalogVersion(String version)
Deprecated.
Use CatalogVersionService.getCatalogVersion(String, String) instead.
|
Collection<Category> |
getCategories(SessionContext ctx,
String code)
Returns
CatalogVersion.getCategories(SessionContext, String )of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set. |
Collection<Category> |
getCategories(String code)
Returns
CatalogVersion.getCategory(String )of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set. |
Category |
getCategory(SessionContext ctx,
String code)
Deprecated.
Use CategoryService.getCategory(de.hybris.platform.catalog.model.CatalogVersionModel, String)} for
active CatalogVersionModel instead.
|
Category |
getCategory(String code)
Deprecated.
Use CategoryService.getCategory(de.hybris.platform.catalog.model.CatalogVersionModel, String)} for
active CatalogVersionModel instead.
|
Currency |
getDefaultCurrency() |
Currency |
getDefaultCurrency(SessionContext ctx)
Deprecated.
Use CatalogModel.getActiveCatalogVersion() and CatalogVersionModel.getDefaultCurrency() instead.
|
Date |
getGenerationDate() |
Date |
getGenerationDate(SessionContext ctx)
Deprecated.
Use CatalogModel.getActiveCatalogVersion() and CatalogVersionModel.getGenerationDate() instead.
|
String |
getGeneratorInfo() |
String |
getGeneratorInfo(SessionContext ctx)
Deprecated.
Use CatalogModel.getActiveCatalogVersion() and CatalogVersionModel.getGeneratorInfo() instead.
|
Collection<Language> |
getLanguages() |
Collection<Language> |
getLanguages(SessionContext ctx)
Deprecated.
Use CatalogModel.getActiveCatalogVersion() and CatalogVersionModel.getLanguages() instead.
|
Media |
getMedia(SessionContext ctx,
String code)
Returns
CatalogVersion.getMedia(SessionContext, String )of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set. |
Media |
getMedia(String code)
Returns
CatalogVersion.getMedia(String )of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set. |
Collection<Media> |
getMedias(SessionContext ctx,
String code)
Returns
CatalogVersion.getMedias(SessionContext, String )of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set. |
Collection<Media> |
getMedias(String code)
Returns
CatalogVersion.getMedias(String )of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set. |
String |
getMimeRootDirectory() |
String |
getMimeRootDirectory(SessionContext ctx)
Deprecated.
Use CatalogModel.getActiveCatalogVersion() and CatalogVersionModel.getMimeRootDirectory() instead.
|
Product |
getProduct(SessionContext ctx,
String code)
Returns
CatalogVersion.getProduct(SessionContext, String )of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set. |
Product |
getProduct(String code)
Deprecated.
Use ProductService.getProduct(CatalogVersionModel, String)} for active CatalogVersionModel instead.
|
Collection<Product> |
getProducts(SessionContext ctx,
String code)
Returns
CatalogVersion.getProducts(SessionContext, String )of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set. |
Collection<Product> |
getProducts(String code)
Returns
CatalogVersion.getProducts(String )of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set. |
List<Category> |
getRootCategories() |
List<Category> |
getRootCategories(SessionContext ctx)
Returns
CatalogVersion.getRootCategories(SessionContext)of the active (
GeneratedCatalog.getActiveCatalogVersion()or Collections.EMPTY_LISTif no active
CatalogVersionis set. |
Collection<Country> |
getTerritories() |
Collection<Country> |
getTerritories(SessionContext ctx)
Deprecated.
Use CatalogModel.getActiveCatalogVersion() and CatalogVersionModel.getTerritories() instead.
|
String |
getVersion() |
String |
getVersion(SessionContext ctx)
Deprecated.
Use CatalogModel.getActiveCatalogVersion() instead.
|
Boolean |
isInclAssurance() |
Boolean |
isInclAssurance(SessionContext ctx)
Deprecated.
Use CatalogModel.getActiveCatalogVersion() and CatalogVersionModel.getInclAssurance() instead.
|
boolean |
isInclAssuranceAsPrimitive() |
boolean |
isInclAssuranceAsPrimitive(SessionContext ctx)
Deprecated.
Use CatalogModel.getActiveCatalogVersion() and CatalogVersionModel.getInclAssurance() instead.
|
Boolean |
isInclDuty() |
Boolean |
isInclDuty(SessionContext ctx)
Deprecated.
Use CatalogModel.getActiveCatalogVersion() and CatalogVersionModel.getInclDuty() instead.
|
boolean |
isInclDutyAsPrimitive() |
boolean |
isInclDutyAsPrimitive(SessionContext ctx)
Deprecated.
Use CatalogModel.getActiveCatalogVersion() and CatalogVersionModel.getInclDuty() instead.
|
Boolean |
isInclFreight() |
Boolean |
isInclFreight(SessionContext ctx)
Deprecated.
Use CatalogModel.getActiveCatalogVersion() and CatalogVersionModel.getInclFreight() instead.
|
boolean |
isInclFreightAsPrimitive() |
boolean |
isInclFreightAsPrimitive(SessionContext ctx)
Deprecated.
Use CatalogModel.getActiveCatalogVersion() and CatalogVersionModel.getInclFreight() instead.
|
Boolean |
isInclPacking() |
Boolean |
isInclPacking(SessionContext ctx)
Deprecated.
Use CatalogModel.getActiveCatalogVersion() and CatalogVersionModel.getInclPacking() instead.
|
boolean |
isInclPackingAsPrimitive() |
boolean |
isInclPackingAsPrimitive(SessionContext ctx)
Deprecated.
Use CatalogModel.getActiveCatalogVersion() and CatalogVersionModel.getInclPacking() instead.
|
void |
setActiveCatalogVersion(SessionContext ctx,
CatalogVersion catalogVersion)
Deprecated.
Use CatalogModel.setActiveCatalogVersion(de.hybris.platform.catalog.model.CatalogVersionModel)
instead. The DefaultCatalogPrepareInterceptor will handle the corresponding logic.
|
protected void |
setActiveCatalogVersionInternal(SessionContext ctx,
CatalogVersion catalogVersion)
Used by
CatalogVersion.setActive(SessionContext, Boolean)to make sure the catalog is having the correct
active version even if only the active flag of the version is changed. |
void |
setDefaultCatalog(SessionContext ctx,
Boolean param)
Deprecated.
The corresponding logic is handled by CatalogPrepareInterceptor.
|
void |
setUrlPatterns(SessionContext ctx,
Collection<String> value)
Deprecated.
The corresponding logic is handled by CatalogURLPatternsValidator.
|
addToCatalogVersions, addToCatalogVersions, getActiveCatalogVersion, getActiveCatalogVersion, getAllName, getAllName, getBuyer, getBuyer, getCatalogVersions, getCatalogVersions, getDefaultAttributeModes, getId, getId, getName, getName, getPreviewURLTemplate, getPreviewURLTemplate, getSupplier, getSupplier, getUrlPatterns, getUrlPatterns, isDefaultCatalog, isDefaultCatalog, isDefaultCatalogAsPrimitive, isDefaultCatalogAsPrimitive, removeFromCatalogVersions, removeFromCatalogVersions, setActiveCatalogVersion, setAllName, setAllName, setBuyer, setBuyer, setCatalogVersions, setCatalogVersions, setDefaultCatalog, setDefaultCatalog, setDefaultCatalog, setId, setId, setName, setName, setPreviewURLTemplate, setPreviewURLTemplate, setSupplier, setSupplier, setUrlPatternsgetInitialProperties, getNonInitialAttributesgetAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedPropertycreateNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setPropertyaddLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addNegativePermission, addPermission, addPositivePermission, assureExtensionsLoaded, changeTypeAfterCreation, checkConstraint, checkItemPermission, checkMandatoryAttribute, checkMandatoryAttribute, checkPermission, checkPermission, clearPermission, compareTo, ctx, doAfterRemove, doBeforeRemove, equals, getAccessorFor, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributesInternal, getAllLinkedItems, getAndCheckCacheBoundItem, getAttribute, getAttribute, getCacheBoundItem, getComposedType, getComposedTypePK, getCreationTime, getCurrentlyRemovingCount, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItemsCount, getLinkedItemsCount, getLinkedItemsCount, getModificationTime, getNegativePermissions, getOwner, getPermissionMap, getPermissions, getPersistenceVersion, getPK, getPositivePermissions, getRestrictedPrincipals, getSession, getSyncObject, getTenant, getTransientObject, getTransientObjectMap, hashCode, hasRegisteredClassAccessorFor, internal_registerClassAccessorFor, internal_registerNonClassAccessorFor, invalidateLocalCaches, isAlive, isCacheBound, isCurrentlyRemoving, isCurrentlyRemoving, isEmptyRelationValue, isInCreate, isInstanceOf, isItemCheckBeforeRemoveableDisabled, isRelationLocalizationFallbackEnabled, newInstance, notifyExtensionsAfterItemCreation, notifyExtensionsBeforeItemCreation, notifyItemRemoval, readResolve, refreshRemote, registerAccessFor, registerAccessFor, registerJaloInvalidationListeners, remove, remove, removeItemCollection, removeItemCollection, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinks, removePartOfItems, removePartOfItems, setAllAttributes, setAllAttributes, setAllAttributesInternal, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAttribute, setAttribute, setAttributeFromString, setAttributeFromString, setCacheBound, setComposedType, setCreationTime, setImplementation, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setModificationTime, setNonInitialAttributes, setOwner, setPermissionsByMap, setTransientObject, setUseTA, toString, useTA, writeReplacegetImplementation, setTenantpublic static final int ERROR
protected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException
ItemComposedType.newInstance(Map).
In case this method uses any of the attribute values during creation it is required to override
Item.getNonInitialAttributes(SessionContext, ItemAttributeMap) too.
Sn example:
public static final String MY_ATTRIBUTE = "someAttribute"; ... protected Item createItem(SessionContext
ctx, ComposedType type, Map allAttributes ) throws JaloBusinessException { MyManager man = ... return
man.createMyItem( (String)allAttributes.get(MY_ATTRIBUTE) );
// here MY_ATTRIBUTE is used for creation, so it must not be set again } protected Map getNonInitialAttributes(
SessionContext ctx, Map allAttributes ) { // let superclass remove its own initial attributes Map ret =
super.getNonInitialAttributes( ctx, allAttributes );
// remove MY_ATTRIBUTE from all attributes since if has already been set ret.remove(MY_ATTRIBUTE); return ret; }
createItem in class GeneratedCatalogctx - the current session context which this item is created withintype - the actual item type ( since subtypes may not provide a own jalo class this may be different from the
type which this method was implemented for )JaloBusinessException - indicates an error during creation - any changes will be rollbackedprotected void checkRemovable(SessionContext ctx) throws ConsistencyCheckException
ItemcheckRemovable in class ItemConsistencyCheckException - to indicate that the item cannot be removed@Deprecated public void setActiveCatalogVersion(SessionContext ctx, CatalogVersion catalogVersion)
GeneratedCatalogCatalog.activeCatalogVersion attribute.setActiveCatalogVersion in class GeneratedCatalogcatalogVersion - the activeCatalogVersion - active CatalogVersionprotected void setActiveCatalogVersionInternal(SessionContext ctx, CatalogVersion catalogVersion)
CatalogVersion.setActive(SessionContext, Boolean)to make sure the catalog is having the correct
active version even if only the active flag of the version is changed.
For internal use only!
public List<Category> getRootCategories(SessionContext ctx)
CatalogVersion.getRootCategories(SessionContext)of the active (
GeneratedCatalog.getActiveCatalogVersion()or Collections.EMPTY_LISTif no active
CatalogVersionis set.ctx - the SessionContextCatalogVersion.getRootCategories(SessionContext)of the active (
GeneratedCatalog.getActiveCatalogVersion()or Collections.EMPTY_LISTif no active
CatalogVersionis set@Deprecated public CatalogVersion getCatalogVersion(String version)
CatalogVersionof this Catalog with version specified in the version parameter or
null if no CatalogVersionwith the specified version exists.version - version of the CatalogVersionas a String which should be returned.CatalogVersionof this Catalog with version specified in the version parameter or
null if no CatalogVersionwith the specified version exists@Deprecated public String getVersion(SessionContext ctx)
GeneratedCatalogVersion.getVersion()of the active (
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set.ctx - the SessionContextGeneratedCatalogVersion.getVersion()of the active (
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersion
is setpublic String getVersion()
@Deprecated public String getMimeRootDirectory(SessionContext ctx)
GeneratedCatalogVersion.getMimeRootDirectory()of the active (
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set.ctx - the SessionContextGeneratedCatalogVersion.getMimeRootDirectory()of the active (
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersion
is setpublic String getMimeRootDirectory()
@Deprecated public Date getGenerationDate(SessionContext ctx)
GeneratedCatalogVersion.getGenerationDate()of the active (
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set.ctx - the SessionContextGeneratedCatalogVersion.getGenerationDate()of the active (
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersion
is setpublic Date getGenerationDate()
@Deprecated public Currency getDefaultCurrency(SessionContext ctx)
GeneratedCatalogVersion.getDefaultCurrency()of the active (
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set.ctx - the SessionContextGeneratedCatalogVersion.getDefaultCurrency()of the active (
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersion
is setpublic Currency getDefaultCurrency()
@Deprecated public Boolean isInclFreight(SessionContext ctx)
GeneratedCatalogVersion.isInclFreight()of the active (
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set.ctx - the SessionContextGeneratedCatalogVersion.isInclFreight()of the active (
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersion
is setpublic Boolean isInclFreight()
public boolean isInclFreightAsPrimitive()
@Deprecated public boolean isInclFreightAsPrimitive(SessionContext ctx)
GeneratedCatalogVersion.isInclFreightAsPrimitive()of the active (
GeneratedCatalog.getActiveCatalogVersion()or false if no active CatalogVersionis set.ctx - the SessionContextGeneratedCatalogVersion.isInclFreightAsPrimitive()of the active (
GeneratedCatalog.getActiveCatalogVersion()or false if no active
CatalogVersionis set@Deprecated public Boolean isInclPacking(SessionContext ctx)
GeneratedCatalogVersion.isInclPacking()of the active (
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set.ctx - the SessionContextGeneratedCatalogVersion.isInclPacking()of the active (
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersion
is setpublic Boolean isInclPacking()
public boolean isInclPackingAsPrimitive()
@Deprecated public boolean isInclPackingAsPrimitive(SessionContext ctx)
GeneratedCatalogVersion.isInclPackingAsPrimitive()of the active (
GeneratedCatalog.getActiveCatalogVersion()or false if no active CatalogVersionis set.ctx - the SessionContextGeneratedCatalogVersion.isInclPackingAsPrimitive()of the active (
GeneratedCatalog.getActiveCatalogVersion()or false if no active
CatalogVersionis set@Deprecated public Boolean isInclAssurance(SessionContext ctx)
GeneratedCatalogVersion.isInclAssurance()of the active (
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set.ctx - the SessionContextGeneratedCatalogVersion.isInclAssurance()of the active (
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersion
is setpublic Boolean isInclAssurance()
public boolean isInclAssuranceAsPrimitive()
@Deprecated public boolean isInclAssuranceAsPrimitive(SessionContext ctx)
GeneratedCatalogVersion.isInclAssuranceAsPrimitive()of the active (
GeneratedCatalog.getActiveCatalogVersion()or false if no active CatalogVersionis set.ctx - the SessionContextGeneratedCatalogVersion.isInclAssuranceAsPrimitive()of the active (
GeneratedCatalog.getActiveCatalogVersion()or false if no active
CatalogVersionis set@Deprecated public Boolean isInclDuty(SessionContext ctx)
GeneratedCatalogVersion.isInclDuty()of the active (
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set.ctx - the SessionContextGeneratedCatalogVersion.isInclDuty()of the active (
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersion
is setpublic Boolean isInclDuty()
public boolean isInclDutyAsPrimitive()
@Deprecated public boolean isInclDutyAsPrimitive(SessionContext ctx)
GeneratedCatalogVersion.isInclDutyAsPrimitive()of the active (
GeneratedCatalog.getActiveCatalogVersion()or false if no active CatalogVersionis set.ctx - the SessionContextGeneratedCatalogVersion.isInclDutyAsPrimitive()of the active (
GeneratedCatalog.getActiveCatalogVersion()or false if no active
CatalogVersionis set@Deprecated public Collection<Country> getTerritories(SessionContext ctx)
Collectionof all Countrys (
GeneratedCatalogVersion.getTerritories()) of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set.ctx - the SessionContextCollectionof all Countrys (
GeneratedCatalogVersion.getTerritories()) of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersion
is setpublic Collection<Country> getTerritories()
@Deprecated public Collection<Language> getLanguages(SessionContext ctx)
Collectionof all Languages of the active
CatalogVersion( GeneratedCatalog.getActiveCatalogVersion()or null if no active
CatalogVersionis set.ctx - the SessionContextCollectionof all Languages of the active
CatalogVersion( GeneratedCatalog.getActiveCatalogVersion()or null if no
active CatalogVersionis setpublic Collection<Language> getLanguages()
@Deprecated public String getGeneratorInfo(SessionContext ctx)
GeneratedCatalogVersion.getGeneratorInfo()) of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set.ctx - the SessionContextGeneratedCatalogVersion.getGeneratorInfo()) of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersion
is setpublic String getGeneratorInfo()
@Deprecated public Collection<Agreement> getAgreements(SessionContext ctx)
Agreements (GeneratedCatalogVersion.getAgreements()) of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set.ctx - the SessionContextAgreements (GeneratedCatalogVersion.getAgreements()) of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersion
is set.public Collection<Agreement> getAgreements()
public Collection<Category> getAllCategories()
CatalogVersion.getAllCategories()of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set.CatalogVersion.getAllCategories()of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersion
is setpublic Collection<Category> getAllCategories(int start, int count)
CatalogVersion.getAllCategories(int, int)of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set.start - count - CatalogVersion.getAllCategories(int, int)of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersion
is setpublic int getAllCategoryCount()
CatalogVersion.getAllCategoryCount()of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or -1 if no active CatalogVersionis set.CatalogVersion.getAllCategoryCount()of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or -1 if no active CatalogVersionis
setpublic Collection<Keyword> getAllKeywords()
CatalogVersion.getAllKeywords()of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set.CatalogVersion.getAllKeywords()of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersion
is setpublic Collection<Keyword> getAllKeywords(int start, int count)
CatalogVersion.getAllKeywords(int, int)of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set.start - count - CatalogVersion.getAllKeywords(int, int)of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersion
is setpublic int getAllKeywordCount()
CatalogVersion.getAllKeywordCount()of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or -1 if no active CatalogVersionis set.CatalogVersion.getAllKeywordCount()of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or -1 if no active CatalogVersionis
setpublic Collection<Media> getAllMedias()
CatalogVersion.getAllMedias()of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set.CatalogVersion.getAllMedias()of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersion
is setpublic Collection<Media> getAllMedias(int start, int count)
CatalogVersion.getAllMedias(int, int)of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set.start - count - CatalogVersion.getAllMedias(int, int)of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersion
is setpublic int getAllMediaCount()
CatalogVersion.getAllMediaCount()of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or -1 if no active CatalogVersionis set.CatalogVersion.getAllMediaCount()of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or -1 if no active CatalogVersionis
setpublic Collection<Product> getAllProducts()
CatalogVersion.getAllProducts()of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set.CatalogVersion.getAllProducts()of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersion
is setpublic Collection<Product> getAllProducts(int start, int count)
CatalogVersion.getAllProducts(int, int)of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set.start - count - CatalogVersion.getAllProducts(int, int)of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersion
is setpublic int getAllProductCount()
CatalogVersion.getAllProductCount()of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or -1 if no active CatalogVersionis set.CatalogVersion.getAllProductCount()of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or -1 if no active CatalogVersionis
set@Deprecated public Category getCategory(String code)
CatalogVersion.getCategory(String )of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set.code - CatalogVersion.getCategory(String )of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersion
is set@Deprecated public Category getCategory(SessionContext ctx, String code)
CatalogVersion.getCategory(SessionContext, String )of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set.ctx - code - CatalogVersion.getCategory(SessionContext, String )of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersion
is setpublic Collection<Category> getCategories(String code)
CatalogVersion.getCategory(String )of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set.code - CatalogVersion.getCategory(String )of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersion
is setpublic Collection<Category> getCategories(SessionContext ctx, String code)
CatalogVersion.getCategories(SessionContext, String )of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set.ctx - code - CatalogVersion.getCategories(SessionContext, String )of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersion
is set@Deprecated public Product getProduct(String code)
CatalogVersion.getProduct(String )of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set.code - CatalogVersion.getProduct(String )of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersion
is setpublic Product getProduct(SessionContext ctx, String code)
CatalogVersion.getProduct(SessionContext, String )of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set.ctx - code - CatalogVersion.getProduct(SessionContext, String )of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersion
is setpublic Collection<Product> getProducts(String code)
CatalogVersion.getProducts(String )of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set.code - CatalogVersion.getProducts(String )of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersion
is setpublic Collection<Product> getProducts(SessionContext ctx, String code)
CatalogVersion.getProducts(SessionContext, String )of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set.ctx - code - CatalogVersion.getProducts(SessionContext, String )of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersion
is setpublic Media getMedia(String code)
CatalogVersion.getMedia(String )of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set.code - CatalogVersion.getMedia(String )of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersion
is setpublic Media getMedia(SessionContext ctx, String code)
CatalogVersion.getMedia(SessionContext, String )of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set.ctx - code - CatalogVersion.getMedia(SessionContext, String )of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersion
is setpublic Collection<Media> getMedias(String code)
CatalogVersion.getMedias(String )of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set.code - CatalogVersion.getMedias(String )of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersion
is setpublic Collection<Media> getMedias(SessionContext ctx, String code)
CatalogVersion.getMedias(SessionContext, String )of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersionis set.ctx - code - CatalogVersion.getMedias(SessionContext, String )of the active CatalogVersion(
GeneratedCatalog.getActiveCatalogVersion()or null if no active CatalogVersion
is set@Deprecated public void setDefaultCatalog(SessionContext ctx, Boolean param)
GeneratedCatalogCatalog.defaultCatalog attribute.setDefaultCatalog in class GeneratedCatalogparam - the defaultCatalog - Default catalogGeneratedCatalog.setDefaultCatalog(de.hybris.platform.jalo.SessionContext,
java.lang.Boolean)@Deprecated public void setUrlPatterns(SessionContext ctx, Collection<String> value)
GeneratedCatalogCatalog.urlPatterns attribute.setUrlPatterns in class GeneratedCatalogvalue - the urlPatterns - Collection of URL patternsCopyright © 2017 SAP SE. All Rights Reserved.