config.bc.jpa.domain.StructuredContent.orm.xml Maven / Gradle / Ivy
SELECT structuredContentType
FROM org.broadleafcommerce.cms.structure.domain.StructuredContentType structuredContentType
SELECT structuredContentType
FROM org.broadleafcommerce.cms.structure.domain.StructuredContentType structuredContentType
WHERE structuredContentType.name = :name
SELECT scField
FROM org.broadleafcommerce.cms.structure.domain.StructuredContentField scField
WHERE scField.structuredContent = :structuredContent
SELECT structuredContent
FROM org.broadleafcommerce.cms.structure.domain.StructuredContent structuredContent
WHERE structuredContent.sandbox = :sandbox AND
structuredContent.structuredContentType = :contentType AND
(structuredContent.locale = :fullLocale OR structuredContent.locale = :languageOnlyLocale ) AND
structuredContent.contentName = :contentName AND
structuredContent.archivedFlag = false AND
structuredContent.offlineFlag = false
ORDER BY structuredContent.priority
SELECT structuredContent
FROM org.broadleafcommerce.cms.structure.domain.StructuredContent structuredContent
WHERE structuredContent.structuredContentType = :contentType AND
(structuredContent.locale = :fullLocale OR structuredContent.locale = :languageOnlyLocale ) AND
structuredContent.contentName = :contentName AND
structuredContent.archivedFlag = false AND
structuredContent.id in
(SELECT sandboxItem.temporaryItemId
FROM org.broadleafcommerce.openadmin.server.domain.SandBoxItemImpl sandboxItem
WHERE (sandboxItem.originalSandBoxId = :sandboxId OR sandboxItem.sandBoxId = :sandboxId) AND
sandboxItem.archivedFlag = 'N' AND
sandboxItem.temporaryItemId = structuredContent.id)
ORDER BY structuredContent.priority
SELECT structuredContent
FROM org.broadleafcommerce.cms.structure.domain.StructuredContent structuredContent
WHERE structuredContent.sandbox is null AND
structuredContent.structuredContentType = :contentType AND
(structuredContent.locale = :fullLocale OR structuredContent.locale = :languageOnlyLocale ) AND
structuredContent.contentName = :contentName AND
structuredContent.archivedFlag = false AND
structuredContent.offlineFlag = false
ORDER BY structuredContent.priority
SELECT structuredContent
FROM org.broadleafcommerce.cms.structure.domain.StructuredContent structuredContent
WHERE structuredContent.sandbox = :sandbox AND
structuredContent.structuredContentType = :contentType AND
(structuredContent.locale = :fullLocale OR structuredContent.locale = :languageOnlyLocale ) AND
structuredContent.archivedFlag = false AND
structuredContent.offlineFlag = false
ORDER BY structuredContent.priority
SELECT structuredContent
FROM org.broadleafcommerce.cms.structure.domain.StructuredContent structuredContent
WHERE structuredContent.structuredContentType = :contentType AND
(structuredContent.locale = :fullLocale OR structuredContent.locale = :languageOnlyLocale ) AND
structuredContent.archivedFlag = false AND
structuredContent.id in
(SELECT sandboxItem.temporaryItemId
FROM org.broadleafcommerce.openadmin.server.domain.SandBoxItemImpl sandboxItem
WHERE (sandboxItem.originalSandBoxId = :sandboxId OR sandboxItem.sandBoxId = :sandboxId) AND
sandboxItem.archivedFlag = 'N' AND
sandboxItem.temporaryItemId = structuredContent.id)
ORDER BY structuredContent.priority
SELECT structuredContent
FROM org.broadleafcommerce.cms.structure.domain.StructuredContent structuredContent
WHERE structuredContent.sandbox is null AND
structuredContent.structuredContentType = :contentType AND
(structuredContent.locale = :fullLocale OR structuredContent.locale = :languageOnlyLocale ) AND
structuredContent.archivedFlag = false AND
structuredContent.offlineFlag = false
ORDER BY structuredContent.priority
SELECT structuredContent
FROM org.broadleafcommerce.cms.structure.domain.StructuredContent structuredContent
WHERE structuredContent.sandbox = :sandbox AND
(structuredContent.locale = :fullLocale OR structuredContent.locale = :languageOnlyLocale ) AND
structuredContent.contentName = :contentName AND
structuredContent.archivedFlag = false AND
structuredContent.offlineFlag = false
ORDER BY structuredContent.priority
SELECT structuredContent
FROM org.broadleafcommerce.cms.structure.domain.StructuredContent structuredContent
WHERE (structuredContent.locale = :fullLocale OR structuredContent.locale = :languageOnlyLocale ) AND
structuredContent.contentName = :contentName AND
structuredContent.archivedFlag = false AND
structuredContent.id in
(SELECT sandboxItem.temporaryItemId
FROM org.broadleafcommerce.openadmin.server.domain.SandBoxItemImpl sandboxItem
WHERE (sandboxItem.originalSandBoxId = :sandbox OR sandboxItem.originalSandBoxId = :sandbox) AND
sandboxItem.archivedFlag = 'N' AND
sandboxItem.temporaryItemId = structuredContent.id)
ORDER BY structuredContent.priority
SELECT structuredContent
FROM org.broadleafcommerce.cms.structure.domain.StructuredContent structuredContent
WHERE structuredContent.sandbox is null AND
(structuredContent.locale = :fullLocale OR structuredContent.locale = :languageOnlyLocale ) AND
structuredContent.contentName = :contentName AND
structuredContent.archivedFlag = false AND
structuredContent.offlineFlag = false
ORDER BY structuredContent.priority
© 2015 - 2024 Weber Informatics LLC | Privacy Policy