config.bc.jpa.domain.Admin.orm.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of broadleaf-open-admin-platform Show documentation
Show all versions of broadleaf-open-admin-platform Show documentation
BroadleafCommerce Open Admin Platform
SELECT adminUser FROM org.broadleafcommerce.openadmin.server.security.domain.AdminUser adminUser
WHERE adminUser.login = :userName
SELECT adminUser FROM org.broadleafcommerce.openadmin.server.security.domain.AdminUser adminUser
SELECT adminUser FROM org.broadleafcommerce.openadmin.server.security.domain.AdminUser adminUser
WHERE adminUser.email = :email
SELECT adminPermission FROM org.broadleafcommerce.openadmin.server.security.domain.AdminPermission adminPermission
SELECT adminRole FROM org.broadleafcommerce.openadmin.server.security.domain.AdminRole adminRole
SELECT adminModule FROM org.broadleafcommerce.openadmin.server.security.domain.AdminModule adminModule
SELECT adminSection FROM org.broadleafcommerce.openadmin.server.security.domain.AdminSection adminSection
SELECT adminSection FROM org.broadleafcommerce.openadmin.server.security.domain.AdminSection adminSection
WHERE adminSection.url = :uri
SELECT adminSection FROM org.broadleafcommerce.openadmin.server.security.domain.AdminSection adminSection
WHERE adminSection.sectionKey = :sectionKey
SELECT COUNT(adminPermission)
FROM org.broadleafcommerce.openadmin.server.security.domain.AdminPermission adminPermission
LEFT OUTER JOIN adminPermission.qualifiedEntities qualifiedEntity
LEFT OUTER JOIN adminPermission.allRoles role
LEFT OUTER JOIN role.allUsers roleUser
LEFT OUTER JOIN adminPermission.allUsers permissionUser
WHERE (roleUser = :adminUser OR permissionUser = :adminUser) AND
(adminPermission.type = :type OR adminPermission.type = 'ALL') AND
qualifiedEntity.ceilingEntityFullyQualifiedName = :ceilingEntity
SELECT COUNT(adminPermission)
FROM org.broadleafcommerce.openadmin.server.security.domain.AdminPermission adminPermission
JOIN adminPermission.qualifiedEntities qualifiedEntity
WHERE (adminPermission.type = :type OR adminPermission.type = 'ALL') AND
qualifiedEntity.ceilingEntityFullyQualifiedName = :ceilingEntity
© 2015 - 2024 Weber Informatics LLC | Privacy Policy