Class ClassificationSystem
- java.lang.Object
-
- de.hybris.platform.util.BridgeAbstraction
-
- de.hybris.platform.jalo.Item
-
- de.hybris.platform.jalo.ExtensibleItem
-
- de.hybris.platform.jalo.c2l.LocalizableItem
-
- de.hybris.platform.jalo.GenericItem
-
- de.hybris.platform.catalog.jalo.GeneratedCatalog
-
- de.hybris.platform.catalog.jalo.Catalog
-
- de.hybris.platform.catalog.jalo.classification.GeneratedClassificationSystem
-
- de.hybris.platform.catalog.jalo.classification.ClassificationSystem
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable
public class ClassificationSystem extends GeneratedClassificationSystem
Represents a classification system.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.GenericItem
GenericItem.GenericItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LocalizableItem.LocalizableItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.ExtensibleItem
ExtensibleItem.ExtensibleItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.Item
Item.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.catalog.jalo.classification.GeneratedClassificationSystem
CATALOGVERSIONSHANDLER, DEFAULT_INITIAL_ATTRIBUTES
-
Fields inherited from class de.hybris.platform.catalog.jalo.GeneratedCatalog
ACTIVECATALOGVERSION, BUYER, BUYERHANDLER, CATALOGVERSIONS, DEFAULTCATALOG, ID, NAME, PREVIEWURLTEMPLATE, SUPPLIER, SUPPLIERHANDLER, URLPATTERNS
-
Fields inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LANGUAGE_FALLBACK_ENABLED
-
Fields inherited from class de.hybris.platform.jalo.Item
_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, HJMPTS, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjects, TYPE
-
Fields inherited from class de.hybris.platform.util.BridgeAbstraction
impl, tenant
-
-
Constructor Summary
Constructors Constructor Description ClassificationSystem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassificationSystemVersioncreateSystemVersion(java.lang.String version, Language language)Creates a new classification system version belonging to this system.ClassificationSystemVersioncreateSystemVersion(java.lang.String version, java.util.Collection<Language> languages)Creates a new classification system version belonging to this system.ClassificationSystemVersiongetActiveCatalogVersion()Generated method - Getter of theCatalog.activeCatalogVersionattribute.ClassificationSystemVersiongetActiveCatalogVersion(SessionContext ctx)Generated method - Getter of theCatalog.activeCatalogVersionattribute.java.util.Set<CatalogVersion>getCatalogVersions(SessionContext ctx)Generated method - Getter of theClassificationSystem.catalogVersionsattribute.ClassificationSystemVersiongetSystemVersion(java.lang.String version)java.util.Set<ClassificationSystemVersion>getSystemVersions()voidsetActiveCatalogVersion(SessionContext ctx, CatalogVersion catalogVersion)Generated method - Setter of theCatalog.activeCatalogVersionattribute.voidsetCatalogVersions(SessionContext ctx, java.util.Set<CatalogVersion> catalogVersions)Generated method - Setter of theClassificationSystem.catalogVersionsattribute.-
Methods inherited from class de.hybris.platform.catalog.jalo.classification.GeneratedClassificationSystem
addToCatalogVersions, addToCatalogVersions, getCatalogVersions, getDefaultAttributeModes, removeFromCatalogVersions, removeFromCatalogVersions, setCatalogVersions
-
Methods inherited from class de.hybris.platform.catalog.jalo.Catalog
checkRemovable, createItem, getAgreements, getAgreements, getAllCategories, getAllCategories, getAllCategoryCount, getAllKeywordCount, getAllKeywords, getAllKeywords, getAllMediaCount, getAllMedias, getAllMedias, getAllProductCount, getAllProducts, getAllProducts, getCatalogVersion, getCategories, getCategories, getCategory, getCategory, getDefaultCurrency, getDefaultCurrency, getGenerationDate, getGenerationDate, getGeneratorInfo, getGeneratorInfo, getLanguages, getLanguages, getMedia, getMedia, getMedias, getMedias, getMimeRootDirectory, getMimeRootDirectory, getProduct, getProduct, getProducts, getProducts, getRootCategories, getRootCategories, getTerritories, getTerritories, getVersion, getVersion, isInclAssurance, isInclAssurance, isInclAssuranceAsPrimitive, isInclAssuranceAsPrimitive, isInclDuty, isInclDuty, isInclDutyAsPrimitive, isInclDutyAsPrimitive, isInclFreight, isInclFreight, isInclFreightAsPrimitive, isInclFreightAsPrimitive, isInclPacking, isInclPacking, isInclPackingAsPrimitive, isInclPackingAsPrimitive, setActiveCatalogVersionInternal, setDefaultCatalog, setUrlPatterns
-
Methods inherited from class de.hybris.platform.catalog.jalo.GeneratedCatalog
addToCatalogVersions, addToCatalogVersions, getAllName, getAllName, getBuyer, getBuyer, getId, getId, getName, getName, getPreviewURLTemplate, getPreviewURLTemplate, getSupplier, getSupplier, getUrlPatterns, getUrlPatterns, isDefaultCatalog, isDefaultCatalog, isDefaultCatalogAsPrimitive, isDefaultCatalogAsPrimitive, removeFromCatalogVersions, removeFromCatalogVersions, setActiveCatalogVersion, setAllName, setAllName, setBuyer, setBuyer, setDefaultCatalog, setDefaultCatalog, setDefaultCatalog, setId, setId, setName, setName, setPreviewURLTemplate, setPreviewURLTemplate, setSupplier, setSupplier, setUrlPatterns
-
Methods inherited from class de.hybris.platform.jalo.GenericItem
getImplementation, getInitialProperties, getNonInitialAttributes, getRelatedItems, setRelatedItems
-
Methods inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedProperty
-
Methods inherited from class de.hybris.platform.jalo.ExtensibleItem
createNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setProperty
-
Methods inherited from class de.hybris.platform.jalo.Item
addLinkedItems, 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, isMarkModifiedDisabled, isRelationLocalizationFallbackEnabled, newInstance, notifyExtensionsAfterItemCreation, notifyExtensionsBeforeItemCreation, notifyItemRemoval, notifyManagerAboutItemRemoval, readResolve, 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, writeReplace
-
Methods inherited from class de.hybris.platform.util.BridgeAbstraction
setTenant
-
-
-
-
Method Detail
-
createSystemVersion
public ClassificationSystemVersion createSystemVersion(java.lang.String version, Language language) throws ConsistencyCheckException
Creates a new classification system version belonging to this system.- Parameters:
version- the version identifierlanguage- the initial language which is set for this version; may be null- Throws:
ConsistencyCheckException- if there is already a version using the same identifier and belonging to this system
-
createSystemVersion
public ClassificationSystemVersion createSystemVersion(java.lang.String version, java.util.Collection<Language> languages) throws ConsistencyCheckException
Creates a new classification system version belonging to this system.- Parameters:
version- the version identifierlanguages- the language which are supported by this system version- Throws:
ConsistencyCheckException- if there is already a version using the same identifier and belonging to this system
-
setCatalogVersions
public void setCatalogVersions(SessionContext ctx, java.util.Set<CatalogVersion> catalogVersions)
Description copied from class:GeneratedClassificationSystemGenerated method - Setter of theClassificationSystem.catalogVersionsattribute.- Overrides:
setCatalogVersionsin classGeneratedClassificationSystemcatalogVersions- the catalogVersions - classification system versions of this catalog
-
getSystemVersions
public java.util.Set<ClassificationSystemVersion> getSystemVersions()
-
getCatalogVersions
public java.util.Set<CatalogVersion> getCatalogVersions(SessionContext ctx)
Description copied from class:GeneratedClassificationSystemGenerated method - Getter of theClassificationSystem.catalogVersionsattribute.- Overrides:
getCatalogVersionsin classGeneratedClassificationSystem- Returns:
- the catalogVersions - classification system versions of this catalog
-
getActiveCatalogVersion
public ClassificationSystemVersion getActiveCatalogVersion()
Description copied from class:GeneratedCatalogGenerated method - Getter of theCatalog.activeCatalogVersionattribute.- Overrides:
getActiveCatalogVersionin classGeneratedCatalog- Returns:
- the activeCatalogVersion - active CatalogVersion
-
getActiveCatalogVersion
public ClassificationSystemVersion getActiveCatalogVersion(SessionContext ctx)
Description copied from class:GeneratedCatalogGenerated method - Getter of theCatalog.activeCatalogVersionattribute.- Overrides:
getActiveCatalogVersionin classGeneratedCatalog- Returns:
- the activeCatalogVersion - active CatalogVersion
-
setActiveCatalogVersion
public void setActiveCatalogVersion(SessionContext ctx, CatalogVersion catalogVersion)
Description copied from class:GeneratedCatalogGenerated method - Setter of theCatalog.activeCatalogVersionattribute.- Overrides:
setActiveCatalogVersionin classCatalogcatalogVersion- the activeCatalogVersion - active CatalogVersion
-
getSystemVersion
public ClassificationSystemVersion getSystemVersion(java.lang.String version)
-
-