Class DenormalisedSidDao


  • public class DenormalisedSidDao
    extends Object
    DAO for working with user/group sids Sid (security id) represents either user or group or "any authenticated user" or "anonymous" All denormalized records have references to sids
    Since:
    7.11.0
    • Constructor Detail

      • DenormalisedSidDao

        public DenormalisedSidDao​(org.hibernate.SessionFactory sessionFactory,
                                  com.atlassian.config.db.HibernateConfig hibernateConfig)
    • Method Detail

      • getExistingSids

        public List<DenormalisedSid> getExistingSids​(Set<String> names,
                                                     DenormalisedSidType type)
        Retrieves a list of existing sids.
        Parameters:
        names - list of users or groups
        type - sid type (for example, user or group)
        Returns:
        list of sids
      • getExistingSidIdList

        public List<Long> getExistingSidIdList​(Set<String> names,
                                               DenormalisedSidType type)
        Retrieves a list of existing sid ids.
        Parameters:
        names - list of users or groups
        type - sid type (for example, user or group)
        Returns:
        list of sid ids