All Downloads are FREE. Search and download functionalities are using the official Maven repository.

config.bc.jpa.domain.Category.orm.xml Maven / Gradle / Ivy

There is a newer version: 3.1.15-GA
Show newest version



    
        SELECT category FROM org.broadleafcommerce.core.catalog.domain.Category category ORDER BY category.id
    

    
        SELECT category FROM org.broadleafcommerce.core.catalog.domain.Category category
        WHERE category.name = :categoryName ORDER BY category.id
    

    
        SELECT category FROM org.broadleafcommerce.core.catalog.domain.Category category
               LEFT OUTER JOIN category.allParentCategoryXrefs xref
               WHERE category.defaultParentCategory = :parentCategory OR xref.categoryXrefPK.category = :parentCategory
               ORDER BY xref.displayOrder, category.id
    

    
        SELECT category FROM org.broadleafcommerce.core.catalog.domain.Category category
                WHERE category.urlKey = :urlKey
                AND (category.archiveStatus.archived IS NULL OR category.archiveStatus.archived = 'N')
                AND (category.activeStartDate < :currentDate)
                AND (category.activeEndDate IS NULL OR category.activeEndDate > :currentDate)
        
    

    
        SELECT category FROM org.broadleafcommerce.core.catalog.domain.Category category
                LEFT OUTER JOIN category.allParentCategoryXrefs xref
                WHERE (category.defaultParentCategory.id = :parentCategoryId OR xref.categoryXrefPK.category.id = :parentCategoryId)
                AND (category.archiveStatus.archived IS NULL OR category.archiveStatus.archived = 'N')           
                AND (category.activeStartDate < :currentDate)
                AND (category.activeEndDate IS NULL OR category.activeEndDate > :currentDate) 
                ORDER BY xref.displayOrder, category.id
        
    

    
        SELECT category
               FROM org.broadleafcommerce.core.catalog.domain.Category category
               WHERE category.url = :url
               AND (category.archiveStatus.archived IS NULL OR category.archiveStatus.archived = 'N')
               AND (category.activeStartDate < :currentDate)
               AND (category.activeEndDate IS NULL OR category.activeEndDate > :currentDate)
        
    





© 2015 - 2024 Weber Informatics LLC | Privacy Policy