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

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

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



    
        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