public class CatalogManager extends GeneratedCatalogManager implements WebRequestInterceptor, Extension.RightsProvider, Extension.RestrictedLanguagesProvider
Extension.RestrictedLanguagesProvider, Extension.RightsProviderManager.GenericManagerSingletonCreator, Manager.ManagerSingletonCreator| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_CATALOG_ID |
static java.lang.String |
DEFAULT_CATALOG_NAME |
static java.lang.String |
DEFAULT_COMPANY_ID |
static java.lang.String |
DEFAULT_COMPANY_NAME |
static java.lang.String |
MEDIA_CODE_DELIMITER |
static java.lang.String |
OFFLINE_VERSION |
static java.lang.String |
ONLINE_VERSION |
ABSTRACTORDERENTRY2ABSTRACTORDERENTRYPRODUCTINFORELATIONPRODUCTINFOSHANDLER, CATEGORY2PRINCIPALRELATION_MARKMODIFIED, CATEGORY2PRINCIPALRELATION_SRC_ORDERED, CATEGORY2PRINCIPALRELATION_TGT_ORDERED, CATEGORYMEDIARELATION_MARKMODIFIED, CATEGORYMEDIARELATION_SRC_ORDERED, CATEGORYMEDIARELATION_TGT_ORDERED, CATEGORYPRODUCTRELATION_MARKMODIFIED, CATEGORYPRODUCTRELATION_SRC_ORDERED, CATEGORYPRODUCTRELATION_TGT_ORDERED, DEFAULT_INITIAL_ATTRIBUTES, PRINCIPAL2READABLECATALOGVERSIONRELATION_MARKMODIFIED, PRINCIPAL2READABLECATALOGVERSIONRELATION_SRC_ORDERED, PRINCIPAL2READABLECATALOGVERSIONRELATION_TGT_ORDERED, PRINCIPAL2WRITEABLECATALOGVERSIONRELATION_MARKMODIFIED, PRINCIPAL2WRITEABLECATALOGVERSIONRELATION_SRC_ORDERED, PRINCIPAL2WRITEABLECATALOGVERSIONRELATION_TGT_ORDERED, PRODUCT2FEATURERELATIONFEATURESHANDLER, PRODUCT2KEYWORDRELATION_MARKMODIFIED, PRODUCT2KEYWORDRELATION_SRC_ORDERED, PRODUCT2KEYWORDRELATION_TGT_ORDERED, PRODUCT2VARIANTRELATIONVARIANTSHANDLER, PRODUCTREFERENCERELATIONPRODUCTREFERENCESHANDLER, SYNCITEMJOB2PRINCIPAL_MARKMODIFIED, SYNCITEMJOB2PRINCIPAL_SRC_ORDERED, SYNCITEMJOB2PRINCIPAL_TGT_ORDERED, SYNCJOB2LANGREL_MARKMODIFIED, SYNCJOB2LANGREL_SRC_ORDERED, SYNCJOB2LANGREL_TGT_ORDERED, SYNCJOB2TYPEREL_MARKMODIFIED, SYNCJOB2TYPEREL_SRC_ORDERED, SYNCJOB2TYPEREL_TGT_ORDERED| Constructor and Description |
|---|
CatalogManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToAllowedPrincipals(Category item,
Principal value) |
void |
addToAllowedPrincipals(SessionContext ctx,
Category item,
Principal value) |
void |
addToCatalogReadersAndWriters() |
void |
addToKeywords(Category item,
Language lang,
Keyword value) |
void |
addToKeywords(SessionContext ctx,
Category item,
Language lang,
Keyword value) |
protected void |
assignCatalogVersions(HttpServletRequest request,
JaloSession jaloSession,
java.util.Collection<CatalogVersion> versions,
boolean previewMode) |
void |
beforeItemCreation(SessionContext ctx,
ComposedType type,
Item.ItemAttributeMap attributes)
This method will be called before an item is created BUT AFTER the default values of this type are assigned
|
boolean |
canRead(SessionContext ctx,
User sessionUser,
CatalogVersion catalogVersion) |
boolean |
canSync(SessionContext ctx,
User sessionUser,
SyncItemJob sync)
This method will be called by the SynchronizeCatalogVersionWizard for determining if the current user is allowed
to execute a synchronization task.
|
boolean |
canWrite(SessionContext ctx,
User sessionUser,
CatalogVersion catalogVersion) |
protected void |
checkBeforeItemRemoval(SessionContext ctx,
Item item)
Superclass method overridden to avoid calls to ejb layer.
|
protected void |
checkCatalogItemTypeAttributeDescriptor(ComposedType comptyp,
AttributeDescriptor atrdesc,
boolean forVersion)
Checks attribute descriptors.
|
protected java.util.Collection<PreviewTicket> |
collectPreviewTicketVersions(HttpServletRequest request,
JaloSession jaloSession) |
void |
configureDefaultSynchronization(JspContext jspc) |
SyncItemJob |
configureSynchronizationJob(java.lang.String code,
Catalog catalog,
java.lang.String sourceVersion,
java.lang.String targetVersion,
boolean createNewItems,
boolean removeMissingItems)
Configures a publication rule (as
SyncItemJob item) between a specified source catalog version and target
catalog version with a given catalog. |
Agreement |
createAgreement(CatalogVersion catalogVersion,
java.lang.String id,
java.util.Date startDate,
java.util.Date endDate)
Deprecated.
since ages - Use ModelService to create new AgreementModels. Use AgreementModel's setters to provide attribute
values.
|
Agreement |
createAgreement(java.lang.String id,
java.util.Date startDate,
java.util.Date endDate)
Deprecated.
since ages - Use ModelService to create new AgreementModels. Use AgreementModel's setters to provide attribute
values.
|
protected ImpExMedia |
createBatchMedia(java.lang.String fileName,
java.lang.String mime,
java.io.InputStream istr) |
Catalog |
createCatalog(java.lang.String id)
Deprecated.
since ages - Use modelService to create new catalog. Use CatalogModel setters to provide attributes values.
|
Catalog |
createCatalog(java.lang.String id,
java.lang.String name,
Company supplier)
Deprecated.
since ages - Use modelService to create new catalog. Use CatalogModel setters to provide attributes values.
|
Category |
createCatalogCategory(CatalogVersion catalogVersion,
java.lang.String code,
java.lang.String name,
java.lang.String description,
java.lang.Integer order,
java.util.Collection keywords,
Category parent)
Deprecated.
since ages - Use ModelService to create new CategoryModel. Use CategoryModel setters to provide attributes values.
|
void |
createCatalogSyncMediaFolder() |
CatalogVersion |
createCatalogVersion(Catalog catalog,
java.lang.String version,
Language importLanguage)
Deprecated.
since ages - Use modelService to create new catalogVersion. Use CatalogVersionModel setters to provide attributes
values.
|
CategoryCatalogVersionDifference |
createCategoryCatalogVersionDifference(CatalogVersion sourceVersion,
CatalogVersion targetVersion,
CronJob cronJob,
Category srcCategory,
Category targetCategory,
EnumerationValue mode)
Deprecated.
since ages
|
ClassificationSystem |
createClassificationSystem(java.lang.String id)
Creates a new ClassificationSystem with the given id.
|
ClassificationSystemVersion |
createClassificationSystemVersion(ClassificationSystem system,
java.lang.String version,
java.util.Collection<Language> languages) |
ClassificationSystemVersion |
createClassificationSystemVersion(ClassificationSystem system,
java.lang.String version,
Language importLanguage) |
Company |
createCompany(java.lang.String uid)
Deprecated.
since ages - Use ModelService to create new CompanyModel. Use CompanyModel setters to provide attributes values.
|
boolean |
createDefaultCatalog(JspContext jspc) |
CompareCatalogVersionsCronJob |
createDefaultCompareCatalogVersionCronJob(CatalogVersion source,
CatalogVersion target,
Customer priceCompareCustomer,
java.lang.Double tolerance,
java.lang.Boolean searchMissingProducts,
java.lang.Boolean searchMissingCategories,
java.lang.Boolean searchNewProducts,
java.lang.Boolean searchNewCategories,
java.lang.Boolean searchPriceDiffs,
java.lang.Boolean overwriteStatus) |
void |
createEssentialData(java.util.Map params,
JspContext jspc) |
Keyword |
createKeyword(CatalogVersion catalogVersion,
java.lang.String keyword,
Language lang)
Creates an new
Keyword for the given CatalogVersion and keyword value. |
PreviewTicket |
createPreviewTicket(CatalogVersion version) |
PreviewTicket |
createPreviewTicket(CatalogVersion version,
User createdBy,
java.util.Date validTo) |
ProductCatalogVersionDifference |
createProductCatalogVersionDifference(CatalogVersion sourceVersion,
CatalogVersion targetVersion,
CronJob cronJob,
Product srcProduct,
Product targetProduct,
EnumerationValue mode) |
ProductReference |
createProductReference(java.lang.String qualifier,
Product source,
Product target,
java.lang.Integer quantity)
Deprecated.
since ages - Use ModelService to create new ProductReferences. Use ProductReferncveModel setters to set attribute
values.
|
void |
createProjectData(java.util.Map params,
JspContext jspc) |
void |
createSavedQueries(JspContext jspc) |
ItemSyncTimestamp |
createSyncTimestamp(SyncItemJob job,
Item source,
Item copy) |
ItemSyncTimestamp |
createSyncTimestamp(SyncItemJob job,
Item source,
PK copy) |
void |
createUsersAndGroupsAndRights() |
void |
doPostRequest(HttpServletRequest request,
HttpServletResponse response) |
void |
doPreRequest(HttpServletRequest request,
HttpServletResponse response) |
protected java.util.Collection |
filterByURL(HttpServletRequest request,
java.util.Collection allActiveVersions) |
protected Category |
findInCatalogVersion(CatalogVersion ver,
Category original)
Deprecated.
since ages
|
protected Media |
findInCatalogVersion(CatalogVersion ver,
Media original) |
protected Product |
findInCatalogVersion(CatalogVersion ver,
Product original) |
protected java.lang.String |
generateDuplicateQuery(java.lang.Class jaloClass)
Generated query statement for collecting duplicate versionable items.
|
java.util.Collection<Category> |
getAllCatalogCategories(CatalogVersion catalogVersion)
Deprecated.
since ages - use
CategoryService instead. |
java.util.Set<ComposedType> |
getAllCatalogItemRootTypes()
Deprecated.
since ages - Use CatalogVersionService.getAllCatalogVersionAwareTypes(true) instead.
|
java.util.Set<ComposedType> |
getAllCatalogItemTypes()
Deprecated.
since ages - Use CatalogTypeService.getAllCatalogVersionAwareTypes(false) instead.
|
java.util.Set<Catalog> |
getAllCatalogs()
Deprecated.
since ages - Use CatalogService.getAllCatalogs() instead.
|
java.util.Set<CatalogVersion> |
getAllCatalogVersions()
Deprecated.
since ages - Use CatalogVersionService.getAllCatalogVersions() instead.
|
java.util.Map<Language,java.lang.String> |
getAllClassificationIndexString(SessionContext ctx,
Product item)
Generated method - Getter of the
Product.classificationIndexString attribute. |
java.util.Set<ClassificationSystem> |
getAllClassificationSystems()
Returns all classification systems within the system.
|
java.util.Set<ClassificationSystemVersion> |
getAllClassificationSystemVersions()
Deprecated.
since ages - Use ClassificationSystemVersionDao.findAllClassificationSystemVersions() instead.
|
java.util.Map<Language,java.lang.String> |
getAllDescription(Category item) |
java.util.Map<Language,java.lang.String> |
getAllDescription(SessionContext ctx,
Category item) |
java.util.Map<Language,java.util.List<Keyword>> |
getAllKeywords(Category item) |
java.util.Map<Language,java.util.List<Keyword>> |
getAllKeywords(SessionContext ctx,
Category item)
Deprecated.
since ages
|
java.util.List<Principal> |
getAllowedPrincipals(Category item) |
java.util.List<Principal> |
getAllowedPrincipals(SessionContext ctx,
Category item)
Generated methods from old GeneratedCatalogManager starts
|
long |
getAllowedPrincipalsCount(Category item) |
long |
getAllowedPrincipalsCount(SessionContext ctx,
Category item) |
java.util.Collection<CatalogVersion> |
getAllReadableCatalogVersions(SessionContext ctx,
User user)
Deprecated.
since ages - Use CatalogVersionService.getAllReadableCatalogVersions(de.hybris.platform.core.model.security.
PrincipalModel ) instead.
|
java.util.Collection<CatalogVersion> |
getAllWriteableCatalogVersions(SessionContext ctx,
User user)
Deprecated.
since ages - Use CatalogVersionService.getAllWritableCatalogVersions(de.hybris.platform.core.model.security.
PrincipalModel ) instead.
|
java.util.Collection<CatalogVersion> |
getAllWriteableCatalogVersions(User user)
Deprecated.
since ages - Use CatalogVersionService.getAllWritableCatalogVersions(de.hybris.platform.core.model.security.
PrincipalModel ) instead.
|
java.util.Collection<CatalogVersion> |
getAvailableCatalogVersions(JaloSession jalosession)
Deprecated.
since ages - Use CatalogVersionService.getAllReadableCatalogVersions(PrincipalModel currentUser) instead.
UserService allows to fetch current user: UserService.getCurrentUser().
|
protected ImpExMedia |
getBatchMedia(java.lang.String fileName,
java.lang.String fileExt) |
Catalog |
getCatalog(Company supplier,
java.lang.String catalogID)
Deprecated.
since ages - catalogId is unique, so it is sufficient to search over catalogId only. Use
CatalogService.getCatalogForId(String) instead.
|
Catalog |
getCatalog(java.lang.String catalogID)
Deprecated.
since ages - Use CatalogService.getCatalogForId(String) instead.
|
Catalog |
getCatalog(java.lang.String supplierUID,
java.lang.String catalogID)
Deprecated.
since ages - catalogId is unique, so it is sufficient to search over catalogId only. Use
CatalogService.getCatalogForId(String) instead.
|
Category |
getCatalogCategory(CatalogVersion catalogVersion,
java.lang.String code)
Deprecated.
since ages - use
CategoryService.getCategoryForCode(de.hybris.platform.catalog.model.CatalogVersionModel, String)
instead. |
java.lang.String |
getCatalogItemID(Item catalogItem)
Returns the ID of a catalog item.
|
MediaFolder |
getCatalogSyncMediaFolder() |
CatalogVersion |
getCatalogVersion(Category item) |
CatalogVersion |
getCatalogVersion(Item item)
Deprecated.
since ages - Use CatalogTypeService.getCatalogVersion(de.hybris.platform.core.model.ItemModel) instead.
|
CatalogVersion |
getCatalogVersion(SessionContext ctx,
Category item) |
CatalogVersion |
getCatalogVersion(SessionContext ctx,
Item item)
Deprecated.
since ages - Use CatalogTypeService.getCatalogVersion(de.hybris.platform.core.model.ItemModel) instead.
|
AttributeDescriptor |
getCatalogVersionAttribute(SessionContext ctx,
ComposedType type)
Generated method - Getter of the
ComposedType.catalogVersionAttribute attribute. |
java.lang.String |
getCatalogVersionAttributeQualifier(ComposedType item)
Deprecated.
since ages - Use ComposedTypeModel.getCatalogVersionAttribute() instead. Use
AttributeDescriptorModel.getQualifier() to fetch qualifier name.
|
java.util.Collection<Category> |
getCategoriesByProduct(CatalogVersion catver,
Product product)
|
java.util.Collection<Category> |
getCategoriesByProduct(CatalogVersion catver,
Product product,
SessionContext ctx) |
CategoryManager |
getCategoryManager()
Deprecated.
since ages - Internal legacy migration method for
CategoryManager.getInstance() only |
java.util.Collection<Link> |
getCategoryProductLinks(CatalogVersion catalogVersion,
Category category,
Product product)
Deprecated.
since ages
|
java.util.Collection<Product> |
getCategoryProductsByState(SessionContext ctx,
Category category,
boolean offline)
Deprecated.
since ages - use
ProductService.getOfflineProductsForCategory(de.hybris.platform.category.model.CategoryModel)
and
) instead. |
ClassificationAttribute |
getClassificationAttribute(java.lang.String code,
ClassificationSystemVersion version)
Deprecated.
since ages - please use
Item.getAttribute(String) instead |
ClassificationAttributeValue |
getClassificationAttributeValue(java.lang.String code,
ClassificationSystemVersion version)
Deprecated.
since ages - please use
ClassificationSystemVersion.getClassificationAttributeValue(String) instead |
ClassificationClass |
getClassificationClass(java.lang.String systemName,
java.lang.String versionName,
java.lang.String classID)
Finds a classification class directly by specifying its classificaiton system name, system version and class code.
|
java.util.List<ClassificationClass> |
getClassificationClasses(Category src) |
java.util.List<ClassificationClass> |
getClassificationClasses(ClassificationSystemVersion systemVersion,
Category src) |
java.util.List<ClassificationClass> |
getClassificationClasses(ClassificationSystemVersion systemVersion,
Product product) |
java.util.List<ClassificationClass> |
getClassificationClasses(java.util.Collection<ClassificationSystemVersion> systemVersions,
Category src) |
java.util.List<ClassificationClass> |
getClassificationClasses(java.util.Collection<ClassificationSystemVersion> systemVersions,
Product product) |
java.util.List<ClassificationClass> |
getClassificationClasses(Product product) |
java.util.List<ClassificationClass> |
getClassificationClasses(SessionContext ctx,
Product product) |
java.lang.String |
getClassificationIndexString(SessionContext ctx,
Product prod)
Generated method - Getter of the
Product.classificationIndexString attribute. |
ClassificationSystem |
getClassificationSystem(java.lang.String classificationSystemId)
Returns the matching
ClassificationSystem for the specified id. |
Company |
getCompanyByUID(java.lang.String uid)
Deprecated.
since ages - Use UserService.getUserGroupForUID(uid, CompanyModel.class) instead.
|
Item |
getCounterpartItem(Item sourceItem,
CatalogVersion targetVersion)
Deprecated.
since ages - Use CatalogTypeService.getCatalogVersionAwareModel(CatalogVersionModel, String, Map) instead.
|
Item |
getCounterpartItem(SessionContext ctx,
Item sourceItem,
CatalogVersion targetVersion)
Deprecated.
since ages - Use CatalogTypeService.getCatalogVersionAwareModel(CatalogVersionModel, String, Map) instead.
|
java.lang.String |
getCreatorParameterDefault(java.lang.String param)
Override this method to provide default value for the given creator parameter.
|
java.util.List<java.lang.String> |
getCreatorParameterPossibleValues(java.lang.String param)
Override this method to provide a list of all possible values for the given creator parameter.
|
java.util.Collection<Media> |
getData_sheet(Category item) |
java.util.Collection<Media> |
getData_sheet(SessionContext ctx,
Category item) |
Catalog |
getDefaultCatalog()
Deprecated.
since ages - Use CatalogService.getDefaultCatalog() instead.
|
java.util.List<ComposedType> |
getDefaultRootTypes()
Check all subtypes of Item (recursively) searching for catalog.sync.default.root.type custom-property.
|
java.lang.String |
getDescription(Category item) |
java.lang.String |
getDescription(SessionContext ctx,
Category item) |
java.util.Collection<Media> |
getDetail(Category item) |
java.util.Collection<Media> |
getDetail(SessionContext ctx,
Category item) |
static java.lang.Object |
getFirstOne(java.util.Collection coll)
Tool method which returns just the first element of a collection.
|
static CatalogManager |
getInstance() |
Keyword |
getKeyword(CatalogVersion catalogVersion,
java.lang.String keywordValue)
Returns the Keyword for the specified keyword value and
CatalogVersion. |
Keyword |
getKeyword(java.lang.String typeCode,
CatalogVersion catalogVersion,
java.lang.String keywordValue)
Returns the Keyword for the specified keyword value and
CatalogVersion. |
java.util.List<Keyword> |
getKeywords(Category item) |
java.util.List<Keyword> |
getKeywords(SessionContext ctx,
Category item) |
long |
getKeywordsCount(Category item) |
long |
getKeywordsCount(Category item,
Language lang) |
long |
getKeywordsCount(SessionContext ctx,
Category item) |
long |
getKeywordsCount(SessionContext ctx,
Category item,
Language lang) |
Language |
getLanguageIfExists(java.lang.String isoCode)
Deprecated.
since ages - Use CommonI18NService.getLanguage(String) instead.
|
java.util.Date |
getLastSyncModifiedTime(SyncItemJob job,
Item src,
Item copy) |
java.util.Collection<Media> |
getLogo(Category item) |
java.util.Collection<Media> |
getLogo(SessionContext ctx,
Category item) |
java.lang.String |
getMediaCode(java.lang.String catalogID,
java.lang.String catalogVersion,
java.lang.String mediaCode) |
java.util.Collection<Media> |
getNormal(Category item) |
java.util.Collection<Media> |
getNormal(SessionContext ctx,
Category item) |
static Item |
getOldest(java.util.Collection items) |
CompareCatalogVersionsJob |
getOrCreateDefaultCompareCatalogVersionJob() |
RemoveCatalogVersionJob |
getOrCreateDefaultRemoveCatalogVersionJob() |
java.lang.Integer |
getOrder(Category item) |
java.lang.Integer |
getOrder(SessionContext ctx,
Category item) |
int |
getOrderAsPrimitive(Category item) |
int |
getOrderAsPrimitive(SessionContext ctx,
Category item) |
java.util.Collection<Media> |
getOthers(Category item) |
java.util.Collection<Media> |
getOthers(SessionContext ctx,
Category item) |
Product |
getProductByCatalogVersion(CatalogVersion catalogVersion,
java.lang.String productCode) |
java.util.Collection<ProductReference> |
getProductReferences(java.lang.String qualifier,
Product source,
Product target)
Deprecated.
since ages - Use one of the ProductReferenceService methods to fetch product references
|
java.util.Collection<ProductReference> |
getProductReferences(java.lang.String qualifier,
Product source,
Product target,
java.lang.Integer quantity,
boolean forceQuantitySearch)
Deprecated.
since ages - Use one of the ProductReferenceService methods to fetch product references
|
java.util.Set<Language> |
getRestrictedLanguages(Item item)
Deprecated.
since ages - In order to fetch language restrictions follow the following pattern:
|
java.util.Collection<CatalogVersion> |
getSessionCatalogVersions(JaloSession jalosession)
Deprecated.
since ages - Use CatalogVersionService.getSessionCatalogVersions() instead.
|
java.util.Collection<CatalogVersion> |
getSessionCatalogVersions(SessionContext ctx)
Deprecated.
since ages - Use CatalogVersionService.getSessionCatalogVersions() instead.
|
java.util.List<ItemSyncTimestamp> |
getSynchronizationSources(SessionContext ctx,
Item target)
Generated method - Getter of the
Item.synchronizationSources attribute. |
java.util.List<ItemSyncTimestamp> |
getSynchronizedCopies(SessionContext ctx,
Item source)
Implements getting all copies of an extensible item.
|
Item |
getSynchronizedCopy(Item source,
SyncItemJob sij) |
SyncItemJob |
getSyncJob(CatalogVersion source,
CatalogVersion target) |
SyncItemJob |
getSyncJob(CatalogVersion source,
CatalogVersion target,
java.lang.String qualifier) |
SyncItemJob |
getSyncJobFromSource(CatalogVersion source) |
java.util.Map<PK,ItemSyncTimestamp> |
getSyncTimestampMap(Item source,
SyncItemJob sij) |
java.util.Collection<Media> |
getThumbnails(Category item) |
java.util.Collection<Media> |
getThumbnails(SessionContext ctx,
Category item) |
int |
getTotalObjectsCount(Catalog catalog)
Deprecated.
since ages - - counts only products, categories, medias and keywords. use XXX instead!
|
int |
getTotalObjectsCount(CatalogVersion version)
Deprecated.
since ages - - counts only products, categories, medias and keywords. use XXX instead!
|
java.lang.String |
getTypeQualifier(Address address) |
java.lang.String |
getTypeQualifier(SessionContext ctx,
Address address) |
java.util.Set<java.lang.String> |
getUniqueKeyAttributeQualifiers(ComposedType comptyp)
Deprecated.
since ages - Use CatalogTypeService.getCatalogVersionUniqueKeyAttribute(String typeCode) instead;
|
java.util.Collection<AttributeDescriptor> |
getUniqueKeyAttributes(ComposedType item)
Generated method - Getter of the
ComposedType.uniqueKeyAttributes attribute. |
java.util.Collection<AttributeDescriptor> |
getUniqueKeyAttributes(SessionContext ctx,
ComposedType item)
Deprecated.
since ages - Check ComposedTypeModel.getUniqueKeyAttributes() instead.
|
java.util.List<ProductFeature> |
getUntypedFeatures(Product item)
Deprecated.
since ages - use
FeatureContainer.loadUntyped(Product) instead |
java.util.List<ProductFeature> |
getUntypedFeatures(SessionContext ctx,
Product prod)
Deprecated.
since ages - use
FeatureContainer.loadUntyped(Product) instead |
java.util.Collection<VariantProduct> |
getVariants(SessionContext ctx,
Product baseProduct,
CatalogVersion catalogVersion) |
VariantsManager |
getVariantsManager()
Deprecated.
since ages - Internal legacy migration method for
VariantsManager.getInstance() only |
protected java.io.InputStream |
getZipEntryInputStream(java.util.zip.ZipFile zipfile,
java.lang.String entryName) |
boolean |
hasUniqueKeyAttributes(ComposedType comptyp)
Deprecated.
since ages - Check ComposedTypeModel.getUniqueKeyAttributes() instead.
|
boolean |
isActivatingPreviewMode(JaloSession jalosession)
Deprecated.
since ages - Use SessionService.getAttribute(CatalogConstants.PREVIEW_MODE_ACTIVATION) in order to read the
'preview mode' flag value.
|
boolean |
isActivatingPreviewMode(SessionContext ctx)
Deprecated.
since ages - Use SessionService.getAttribute(CatalogConstants.PREVIEW_MODE_ACTIVATION) in order to read the
'preview mode' flag value.
|
boolean |
isCatalogItem(java.lang.Class itemclass)
Deprecated.
since ages - please use
isCatalogItem(ComposedType) instead |
boolean |
isCatalogItem(ComposedType comptyp)
Deprecated.
since ages - Use CatalogTypeService.isCatalogVersionAwareModel(de.hybris.platform.core.model.ItemModel) instead.
|
boolean |
isCatalogItem(Item item)
Deprecated.
since ages - Use CatalogTypeService.isCatalogVersionAwareModel(de.hybris.platform.core.model.ItemModel) instead.
|
java.lang.Boolean |
isCatalogItemType(SessionContext ctx,
ComposedType item)
Deprecated.
since ages - Use
isCatalogItem(ComposedType) instead. |
boolean |
isEditable(Item item,
AttributeDescriptor descriptor)
Checks whether given attribute for given item can be modified.
|
boolean |
isEditorUser(User user) |
static java.lang.Boolean |
isSyncInProgress(SessionContext ctx)
Generated methods from old GeneratedCatalogManager ends
|
static boolean |
isSyncInProgressAsPrimitive(SessionContext ctx) |
static boolean |
mustSetCatalogVersions(JaloSession jaloSession,
HttpServletRequest req) |
protected SyncItemJob |
newDefaultSyncJobInstance(java.util.Map attributes) |
void |
notifyInitializationEnd(java.util.Map<java.lang.String,java.lang.String> params,
JspContext ctx) |
protected void |
notifyItemRemoval(SessionContext ctx,
Item item)
Superclass method overridden to avoid calls to ejb layer except for
Product and ProductFeature
instances. |
void |
removeFromAllowedPrincipals(Category item,
Principal value) |
void |
removeFromAllowedPrincipals(SessionContext ctx,
Category item,
Principal value) |
void |
removeFromKeywords(Category item,
Language lang,
Keyword value) |
void |
removeFromKeywords(SessionContext ctx,
Category item,
Language lang,
Keyword value) |
protected void |
removeProductReferencesFor(SessionContext ctx,
Product prod) |
protected void |
removeSyncTimestampsFor(SessionContext ctx,
CatalogVersion catver) |
protected void |
removeSyncTimestampsFor(SessionContext ctx,
Item forItem) |
void |
setAllDescription(Category item,
java.util.Map<Language,java.lang.String> value) |
void |
setAllDescription(SessionContext ctx,
Category item,
java.util.Map<Language,java.lang.String> value) |
void |
setAllKeywords(Category item,
java.util.Map<Language,java.util.List<Keyword>> value) |
void |
setAllKeywords(SessionContext ctx,
Category item,
java.util.Map<Language,java.util.List<Keyword>> value) |
void |
setAllowedPrincipals(Category item,
java.util.List<Principal> value) |
void |
setAllowedPrincipals(SessionContext ctx,
Category cat,
java.util.List<Principal> newOnes)
Deprecated.
since ages - use
CategoryService.setAllowedPrincipalsForCategory(de.hybris.platform.category.model.CategoryModel, List)
instead. |
void |
setAllowedPrincipalsOnlyForGivenCategory(SessionContext ctx,
Category item,
java.util.List<Principal> value) |
void |
setApprovalStatus(Category cat,
EnumerationValue status,
boolean recursively,
boolean asTransaction)
Deprecated.
since ages
|
void |
setCatalogItemType(SessionContext ctx,
ComposedType item,
java.lang.Boolean param)
Deprecated.
since ages - Use ComposedTypeModel.setCatalogItemType(Boolean) instead.
|
void |
setCatalogVersion(Category item,
CatalogVersion value) |
void |
setCatalogVersion(SessionContext ctx,
Category cat,
CatalogVersion catver)
Deprecated.
since ages - Use CategoryModel.setCatalogVersion(de.hybris.platform.catalog.model.CatalogVersionModel) instead. Use
ModelService to persist model changes.
|
void |
setCatalogVersion(SessionContext ctx,
Media media,
CatalogVersion version)
Deprecated.
since ages - Use MediaModel.setCatalogVersion(de.hybris.platform.catalog.model.CatalogVersionModel) instead. Use
ModelService to persist model changes.
|
void |
setCatalogVersion(SessionContext ctx,
Product product,
CatalogVersion version)
Deprecated.
since ages - Use ProductModel.setCatalogVersion(de.hybris.platform.catalog.model.CatalogVersionModel) instead. Use
ModelService to persist model changes.
|
void |
setCatalogVersionAttribute(SessionContext ctx,
ComposedType item,
AttributeDescriptor attrdesc)
Generated method - Setter of the
ComposedType.catalogVersionAttribute attribute. |
void |
setData_sheet(Category item,
java.util.Collection<Media> value) |
void |
setData_sheet(SessionContext ctx,
Category item,
java.util.Collection<Media> value) |
void |
setDescription(Category item,
java.lang.String value) |
void |
setDescription(SessionContext ctx,
Category item,
java.lang.String value) |
void |
setDetail(Category item,
java.util.Collection<Media> value) |
void |
setDetail(SessionContext ctx,
Category item,
java.util.Collection<Media> value) |
void |
setKeywords(Category item,
java.util.List<Keyword> value) |
void |
setKeywords(SessionContext ctx,
Category item,
java.util.List<Keyword> value) |
void |
setLogo(Category item,
java.util.Collection<Media> value) |
void |
setLogo(SessionContext ctx,
Category item,
java.util.Collection<Media> value) |
void |
setNormal(Category item,
java.util.Collection<Media> value) |
void |
setNormal(SessionContext ctx,
Category item,
java.util.Collection<Media> value) |
void |
setOrder(Category item,
int value) |
void |
setOrder(Category item,
java.lang.Integer value) |
void |
setOrder(SessionContext ctx,
Category item,
int value) |
void |
setOrder(SessionContext ctx,
Category item,
java.lang.Integer value) |
void |
setOthers(Category item,
java.util.Collection<Media> value) |
void |
setOthers(SessionContext ctx,
Category item,
java.util.Collection<Media> value) |
void |
setReadableCatalogVersions(SessionContext ctx,
Principal principal,
java.util.List<CatalogVersion> value)
Deprecated.
since ages - Use PrincipalModel.setReadableCatalogVersions(List) instead.
|
void |
setSessionCatalogVersions(java.util.Collection<CatalogVersion> versions)
Deprecated.
since ages - Use CatalogVersionService.setSessionCatalogVersions(Set) instead.
|
void |
setSessionCatalogVersions(SessionContext ctx,
java.util.Collection<CatalogVersion> versions)
Deprecated.
since ages - Use CatalogVersionService.setSessionCatalogVersions(Set) instead.
|
void |
setThumbnails(Category item,
java.util.Collection<Media> value) |
void |
setThumbnails(SessionContext ctx,
Category item,
java.util.Collection<Media> value) |
void |
setUniqueKeyAttributes(SessionContext ctx,
ComposedType item,
java.util.Collection<AttributeDescriptor> value)
Generated method - Setter of the
ComposedType.uniqueKeyAttributes attribute. |
void |
setUntypedFeatures(SessionContext ctx,
Product product,
java.util.List<ProductFeature> features) |
void |
setWritableCatalogVersions(SessionContext ctx,
Principal principal,
java.util.List<CatalogVersion> value)
Deprecated.
since ages - Use
PrincipalModel.setWritableCatalogVersions(List) instead. |
addToFeatures, addToFeatures, addToKeywords, addToKeywords, addToProductInfos, addToProductInfos, addToProductReferences, addToProductReferences, addToReadableCatalogVersions, addToReadableCatalogVersions, addToSupercategories, addToSupercategories, addToSupercategories, addToSupercategories, addToSyncJobs, addToSyncJobs, addToVariants, addToVariants, addToWritableCatalogVersions, addToWritableCatalogVersions, createAgreement, createAgreement, createAttributeValueAssignment, createAttributeValueAssignment, createCatalog, createCatalog, createCatalogUnawareMedia, createCatalogUnawareMedia, createCatalogVersion, createCatalogVersion, createCatalogVersionSyncCronJob, createCatalogVersionSyncCronJob, createCatalogVersionSyncCronJobHistory, createCatalogVersionSyncCronJobHistory, createCatalogVersionSyncJob, createCatalogVersionSyncJob, createCatalogVersionSyncScheduleMedia, createCatalogVersionSyncScheduleMedia, createCategory, createCategory, createCategoryCatalogVersionDifference, createCategoryCatalogVersionDifference, createClassAttributeAssignment, createClassAttributeAssignment, createClassificationAttribute, createClassificationAttribute, createClassificationAttributeUnit, createClassificationAttributeUnit, createClassificationAttributeValue, createClassificationAttributeValue, createClassificationClass, createClassificationClass, createClassificationKeyword, createClassificationKeyword, createClassificationSystem, createClassificationSystem, createClassificationSystemVersion, createClassificationSystemVersion, createCompany, createCompany, createCompareCatalogVersionsCronJob, createCompareCatalogVersionsCronJob, createCompareCatalogVersionsJob, createCompareCatalogVersionsJob, createConfigurationCategory, createConfigurationCategory, createItemSyncDescriptor, createItemSyncDescriptor, createItemSyncTimestamp, createItemSyncTimestamp, createKeyword, createKeyword, createPreviewTicket, createPreviewTicket, createProductCatalogVersionDifference, createProductCatalogVersionDifference, createProductFeature, createProductFeature, createProductReference, createProductReference, createRemoveCatalogVersionCronJob, createRemoveCatalogVersionCronJob, createRemoveCatalogVersionJob, createRemoveCatalogVersionJob, createSyncAttributeDescriptorConfig, createSyncAttributeDescriptorConfig, createSyncItemCronJob, createSyncItemCronJob, createSyncItemJob, createSyncItemJob, createVariantAttributeDescriptor, createVariantAttributeDescriptor, createVariantProduct, createVariantProduct, createVariantType, createVariantType, getAccessibleCategories, getAccessibleCategories, getAccessibleCategoriesCount, getAccessibleCategoriesCount, getAllArticleStatus, getAllArticleStatus, getAllBuyerIDS, getAllBuyerIDS, getAllClassificationIndexString, getAllKeywords, getAllKeywords, getAllManufacturerTypeDescription, getAllManufacturerTypeDescription, getAllRemarks, getAllRemarks, getAllSegment, getAllSegment, getAllSpecialTreatmentClasses, getAllSpecialTreatmentClasses, getApprovalStatus, getApprovalStatus, getArticleStatus, getArticleStatus, getCatalogVersion, getCatalogVersion, getCatalogVersion, getCatalogVersion, getCatalogVersion, getCatalogVersion, getCatalogVersionAttribute, getClassificationIndexString, getContentUnit, getContentUnit, getData_sheet, getData_sheet, getDefaultAttributeModes, getDeliveryTime, getDeliveryTime, getDeliveryTimeAsPrimitive, getDeliveryTimeAsPrimitive, getDetail, getDetail, getEan, getEan, getEndLineNumber, getEndLineNumber, getEndLineNumberAsPrimitive, getEndLineNumberAsPrimitive, getErpGroupBuyer, getErpGroupBuyer, getErpGroupSupplier, getErpGroupSupplier, getFeatures, getFeatures, getKeywords, getKeywords, getKeywordsCount, getKeywordsCount, getKeywordsCount, getKeywordsCount, getLogo, getLogo, getManufacturerAID, getManufacturerAID, getManufacturerName, getManufacturerName, getManufacturerTypeDescription, getManufacturerTypeDescription, getMaxOrderQuantity, getMaxOrderQuantity, getMaxOrderQuantityAsPrimitive, getMaxOrderQuantityAsPrimitive, getMinOrderQuantity, getMinOrderQuantity, getMinOrderQuantityAsPrimitive, getMinOrderQuantityAsPrimitive, getName, getNormal, getNormal, getNumberContentUnits, getNumberContentUnits, getNumberContentUnitsAsPrimitive, getNumberContentUnitsAsPrimitive, getOfflineDate, getOfflineDate, getOnlineDate, getOnlineDate, getOrder, getOrder, getOrderAsPrimitive, getOrderAsPrimitive, getOrderQuantityInterval, getOrderQuantityInterval, getOrderQuantityIntervalAsPrimitive, getOrderQuantityIntervalAsPrimitive, getOthers, getOthers, getPreviewCatalogVersions, getPreviewCatalogVersions, getPriceQuantity, getPriceQuantity, getPriceQuantityAsPrimitive, getPriceQuantityAsPrimitive, getProductInfos, getProductInfos, getProductReferences, getProductReferences, getPublicKey, getPublicKey, getReadableCatalogVersions, getReadableCatalogVersions, getReadableCatalogVersionsCount, getReadableCatalogVersionsCount, getRemarks, getRemarks, getRemarks, getRemarks, getSegment, getSegment, getStartLineNumber, getStartLineNumber, getStartLineNumberAsPrimitive, getStartLineNumberAsPrimitive, getSupercategories, getSupercategories, getSupercategories, getSupercategories, getSupercategoriesCount, getSupercategoriesCount, getSupercategoriesCount, getSupercategoriesCount, getSupplierAlternativeAID, getSupplierAlternativeAID, getSynchronizationSources, getSynchronizedCopies, getSyncJobs, getSyncJobs, getSyncJobsCount, getSyncJobsCount, getThumbnails, getThumbnails, getUrl, getUrl, getVariants, getVariants, getVariantType, getVariantType, getWritableCatalogVersions, getWritableCatalogVersions, getWritableCatalogVersionsCount, getWritableCatalogVersionsCount, getXmlcontent, getXmlcontent, isBillingAddress, isBillingAddress, isBillingAddressAsPrimitive, isBillingAddressAsPrimitive, isCatalogItemType, isCatalogItemTypeAsPrimitive, isCatalogItemTypeAsPrimitive, isContactAddress, isContactAddress, isContactAddressAsPrimitive, isContactAddressAsPrimitive, isDontCopy, isDontCopy, isDontCopyAsPrimitive, isDontCopyAsPrimitive, isShippingAddress, isShippingAddress, isShippingAddressAsPrimitive, isShippingAddressAsPrimitive, isUnloadingAddress, isUnloadingAddress, isUnloadingAddressAsPrimitive, isUnloadingAddressAsPrimitive, removeFromFeatures, removeFromFeatures, removeFromKeywords, removeFromKeywords, removeFromProductInfos, removeFromProductInfos, removeFromProductReferences, removeFromProductReferences, removeFromReadableCatalogVersions, removeFromReadableCatalogVersions, removeFromSupercategories, removeFromSupercategories, removeFromSupercategories, removeFromSupercategories, removeFromSyncJobs, removeFromSyncJobs, removeFromVariants, removeFromVariants, removeFromWritableCatalogVersions, removeFromWritableCatalogVersions, setAllArticleStatus, setAllArticleStatus, setAllBuyerIDS, setAllBuyerIDS, setAllKeywords, setAllKeywords, setAllManufacturerTypeDescription, setAllManufacturerTypeDescription, setAllRemarks, setAllRemarks, setAllSegment, setAllSegment, setAllSpecialTreatmentClasses, setAllSpecialTreatmentClasses, setApprovalStatus, setApprovalStatus, setArticleStatus, setArticleStatus, setBillingAddress, setBillingAddress, setBillingAddress, setBillingAddress, setCatalogItemType, setCatalogItemType, setCatalogItemType, setCatalogVersion, setCatalogVersion, setCatalogVersion, setCatalogVersion, setCatalogVersionAttribute, setContactAddress, setContactAddress, setContactAddress, setContactAddress, setContentUnit, setContentUnit, setData_sheet, setData_sheet, setDeliveryTime, setDeliveryTime, setDeliveryTime, setDeliveryTime, setDetail, setDetail, setDontCopy, setDontCopy, setDontCopy, setDontCopy, setEan, setEan, setEndLineNumber, setEndLineNumber, setEndLineNumber, setEndLineNumber, setErpGroupBuyer, setErpGroupBuyer, setErpGroupSupplier, setErpGroupSupplier, setFeatures, setFeatures, setKeywords, setKeywords, setLogo, setLogo, setManufacturerAID, setManufacturerAID, setManufacturerName, setManufacturerName, setManufacturerTypeDescription, setManufacturerTypeDescription, setMaxOrderQuantity, setMaxOrderQuantity, setMaxOrderQuantity, setMaxOrderQuantity, setMinOrderQuantity, setMinOrderQuantity, setMinOrderQuantity, setMinOrderQuantity, setNormal, setNormal, setNumberContentUnits, setNumberContentUnits, setNumberContentUnits, setNumberContentUnits, setOfflineDate, setOfflineDate, setOnlineDate, setOnlineDate, setOrder, setOrder, setOrder, setOrder, setOrderQuantityInterval, setOrderQuantityInterval, setOrderQuantityInterval, setOrderQuantityInterval, setOthers, setOthers, setPreviewCatalogVersions, setPreviewCatalogVersions, setPriceQuantity, setPriceQuantity, setPriceQuantity, setPriceQuantity, setProductInfos, setProductInfos, setProductReferences, setProductReferences, setPublicKey, setPublicKey, setReadableCatalogVersions, setRemarks, setRemarks, setRemarks, setRemarks, setSegment, setSegment, setShippingAddress, setShippingAddress, setShippingAddress, setShippingAddress, setStartLineNumber, setStartLineNumber, setStartLineNumber, setStartLineNumber, setSupercategories, setSupercategories, setSupercategories, setSupercategories, setSupplierAlternativeAID, setSupplierAlternativeAID, setSyncJobs, setSyncJobs, setThumbnails, setThumbnails, setUniqueKeyAttributes, setUnloadingAddress, setUnloadingAddress, setUnloadingAddress, setUnloadingAddress, setUrl, setUrl, setVariants, setVariants, setVariantType, setVariantType, setWritableCatalogVersions, setXmlcontent, setXmlcontentcreateSampleData, getCreatorDescription, getCreatorName, getCreatorParameterNames, getRemote, isCreatorDisabled, notifyInitializationStart, onFirstSessionCreation, writeReplaceafterItemCreation, destroy, extractNonRequiredRemoteFromItem, extractRequiredRemoteFromItem, getAllValuesSessionContext, getAttribute, getAttributeMap, getFirstItemByAttribute, getFirstItemByAttribute, getRemoteManagerClass, getSession, getSingletonManagerInstance, getTenant, getTransientObject, getTransientObjectMap, init, setAttribute, setTenant, setTransientObject, wrappublic static final java.lang.String MEDIA_CODE_DELIMITER
public static final java.lang.String DEFAULT_CATALOG_ID
public static final java.lang.String DEFAULT_CATALOG_NAME
public static final java.lang.String OFFLINE_VERSION
public static final java.lang.String ONLINE_VERSION
public static final java.lang.String DEFAULT_COMPANY_ID
public static final java.lang.String DEFAULT_COMPANY_NAME
@Deprecated public CategoryManager getCategoryManager()
CategoryManager.getInstance() only@Deprecated public VariantsManager getVariantsManager()
VariantsManager.getInstance() onlyprotected void checkBeforeItemRemoval(SessionContext ctx, Item item) throws ConsistencyCheckException
checkBeforeItemRemoval in class Extensionctx - the current session contextitem - the item which should be removedConsistencyCheckException - thrown to abort removal due to consistency errorsprotected void notifyItemRemoval(SessionContext ctx, Item item)
Product and ProductFeature
instances.notifyItemRemoval in class Extensionctx - the currency session contextitem - the item which is going to be removedpublic static CatalogManager getInstance()
@Deprecated public void setAllowedPrincipals(SessionContext ctx, Category cat, java.util.List<Principal> newOnes)
CategoryService.setAllowedPrincipalsForCategory(de.hybris.platform.category.model.CategoryModel, List)
instead.Category.DISABLE_SETALLOWEDPRINCIPAL_RECURSIVELY is set to true
the given principal list is only set to the given category.ctx - the SessionContextcat - the category where the principals is applied tonewOnes - the list with the new allowed principals of this categoryCategory.setAllowedPrincipals(de.hybris.platform.jalo.SessionContext,
java.util.List)public java.lang.String getMediaCode(java.lang.String catalogID,
java.lang.String catalogVersion,
java.lang.String mediaCode)
public Keyword createKeyword(CatalogVersion catalogVersion, java.lang.String keyword, Language lang)
Keyword for the given CatalogVersion and keyword value.catalogVersion - The CatalogVersion, the keyword will belong to.keyword - The keyword value.Keyword for the given CatalogVersion and keyword value.@Deprecated public Catalog getDefaultCatalog()
public Keyword getKeyword(CatalogVersion catalogVersion, java.lang.String keywordValue)
CatalogVersion.catalogVersion - The CatalogVersion the Keyword belongs to.keywordValue - The value of the searched Keyword.Keyword or null if there is no matching Keyword.public Keyword getKeyword(java.lang.String typeCode, CatalogVersion catalogVersion, java.lang.String keywordValue)
CatalogVersion.typeCode - of keyword to allow to search for subclassescatalogVersion - The CatalogVersion the Keyword belongs to.keywordValue - The value of the searched Keyword.Keyword or null if there is no matching Keyword.@Deprecated public Catalog createCatalog(java.lang.String id)
id - The id of the new Catalog.Catalog.public ClassificationSystem createClassificationSystem(java.lang.String id) throws ConsistencyCheckException
id - The id of the new ClassificationSystem.ClassificationSystem.ConsistencyCheckException@Deprecated public Catalog createCatalog(java.lang.String id, java.lang.String name, Company supplier)
id - The id of the new Catalog. The combination of supplier and id must be unique.name - The localized name of the Catalog. The current session language is used to set this
localized value.supplier - The supplier of this Catalog.Catalog.@Deprecated public CatalogVersion createCatalogVersion(Catalog catalog, java.lang.String version, Language importLanguage)
CatalogVersion with the given version string and import language for the specified
Catalog.catalog - The Catalog for which the new version is created. This value must not be null.version - The version string. This value can not be null.importLanguage - The inital Language of this catalog version. This value must not be null.CatalogVersion.public ClassificationSystemVersion createClassificationSystemVersion(ClassificationSystem system, java.lang.String version, Language importLanguage) throws ConsistencyCheckException
ConsistencyCheckExceptionpublic ClassificationSystemVersion createClassificationSystemVersion(ClassificationSystem system, java.lang.String version, java.util.Collection<Language> languages) throws ConsistencyCheckException
ConsistencyCheckException@Deprecated public Agreement createAgreement(java.lang.String id, java.util.Date startDate, java.util.Date endDate)
Agreement with the given id, start- and enddate.id - The id of this Agreement. This value must not be null.startDate - The start date of this Agreement.endDate - The end date of this Agreement. This value must not be null.@Deprecated public Agreement createAgreement(CatalogVersion catalogVersion, java.lang.String id, java.util.Date startDate, java.util.Date endDate)
Agreement for the specified CatalogVersion with the given id, start- and
enddate.catalogVersion - The CatalogVersion this Agreement belongs to. This value must not be null.id - The id of this Agreement. This value must not be null.startDate - The start date of this Agreement.endDate - The end date of this Agreement. This value must not be null.@Deprecated public ProductReference createProductReference(java.lang.String qualifier, Product source, Product target, java.lang.Integer quantity)
ProductReference for the specified parameter values.qualifier - the reference qualifier. This value must not be null.source - the source producttarget - the target productquantity - @Deprecated public java.util.Collection<ProductReference> getProductReferences(java.lang.String qualifier, Product source, Product target, java.lang.Integer quantity, boolean forceQuantitySearch)
qualifier - source - target - quantity - forceQuantitySearch - specifies search behavior for the case that quantity is null. If false it means that all items with any
quantity will be returned - if true only items with quantity == null will be returned@Deprecated public java.util.Collection<ProductReference> getProductReferences(java.lang.String qualifier, Product source, Product target)
@Deprecated public Catalog getCatalog(java.lang.String catalogID)
Catalog for the specified supplier and ID.catalogID - The id of the searched Catalog.Catalog or null if there is no matching Catalog.public ClassificationSystem getClassificationSystem(java.lang.String classificationSystemId)
ClassificationSystem for the specified id.classificationSystemId - The id of the searched ClassificationSystem.ClassificationSystem or null if there is no matching
ClassificationSystem.public ClassificationClass getClassificationClass(java.lang.String systemName, java.lang.String versionName, java.lang.String classID)
systemName - versionName - classID - public java.util.List<ClassificationClass> getClassificationClasses(Product product)
public java.util.List<ClassificationClass> getClassificationClasses(SessionContext ctx, Product product)
public java.util.List<ClassificationClass> getClassificationClasses(ClassificationSystemVersion systemVersion, Product product)
public java.util.List<ClassificationClass> getClassificationClasses(java.util.Collection<ClassificationSystemVersion> systemVersions, Product product)
public java.util.List<ClassificationClass> getClassificationClasses(Category src)
public java.util.List<ClassificationClass> getClassificationClasses(ClassificationSystemVersion systemVersion, Category src)
public java.util.List<ClassificationClass> getClassificationClasses(java.util.Collection<ClassificationSystemVersion> systemVersions, Category src)
@Deprecated public Catalog getCatalog(java.lang.String supplierUID, java.lang.String catalogID)
Catalog with the provided id of Supplier specified by his UID. If either the is no
Company with the provided UID or no Catalog for the combination of catalog id and
supplier null is returned.supplierUID - The UID of the supplier.catalogID - The ID of the searched Catalog.Catalog or null if no Catalog matches the provided
supplier and catalog id.@Deprecated public Catalog getCatalog(Company supplier, java.lang.String catalogID)
Catalog for the specified supplier and catalogID.supplier - The supplier of the searched catalog.catalogID - The id of the searched Catalog.Catalog or null if there is no matching Catalog.@Deprecated public Category getCatalogCategory(CatalogVersion catalogVersion, java.lang.String code)
CategoryService.getCategoryForCode(de.hybris.platform.catalog.model.CatalogVersionModel, String)
instead.CatalogCategory for the specified CatalogVersion and catalog code.catalogVersion - The CatalogVersion the CatalogCategory should belong to.code - The code of the searched category.CatalogCategory or null, if no matching CatalogCategory exists.@Deprecated public java.util.Collection<Category> getAllCatalogCategories(CatalogVersion catalogVersion)
CategoryService instead.CatalogVersioncatalogVersion - The CatalogVersion the CatalogCategory should belong to.@Deprecated public Company getCompanyByUID(java.lang.String uid)
Company with the specified UID. If no Company can be found with the
specified UID, null is returned.uid - The UID of the searched Company.Company with the specified UID or null if there exists no
Company with the specified UID.@Deprecated public Company createCompany(java.lang.String uid)
Company with the given uid. By default the value of uid is also used as the name of the
Company.uid - The uid of the Company. The uid must be unique within all companies.Company.@Deprecated public Category createCatalogCategory(CatalogVersion catalogVersion, java.lang.String code, java.lang.String name, java.lang.String description, java.lang.Integer order, java.util.Collection keywords, Category parent)
catalogVersion - The CatalogVersion, this category belongs to. null is not a valid value.code - The unique code of this category. (Unique within this CatalogVersion).null is
not a valid value.name - The localized name of this category. The Language of the current session is used to set
this localized value.description - The localized description of this category. The Language of the current session is used to
set this localized value.order - This order can be used to define an order of the subcategories of an CatalogCategory.keywords - Collection containing all Keyword s which are associated with the
CatalogCategory.parent - The parent CatalogCategory instance of this new CatalogCategory.@Deprecated public void setCatalogVersion(SessionContext ctx, Product product, CatalogVersion version)
setCatalogVersion in class GeneratedCatalogManagerversion - the catalogVersion@Deprecated public void setCatalogVersion(SessionContext ctx, Category cat, CatalogVersion catver)
@Deprecated public void setCatalogVersion(SessionContext ctx, Media media, CatalogVersion version)
setCatalogVersion in class GeneratedCatalogManagerversion - the catalogVersion@Deprecated public void setSessionCatalogVersions(java.util.Collection<CatalogVersion> versions)
These versions are evaluated by the catalog search restrictions. Those restrictions will take effect only if they apply to the session user!
versions - the versions collection@Deprecated public void setSessionCatalogVersions(SessionContext ctx, java.util.Collection<CatalogVersion> versions)
These versions are evaluated by the catalog search restrictions. Those restrictions will take effect only if they apply to the session user!
ctx - the jalo session context to change catalog versions forversions - the versions collection@Deprecated public boolean isActivatingPreviewMode(JaloSession jalosession)
@Deprecated public boolean isActivatingPreviewMode(SessionContext ctx)
@Deprecated public java.util.Collection<CatalogVersion> getSessionCatalogVersions(JaloSession jalosession)
These versions are evaluated by the catalog search restrictions. Those restrictions will take effect only if they apply to the session user!
jalosession - the jalo session to get the catalog versions from@Deprecated public java.util.Collection<CatalogVersion> getSessionCatalogVersions(SessionContext ctx)
These versions are evaluated by the catalog search restrictions. Those restrictions will take effect only if they apply to the session user!
ctx - the session contex to evaluate@Deprecated public java.util.Collection<CatalogVersion> getAvailableCatalogVersions(JaloSession jalosession)
jalosession - the jalo session to get all available versions forpublic void createCatalogSyncMediaFolder()
public MediaFolder getCatalogSyncMediaFolder()
public void notifyInitializationEnd(java.util.Map<java.lang.String,java.lang.String> params,
JspContext ctx)
throws java.lang.Exception
notifyInitializationEnd in class Extensionjava.lang.Exceptionpublic void createSavedQueries(JspContext jspc)
protected java.io.InputStream getZipEntryInputStream(java.util.zip.ZipFile zipfile,
java.lang.String entryName)
throws java.io.IOException
java.io.IOExceptionprotected ImpExMedia getBatchMedia(java.lang.String fileName, java.lang.String fileExt) throws java.io.IOException, JaloBusinessException
java.io.IOExceptionJaloBusinessExceptionprotected ImpExMedia createBatchMedia(java.lang.String fileName, java.lang.String mime, java.io.InputStream istr)
@Deprecated public ClassificationAttribute getClassificationAttribute(java.lang.String code, ClassificationSystemVersion version) throws JaloItemNotFoundException
Item.getAttribute(String) insteadJaloItemNotFoundException@Deprecated public ClassificationAttributeValue getClassificationAttributeValue(java.lang.String code, ClassificationSystemVersion version)
ClassificationSystemVersion.getClassificationAttributeValue(String) insteadpublic java.util.Collection<Category> getCategoriesByProduct(CatalogVersion catver, Product product, SessionContext ctx)
public java.util.Collection<Category> getCategoriesByProduct(CatalogVersion catver, Product product)
@Deprecated public java.util.Collection<Link> getCategoryProductLinks(CatalogVersion catalogVersion, Category category, Product product)
public Product getProductByCatalogVersion(CatalogVersion catalogVersion, java.lang.String productCode)
public java.util.Collection<VariantProduct> getVariants(SessionContext ctx, Product baseProduct, CatalogVersion catalogVersion)
@Deprecated public java.util.Collection<Product> getCategoryProductsByState(SessionContext ctx, Category category, boolean offline)
ProductService.getOfflineProductsForCategory(de.hybris.platform.category.model.CategoryModel)
and
) instead.@Deprecated public java.util.List<ProductFeature> getUntypedFeatures(Product item)
FeatureContainer.loadUntyped(Product) instead@Deprecated public java.util.List<ProductFeature> getUntypedFeatures(SessionContext ctx, Product prod)
FeatureContainer.loadUntyped(Product) insteadClassificationAttribute.ctx - prod - public void setUntypedFeatures(SessionContext ctx, Product product, java.util.List<ProductFeature> features)
@Deprecated public java.util.Set<Catalog> getAllCatalogs()
@Deprecated public java.util.Set<CatalogVersion> getAllCatalogVersions()
public java.util.Set<ClassificationSystem> getAllClassificationSystems()
@Deprecated public java.util.Set<ClassificationSystemVersion> getAllClassificationSystemVersions()
@Deprecated public Language getLanguageIfExists(java.lang.String isoCode)
public void createUsersAndGroupsAndRights()
throws java.lang.Exception
java.lang.Exceptionpublic boolean createDefaultCatalog(JspContext jspc) throws java.lang.Exception
java.lang.Exceptionpublic void configureDefaultSynchronization(JspContext jspc)
public SyncItemJob getSyncJobFromSource(CatalogVersion source)
public SyncItemJob getSyncJob(CatalogVersion source, CatalogVersion target)
public SyncItemJob getSyncJob(CatalogVersion source, CatalogVersion target, java.lang.String qualifier)
public SyncItemJob configureSynchronizationJob(java.lang.String code, Catalog catalog, java.lang.String sourceVersion, java.lang.String targetVersion, boolean createNewItems, boolean removeMissingItems)
SyncItemJob item) between a specified source catalog version and target
catalog version with a given catalog.
If no such item exists a new one is being created.
code - the code of the publication rulecatalog - the catalog to search source and target version withinsourceVersion - the source version qualifiertargetVersion - the target version qualifiercreateNewItems - whether or not the publication should create items which are missing in target versionremoveMissingItems - whether or not the publication should remove items which exist in target version onlyprotected SyncItemJob newDefaultSyncJobInstance(java.util.Map attributes)
public java.lang.String getCreatorParameterDefault(java.lang.String param)
ExtensiongetCreatorParameterDefault in class Extensionparam - the name of the parameternull when the parameter should have no
default valuepublic java.util.List<java.lang.String> getCreatorParameterPossibleValues(java.lang.String param)
Extensionnull the list of these values will be shown to the user of system creator and no other values will be
possible to set.getCreatorParameterPossibleValues in class Extensionparam - the name of the parameternull when this parameter
should have no restriction of possible valuespublic java.lang.String getTypeQualifier(Address address)
public java.lang.String getTypeQualifier(SessionContext ctx, Address address)
@Deprecated public void setApprovalStatus(Category cat, EnumerationValue status, boolean recursively, boolean asTransaction)
cat - the category which products are changedstatus - the new approval statusrecursively - if true products of all subcategories are changed tooasTransaction - if true the whole operation is wrapped inside a transaction - for large category structures
this may exceed the transaction timeout and should be disabled in that casepublic java.util.Date getLastSyncModifiedTime(SyncItemJob job, Item src, Item copy)
public Item getSynchronizedCopy(Item source, SyncItemJob sij)
protected void removeProductReferencesFor(SessionContext ctx, Product prod)
protected void removeSyncTimestampsFor(SessionContext ctx, CatalogVersion catver)
protected void removeSyncTimestampsFor(SessionContext ctx, Item forItem)
public java.util.Map<PK,ItemSyncTimestamp> getSyncTimestampMap(Item source, SyncItemJob sij)
public ItemSyncTimestamp createSyncTimestamp(SyncItemJob job, Item source, Item copy)
public ItemSyncTimestamp createSyncTimestamp(SyncItemJob job, Item source, PK copy)
public java.util.List<ItemSyncTimestamp> getSynchronizedCopies(SessionContext ctx, Item source)
getSynchronizedCopies in class GeneratedCatalogManagerpublic java.util.List<ItemSyncTimestamp> getSynchronizationSources(SessionContext ctx, Item target)
GeneratedCatalogManagerItem.synchronizationSources attribute.getSynchronizationSources in class GeneratedCatalogManagerpublic ProductCatalogVersionDifference createProductCatalogVersionDifference(CatalogVersion sourceVersion, CatalogVersion targetVersion, CronJob cronJob, Product srcProduct, Product targetProduct, EnumerationValue mode)
@Deprecated public CategoryCatalogVersionDifference createCategoryCatalogVersionDifference(CatalogVersion sourceVersion, CatalogVersion targetVersion, CronJob cronJob, Category srcCategory, Category targetCategory, EnumerationValue mode)
public CompareCatalogVersionsCronJob createDefaultCompareCatalogVersionCronJob(CatalogVersion source, CatalogVersion target, Customer priceCompareCustomer, java.lang.Double tolerance, java.lang.Boolean searchMissingProducts, java.lang.Boolean searchMissingCategories, java.lang.Boolean searchNewProducts, java.lang.Boolean searchNewCategories, java.lang.Boolean searchPriceDiffs, java.lang.Boolean overwriteStatus)
public CompareCatalogVersionsJob getOrCreateDefaultCompareCatalogVersionJob()
public RemoveCatalogVersionJob getOrCreateDefaultRemoveCatalogVersionJob()
@Deprecated public java.util.Set<ComposedType> getAllCatalogItemRootTypes()
@Deprecated public java.util.Set<ComposedType> getAllCatalogItemTypes()
@Deprecated public boolean isCatalogItem(Item item)
Product,
Categoryand Media. Optionally any item which jalo class implements CatalogItemis
considered as catalog item.@Deprecated public boolean isCatalogItem(ComposedType comptyp)
Product,
Categoryand Media. Optionally any item which jalo class implements CatalogItemis
considered as catalog item.@Deprecated public java.lang.Boolean isCatalogItemType(SessionContext ctx, ComposedType item)
isCatalogItem(ComposedType) instead.GeneratedCatalogConstants.Attributes.ComposedType.CATALOGITEMTYPE
flag are considered as catalog contained types but also all of their subtypes (unless the flag has been
explicitely deactivated).isCatalogItemType in class GeneratedCatalogManager@Deprecated public boolean isCatalogItem(java.lang.Class itemclass)
isCatalogItem(ComposedType) insteadProduct,Categoryand Media. Optionally any class which implements CatalogItemis
considered as catalog item.@Deprecated public void setCatalogItemType(SessionContext ctx, ComposedType item, java.lang.Boolean param)
GeneratedCatalogManagerComposedType.catalogItemType attribute.setCatalogItemType in class GeneratedCatalogManagerparam - the catalogItemTypeprotected void checkCatalogItemTypeAttributeDescriptor(ComposedType comptyp, AttributeDescriptor atrdesc, boolean forVersion) throws JaloInvalidParameterException
comptyp - the composedTypeatrdesc - the AttributeDescriptorforVersion - true or falseJaloInvalidParameterException - thrown by errorssetCatalogVersionAttribute(SessionContext, ComposedType, AttributeDescriptor),
setUniqueKeyAttributes(SessionContext, ComposedType, Collection)@Deprecated public CatalogVersion getCatalogVersion(Item item)
JaloInvalidParameterException - if the item is no catalog item or its type does not provide a catalog version attributeisCatalogItem(Item)@Deprecated public CatalogVersion getCatalogVersion(SessionContext ctx, Item item) throws JaloInvalidParameterException
JaloInvalidParameterException - if the item is no catalog item or its type does not provide a catalog version attributeisCatalogItem(Item)@Deprecated public Item getCounterpartItem(Item sourceItem, CatalogVersion targetVersion) throws JaloInvalidParameterException
unique key attribute is required to find this item.
Please note that this method does not check if the source item has been synchronized and a
ItemSyncTimestamp exists. Use
getSynchronizedCopy(Item, SyncItemJob) to locate a existing
synchronized item.
sourceItem - the source item to locate the counterparttargetVersion - the target version to search withinnull if no such item existJaloInvalidParameterException - if either no unique key attribute is available, the attribute is not searchable or the source item is
no instance of this type@Deprecated public Item getCounterpartItem(SessionContext ctx, Item sourceItem, CatalogVersion targetVersion) throws JaloInvalidParameterException
unique key attribute is required to find this item.
Please note that this method does not check if the source item has been synchronized and a
ItemSyncTimestamp exists. Use
getSynchronizedCopy(Item, SyncItemJob) to locate a existing
synchronized item.
ctx - the session contextsourceItem - the source item to locate the counterparttargetVersion - the target version to search withinnull if no such item existJaloInvalidParameterException - if either no unique key attribute is available, the attribute is not searchable or the source item is
no instance of this typepublic java.lang.String getCatalogItemID(Item catalogItem) throws JaloInvalidParameterException
CatalogItem.catalogItem - JaloInvalidParameterException - in case the item is no supported catalog itempublic AttributeDescriptor getCatalogVersionAttribute(SessionContext ctx, ComposedType type)
GeneratedCatalogManagerComposedType.catalogVersionAttribute attribute.getCatalogVersionAttribute in class GeneratedCatalogManagerpublic void setCatalogVersionAttribute(SessionContext ctx, ComposedType item, AttributeDescriptor attrdesc)
GeneratedCatalogManagerComposedType.catalogVersionAttribute attribute.setCatalogVersionAttribute in class GeneratedCatalogManagerattrdesc - the catalogVersionAttributepublic java.util.Collection<AttributeDescriptor> getUniqueKeyAttributes(ComposedType item)
GeneratedCatalogManagerComposedType.uniqueKeyAttributes attribute.getUniqueKeyAttributes in class GeneratedCatalogManager@Deprecated public boolean hasUniqueKeyAttributes(ComposedType comptyp)
@Deprecated public java.util.Collection<AttributeDescriptor> getUniqueKeyAttributes(SessionContext ctx, ComposedType item)
GeneratedCatalogManagerComposedType.uniqueKeyAttributes attribute.getUniqueKeyAttributes in class GeneratedCatalogManager@Deprecated public java.util.Set<java.lang.String> getUniqueKeyAttributeQualifiers(ComposedType comptyp)
comptyp - public void setUniqueKeyAttributes(SessionContext ctx, ComposedType item, java.util.Collection<AttributeDescriptor> value)
GeneratedCatalogManagerComposedType.uniqueKeyAttributes attribute.setUniqueKeyAttributes in class GeneratedCatalogManagervalue - the uniqueKeyAttributespublic static Item getOldest(java.util.Collection items)
public static final java.lang.Object getFirstOne(java.util.Collection coll)
coll - the collection to get the first element fromprotected Product findInCatalogVersion(CatalogVersion ver, Product original)
@Deprecated protected Category findInCatalogVersion(CatalogVersion ver, Category original)
protected Media findInCatalogVersion(CatalogVersion ver, Media original)
public static boolean mustSetCatalogVersions(JaloSession jaloSession, HttpServletRequest req)
protected java.util.Collection filterByURL(HttpServletRequest request,
java.util.Collection allActiveVersions)
public PreviewTicket createPreviewTicket(CatalogVersion version)
public PreviewTicket createPreviewTicket(CatalogVersion version, User createdBy, java.util.Date validTo)
protected java.util.Collection<PreviewTicket> collectPreviewTicketVersions(HttpServletRequest request, JaloSession jaloSession)
protected void assignCatalogVersions(HttpServletRequest request,
JaloSession jaloSession,
java.util.Collection<CatalogVersion> versions,
boolean previewMode)
public void doPreRequest(HttpServletRequest request,
HttpServletResponse response)
doPreRequest in interface WebRequestInterceptorpublic void doPostRequest(HttpServletRequest request,
HttpServletResponse response)
doPostRequest in interface WebRequestInterceptorpublic boolean canSync(SessionContext ctx, User sessionUser, SyncItemJob sync)
Checks the write permissions of the assigned user Following checks will be executed:
ctx - sessionUser - sync - public boolean canWrite(SessionContext ctx, User sessionUser, CatalogVersion catalogVersion)
public boolean canRead(SessionContext ctx, User sessionUser, CatalogVersion catalogVersion)
@Deprecated public java.util.Collection<CatalogVersion> getAllWriteableCatalogVersions(User user)
@Deprecated public java.util.Collection<CatalogVersion> getAllWriteableCatalogVersions(SessionContext ctx, User user)
@Deprecated public java.util.Collection<CatalogVersion> getAllReadableCatalogVersions(SessionContext ctx, User user)
public void addToCatalogReadersAndWriters()
@Deprecated public int getTotalObjectsCount(Catalog catalog)
@Deprecated public int getTotalObjectsCount(CatalogVersion version)
public boolean isEditorUser(User user)
public boolean isEditable(Item item, AttributeDescriptor descriptor)
Extension.RightsProviderisEditable in interface Extension.RightsProvideritem - the item instance whose attribute will be showndescriptor - attribute which will be shown@Deprecated public java.util.Set<Language> getRestrictedLanguages(Item item)
Product or Category then this method will return a set of restricted
languages based on the languages in the product's (or category's) CatalogVersion.getRestrictedLanguages in interface Extension.RestrictedLanguagesProviderpublic void createProjectData(java.util.Map params,
JspContext jspc)
createProjectData in class Extensionpublic java.lang.String getClassificationIndexString(SessionContext ctx, Product prod)
GeneratedCatalogManagerProduct.classificationIndexString attribute.getClassificationIndexString in class GeneratedCatalogManagerpublic java.util.Map<Language,java.lang.String> getAllClassificationIndexString(SessionContext ctx, Product item)
GeneratedCatalogManagerProduct.classificationIndexString attribute.getAllClassificationIndexString in class GeneratedCatalogManager@Deprecated public java.lang.String getCatalogVersionAttributeQualifier(ComposedType item)
@Deprecated public void setReadableCatalogVersions(SessionContext ctx, Principal principal, java.util.List<CatalogVersion> value)
GeneratedCatalogManagerPrincipal.readableCatalogVersions attribute.setReadableCatalogVersions in class GeneratedCatalogManagervalue - the readableCatalogVersions@Deprecated public void setWritableCatalogVersions(SessionContext ctx, Principal principal, java.util.List<CatalogVersion> value)
PrincipalModel.setWritableCatalogVersions(List) instead.CatalogVersion.setWritePrincipals(SessionContext, List) which adds catalog
versions to readable versions list as well whenever versions are set as writable versions.setWritableCatalogVersions in class GeneratedCatalogManagervalue - the writableCatalogVersions@Deprecated public java.util.Map<Language,java.util.List<Keyword>> getAllKeywords(SessionContext ctx, Category item)
Keywords linked to given category. The links are managed by the Category2KeywordRelation which is
a localized relation, so you get a map holding a list of keywords for each language.ctx - session contextitem - category for which all linked keywords are neededLanguage to list of Keywords holding for each language the list of
keywords linked to given category.protected java.lang.String generateDuplicateQuery(java.lang.Class jaloClass)
jaloClass - result classpublic java.util.List<Principal> getAllowedPrincipals(SessionContext ctx, Category item)
public long getAllowedPrincipalsCount(SessionContext ctx, Category item)
public long getAllowedPrincipalsCount(Category item)
public void setAllowedPrincipalsOnlyForGivenCategory(SessionContext ctx, Category item, java.util.List<Principal> value)
public void setAllowedPrincipals(Category item, java.util.List<Principal> value)
public void addToAllowedPrincipals(SessionContext ctx, Category item, Principal value)
public void removeFromAllowedPrincipals(SessionContext ctx, Category item, Principal value)
public CatalogVersion getCatalogVersion(SessionContext ctx, Category item)
public CatalogVersion getCatalogVersion(Category item)
public void setCatalogVersion(Category item, CatalogVersion value)
public java.util.Collection<Media> getData_sheet(SessionContext ctx, Category item)
public void setData_sheet(SessionContext ctx, Category item, java.util.Collection<Media> value)
public java.lang.String getDescription(SessionContext ctx, Category item)
public java.lang.String getDescription(Category item)
public java.util.Map<Language,java.lang.String> getAllDescription(SessionContext ctx, Category item)
public void setDescription(SessionContext ctx, Category item, java.lang.String value)
public void setDescription(Category item, java.lang.String value)
public void setAllDescription(SessionContext ctx, Category item, java.util.Map<Language,java.lang.String> value)
public void setAllDescription(Category item, java.util.Map<Language,java.lang.String> value)
public java.util.Collection<Media> getDetail(SessionContext ctx, Category item)
public void setDetail(SessionContext ctx, Category item, java.util.Collection<Media> value)
public java.util.List<Keyword> getKeywords(SessionContext ctx, Category item)
public long getKeywordsCount(SessionContext ctx, Category item, Language lang)
public long getKeywordsCount(SessionContext ctx, Category item)
public long getKeywordsCount(Category item)
public void setKeywords(SessionContext ctx, Category item, java.util.List<Keyword> value)
public void setAllKeywords(SessionContext ctx, Category item, java.util.Map<Language,java.util.List<Keyword>> value)
public void setAllKeywords(Category item, java.util.Map<Language,java.util.List<Keyword>> value)
public void addToKeywords(SessionContext ctx, Category item, Language lang, Keyword value)
public void removeFromKeywords(SessionContext ctx, Category item, Language lang, Keyword value)
public java.util.Collection<Media> getLogo(SessionContext ctx, Category item)
public void setLogo(SessionContext ctx, Category item, java.util.Collection<Media> value)
public java.util.Collection<Media> getNormal(SessionContext ctx, Category item)
public void setNormal(SessionContext ctx, Category item, java.util.Collection<Media> value)
public java.lang.Integer getOrder(SessionContext ctx, Category item)
public java.lang.Integer getOrder(Category item)
public int getOrderAsPrimitive(SessionContext ctx, Category item)
public int getOrderAsPrimitive(Category item)
public void setOrder(SessionContext ctx, Category item, java.lang.Integer value)
public void setOrder(Category item, java.lang.Integer value)
public void setOrder(SessionContext ctx, Category item, int value)
public void setOrder(Category item, int value)
public java.util.Collection<Media> getOthers(SessionContext ctx, Category item)
public void setOthers(SessionContext ctx, Category item, java.util.Collection<Media> value)
public java.util.Collection<Media> getThumbnails(SessionContext ctx, Category item)
public void setThumbnails(SessionContext ctx, Category item, java.util.Collection<Media> value)
public static java.lang.Boolean isSyncInProgress(SessionContext ctx)
public static boolean isSyncInProgressAsPrimitive(SessionContext ctx)
public java.util.List<ComposedType> getDefaultRootTypes()
public void createEssentialData(java.util.Map params,
JspContext jspc)
throws java.lang.Exception
createEssentialData in class Extensionjava.lang.Exceptionpublic void beforeItemCreation(SessionContext ctx, ComposedType type, Item.ItemAttributeMap attributes) throws JaloBusinessException
ManagerbeforeItemCreation in class Managerctx - the currency session contexttype - the type of the item which will be createdattributes - the attribute values to be used for creationJaloBusinessException
This method does nothing and may be overridden.
CAUTION: This method will be called inside a transaction !!!
Copyright © 2018 SAP SE. All Rights Reserved.