Related Documents
Document Properties
Kbid
2V9875
Last Modified
24-Jun-2021
Added to KB
19-May-2021
Public Access
Everyone
Status
Online
Doc Type
Guidelines, Concepts & Cookbooks
Product
ICM 7.10

Guide - 7.10.32.0 Removal of Deprecated Code of bc_pmc

1 Introduction

Some features that were marked as deprecated in older versions of Intershop Commerce Management have been removed in this release. These are mainly methods that are part of the CMS and have been deprecated since at least 7.4.

If there are any compile errors with customizations after migrating to 7.10.32, the replacements should be listed here.

Target Group: Customers / partners who migrate from 7.8 or lower to 7.10.32+

2 Migration Steps

2.1 Slot.java

Deprecated MethodDeprecated sinceReplacement
Iterator getSlotSubPageletAssignments(Domain domain)7.0getSortedSlotSubPageletAssignmentPOs(Domain domain)
Iterator getSortedSlotSubPageletAssignments(Domain domain)7.0getSortedSlotSubPageletAssignmentPOs(Domain domain)
Iterator getSortedSlotSubPageletAssignments()7.0

getSortedSlotSubPageletAssignmentPOs(Domain domain)

Note: you can get the Domain by Slot.getDomain()

Iterator getSubPagelets(Domain domain, Boolean staticContext)7.0getPagelets(Domain domain)
Iterator getSubPagelets(Date date, Boolean staticContext)7.0

getPagelets(Date date,Domain domain)

Note: you can get the Domain by Slot.getDomain()

Iterator getSubPagelets(Date date, Domain domain, Boolean staticContext)7.0getPagelets(Date date, Domain domain)
Iterator getSubPagelets(Boolean staticContext)7.0getPagelets(Domain domain)

Note: you can get the Domain by Slot.getDomain()

boolean isHidden(Domain domain)7.8Replaced by Overriding Placeholder Concept
void setHidden(boolean hiddenFlag, Domain domain)7.8Replaced by Overriding Placeholder Concept
void setReadOnly(boolean readOnlyFlag, Domain domain)7.8Replaced by Overriding Placeholder Concept
boolean isReadOnly(Domain domain)7.8Replaced by Overriding Placeholder Concept
boolean isHideable()7.8Replaced by Overriding Placeholder Concept
void setHideable(boolean aFlag)7.8Replaced by Overriding Placeholder Concept

2.2 ContentEntryPoint.java

Deprecated MethodDeprecated sinceReplacement
void disableSorting()7.0No replacement, since the functionality is removed since 7.0
void enableSorting()7.0No replacement, since the functionality is removed since 7.0
boolean isSortingEnabled()7.0No replacement, since the functionality is removed since 7.0

2.3 PageletEntryPoint.java

Deprecated MethodDeprecated sinceReplacement
boolean hasParent(Domain domain)7.2boolean hasParent(Domain domain, PageletModelRepository pmr)
PageletEntryPoint getParentPageletEntryPoint(Domain domain)7.2PageletEntryPoint getParentPageletEntryPoint(Domain domain, PageletModelRepository pmr)
boolean hasSubPageletEntryPoints(Domain domain)7.2boolean hasSubPageletEntryPoints(Domain domain, PageletModelRepository pmr)
Collection getSubPageletEntryPoints(Domain domain)7.2Collection getSubPageletEntryPoints(Domain domain, PageletModelRepository pmr)

2.4 SlotPageletAssignment

Deprecated MethodDeprecated sinceReplacement

Slot getParentSlot()

7.2getTo

Pagelet getSubPagelet()

7.2getFrom or getPagelet

2.5 PageletEntryPointAssignment

Deprecated MethodDeprecated sinceReplacement
ContextObjectRelation getContextObjectRelation()7.2getModelElement().getContextObjectRelation()

2.6 Other

  • Pagelet UpdateSlotVisibility  was removed without replacement.
  • onEdit is no longer a property of the PageletDefinition, since this functionality was not used since 7.4

Disclaimer

The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.

Customer Support
Knowledge Base
Product Resources
Tickets