Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9169689
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T15:54:48+00:00 2026-06-17T15:54:48+00:00

I’m trying to grasp the newer programming model (non Access Bean). In WebSphere Commerce

  • 0

I’m trying to grasp the newer programming model (non Access Bean).

In WebSphere Commerce 7 FEP 5, how do I work out the structure of the object retrieved from the GetData tags?

For example in the snippet below, how would I know what the data structure of catalogEntryDetails is? Class Name, methods etc.?

Also could someone explain where the “metaData” field came from? Should that be in the noun definition, or is it something that’s set in code at the mediator layer? I couldn’t see a reference to it as an immediate field in the noun definition….

<c:forEach var="metadata" items="${catalogEntryDetails.metaData}" varStatus="status2">
    <c:if test="${metadata.key == 'ThumbnailPath'}">
        <c:set var="thumbNail" value="${env_imageContextPath}/${metadata.value}" />
    </c:if>         
    <c:if test="${metadata.key == 'FullImagePath'}">
        <c:set var="fullImage" value="${metadata.value}" />
    </c:if>
</c:forEach>

catalogEntryDetails object is set from this snippet:

<c:if test="${!empty productId}">
    <%-- Try to get it from our internal hashMap --%>
    <c:set var="key1" value="${productId}+getCatalogEntryViewAllByID"/>
    <c:set var="catalogEntryDetails" value="${cachedCatalogEntryDetailsMap[key1]}"/>
    <c:if test="${empty catalogEntryDetails}">
        <wcf:getData type="com.ibm.commerce.catalog.facade.datatypes.CatalogNavigationViewType" var="catalogNavigationView" 
            expressionBuilder="getCatalogEntryViewAllByID" varShowVerb="showCatalogNavigationView" maxItems="1" recordSetStartNumber="0">
            <wcf:param name="UniqueID" value="${productId}"/>
            <wcf:contextData name="storeId" data="${storeId}" />
            <wcf:contextData name="catalogId" data="${catalogId}" />
        </wcf:getData>
        <wcf:set target = "${cachedCatalogEntryDetailsMap}" key="${key1}" value="${catalogNavigationView.catalogEntryView[0]}"/>
    </c:if>
</c:if>

<c:if test="${empty productId && !empty WCParam.partNumber}">
        <c:set var="key1" value="${WCParam.partNumber}+getCatalogEntryViewAllByPartnumber"/>
        <c:set var="catalogEntryDetails" value="${cachedCatalogEntryDetailsMap[key1]}"/>
        <c:if test="${empty catalogEntryDetails}">
            <wcf:getData type="com.ibm.commerce.catalog.facade.datatypes.CatalogNavigationViewType" var="catalogNavigationView" 
                expressionBuilder="getCatalogEntryViewAllByPartnumber" varShowVerb="showCatalogNavigationView" maxItems="1" recordSetStartNumber="0">
                <wcf:param name="PartNumber" value="${WCParam.partNumber}" />
                <wcf:contextData name="storeId" data="${storeId}" />
                <wcf:contextData name="catalogId" data="${catalogId}" />
            </wcf:getData>
            <c:set var="catalogEntryDetails" value="${catalogNavigationView.catalogEntryView[0]}"/>
            <wcf:set target = "${cachedCatalogEntryDetailsMap}" key="${key1}" value="${catalogNavigationView.catalogEntryView[0]}"/>
        </c:if>
</c:if>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T15:54:49+00:00Added an answer on June 17, 2026 at 3:54 pm

    The best you can do – examine IBM Infocenter. wcf:GetData docs tell us that retrieved result is specified by “type” parameter. In your case it’s “com.ibm.commerce.catalog.facade.datatypes.CatalogNavigationViewType”. Once again open docs for CatalogNavigationViewType. Docs tell us that it’s method getCatalogEntryView():

    Returns the value of the ‘Catalog Entry View’ containment reference list. The list contents are of type CatalogEntryViewType. List of catalog entries within the given catalog navigation view scope.

    So that’s the answer to your question:
    catalogEntryDetails is an instance of CatalogEntryViewType. For some reason I could not find this interface in IBM docs. But you can still find it in com.ibm.commerce.catalog.facade.datatypes package (located in \WCDE_ENT70\workspace\WC\Catalog-DataObjects.jar)

    Here it is:

    public interface CatalogEntryViewType
    

    {

    public abstract String getUniqueID();
    
    public abstract void setUniqueID(String s);
    
    public abstract String getPartNumber();
    
    public abstract void setPartNumber(String s);
    
    public abstract String getName();
    
    public abstract void setName(String s);
    
    public abstract String getThumbnail();
    
    public abstract void setThumbnail(String s);
    
    public abstract String getFullImage();
    
    public abstract void setFullImage(String s);
    
    public abstract String getShortDescription();
    
    public abstract void setShortDescription(String s);
    
    public abstract String getLongDescription();
    
    public abstract void setLongDescription(String s);
    
    public abstract String getManufacturer();
    
    public abstract void setManufacturer(String s);
    
    public abstract String getKeyword();
    
    public abstract void setKeyword(String s);
    
    public abstract boolean isHasSingleSKU();
    
    public abstract void setHasSingleSKU(boolean flag);
    
    public abstract void unsetHasSingleSKU();
    
    public abstract boolean isSetHasSingleSKU();
    
    public abstract String getSingleSKUCatalogEntryID();
    
    public abstract void setSingleSKUCatalogEntryID(String s);
    
    public abstract String getStoreID();
    
    public abstract void setStoreID(String s);
    
    public abstract List getAttachments();
    
    public abstract List getPrice();
    
    public abstract String getParentCatalogGroupID();
    
    public abstract void setParentCatalogGroupID(String s);
    
    public abstract String getParentCatalogEntryID();
    
    public abstract void setParentCatalogEntryID(String s);
    
    public abstract Map getMetaData();
    
    public abstract UserDataType getUserData();
    
    public abstract void setUserData(UserDataType userdatatype);
    
    public abstract String getNumberOfSKUs();
    
    public abstract void setNumberOfSKUs(String s);
    
    public abstract List getSKUs();
    
    public abstract List getComponents();
    
    public abstract List getMerchandisingAssociations();
    
    public abstract List getAttributes();
    
    public abstract String getSubscriptionTypeCode();
    
    public abstract void setSubscriptionTypeCode(String s);
    
    public abstract String getDynamicKitURL();
    
    public abstract void setDynamicKitURL(String s);
    
    public abstract String getDynamicKitDefaultConfiguration();
    
    public abstract void setDynamicKitDefaultConfiguration(String s);
    
    public abstract boolean isDynamicKitDefaultConfigurationComplete();
    
    public abstract void setDynamicKitDefaultConfigurationComplete(boolean flag);
    
    public abstract void unsetDynamicKitDefaultConfigurationComplete();
    
    public abstract boolean isSetDynamicKitDefaultConfigurationComplete();
    
    public abstract String getDynamicKitModelReference();
    
    public abstract void setDynamicKitModelReference(String s);
    
    public abstract String getTitle();
    
    public abstract void setTitle(String s);
    
    public abstract String getMetaDescription();
    
    public abstract void setMetaDescription(String s);
    
    public abstract String getMetaKeyword();
    
    public abstract void setMetaKeyword(String s);
    
    public abstract String getFullImageAltDescription();
    
    public abstract void setFullImageAltDescription(String s);
    
    public abstract boolean isBuyable();
    
    public abstract void setBuyable(boolean flag);
    
    public abstract void unsetBuyable();
    
    public abstract boolean isSetBuyable();
    
    public abstract Object getCatalogEntryTypeCode();
    
    public abstract void setCatalogEntryTypeCode(Object obj);
    
    public abstract boolean isDisallowRecurringOrder();
    
    public abstract void setDisallowRecurringOrder(boolean flag);
    
    public abstract void unsetDisallowRecurringOrder();
    
    public abstract boolean isSetDisallowRecurringOrder();
    

    }

    The “metaData” field came from this string:

    public abstract Map getMetaData();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
I am trying to find ID3V2 tags from MP3 file using jid3lib in Java.
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I am trying to render a haml file in a javascript response like so:
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I'm trying to select an H1 element which is the second-child in its group
I know there's a lot of other questions out there that deal with this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.